What's the gamma of my JPEG file?
Posted: 2012-07-06T04:50:55-07:00
I have a scanned image (grayscale) and I want to find out the gamma correction value. I read from the ImageMagicK webpage that:
"When processing an image, be aware of the colorspace. Many image processing algorithms assume a linear RGB colorspace. Although you may get satisfactory results processing in the sRGB colorspace, you may get improved results in linear RGB (essentially sRGB with the gamma function removed)."
What does it mean?
I use "identify -verbose myfile.jpg" and it tells me the colorspace is RGB
Basically, I want to:
- find out the gamma-correction value of my JPEG file, and then
- remove the gamma correction
How to do this? Please help.
"When processing an image, be aware of the colorspace. Many image processing algorithms assume a linear RGB colorspace. Although you may get satisfactory results processing in the sRGB colorspace, you may get improved results in linear RGB (essentially sRGB with the gamma function removed)."
What does it mean?
I use "identify -verbose myfile.jpg" and it tells me the colorspace is RGB
Basically, I want to:
- find out the gamma-correction value of my JPEG file, and then
- remove the gamma correction
How to do this? Please help.