You are Here: Home >< Maths

# Image processing

1. Can anybody help me with this:
2. (Original post by john212)
Can anybody help me with this:
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:

And rearrange to make "c" the subject.

Best guess!
3. Ok, thanks very much!
4. (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:

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 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].

## Register

Thanks for posting! You just need to create an account in order to submit the post
1. this can't be left blank
2. this can't be left blank
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
1. Oops, you need to agree to our Ts&Cs to register

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.

This forum is supported by:
Today on TSR

### Help!

Will Oxford nullify my offer?

Poll
Useful resources

### Maths Forum posting guidelines

Not sure where to post? Read the updated guidelines here

### How to use LaTex

Writing equations the easy way

### Study habits of A* students

Top tips from students who have already aced their exams