Image processing

Announcements Posted on
How helpful is our apprenticeship zone? Have your say with our short survey 02-12-2016
    • Thread Starter
    Offline

    0
    ReputationRep:
    Can anybody help me with this: Name:  pic1.png
Views: 14
Size:  7.1 KB
    Offline

    3
    (Original post by john212)
    Can anybody help me with this: Name:  pic1.png
Views: 14
Size:  7.1 KB
    Can't say as I know anything about this, but from a small bit of Google'ing, I would suggest, since your gamma transform is an increasing function, then the highest value input will map to the highest value output. Since this is 255 in each case (assuming it maps onto the whole interval), we have:

    255= c(255)^\gamma

    And rearrange to make "c" the subject.

    Best guess!
    • Thread Starter
    Offline

    0
    ReputationRep:
    Ok, thanks very much!
    Offline

    3
    ReputationRep:
    (Original post by ghostwalker)
    Can't say as I know anything about this, but from a small bit of Google'ing, I would suggest, since your gamma transform is an increasing function, then the highest value input will map to the highest value output. Since this is 255 in each case (assuming it maps onto the whole interval), we have:

    255= c(255)^\gamma

    And rearrange to make "c" the subject.

    Best guess!
    As it happens, I know rather a lot about this, but what you say is absolutely correct.

    It's a bit of a weird question through, I think the most common way of doing it is to scale 0-255 to the range 0-1, do the \gamma exponentiation, and then scale back up to the rang 0-255. Reduces the potential for getting scarily large values when raising 255 to an arbitrary power etc.

    [Note also that any "real" image processing app will use a 256 entry lookup table to avoid actually doing calculations for every pixel in the image].
 
 
 
Write a reply… Reply
Submit reply

Register

Thanks for posting! You just need to create an account in order to submit the post
  1. this can't be left blank
    that username has been taken, please choose another Forgotten your password?
  2. this can't be left blank
    this email is already registered. Forgotten your password?
  3. this can't be left blank

    6 characters or longer with both numbers and letters is safer

  4. this can't be left empty
    your full birthday is required
  1. Oops, you need to agree to our Ts&Cs to register
  2. Slide to join now Processing…

Updated: October 17, 2016
TSR Support Team

We have a brilliant team of more than 60 Support Team members looking after discussions on The Student Room, helping to make it a fun, safe and useful place to hang out.

Today on TSR
Poll
Would you rather have...?
Useful resources

Make your revision easier

Maths

Maths Forum posting guidelines

Not sure where to post? Read here first

Equations

How to use LaTex

Writing equations the easy way

Student revising

Study habits of A* students

Top tips from students who have already aced their exams

Study Planner

Create your own Study Planner

Never miss a deadline again

Polling station sign

Thinking about a maths degree?

Chat with other maths applicants

Can you help? Study help unanswered threads

Groups associated with this forum:

View associated groups
Study resources

The Student Room, Get Revising and Marked by Teachers are trading names of The Student Room Group Ltd.

Register Number: 04666380 (England and Wales), VAT No. 806 8067 22 Registered Office: International House, Queens Road, Brighton, BN1 3XE

Quick reply
Reputation gems: You get these gems as you gain rep from other members for making good contributions and giving helpful advice.