Gamma value in Image Acquisition Toolbox

6 views (last 30 days)
zzz
zzz on 17 Mar 2020
Answered: Image Analyst on 10 Jul 2020
I'm using Imaging Acquisition Toolbox and wanting to change gamma value with it.
My Imaq says my camera's gamma changes in the range 100 to 500.
I thought it must be in the range of 1 to 2.8, with a default value of 2.2 as the Matlab documentation and the user's guide says.
Does anyone know what's happening here?

Answers (2)

arooba zeshan
arooba zeshan on 10 Jul 2020

Hi I was wondering if you happened to figure this one out. I am also struggling with the same thing. Thank you


Image Analyst
Image Analyst on 10 Jul 2020
It could be some digital range that the camera uses, like it's its own proprietary scale. You'd have to ask the manufacturer to learn what those values mean, and most importantly, which value gives a linear signal with gamma of one. Usually you'll want the gamma to be one for image analysis based on intensity because that means twice the illumination level on the sensor gives twice the gray level. If the gamma is not one, like if it's 2, then doubling the light hitting the sensor will not double the gray levels out. However because higher gamma tend to suppress bright regions of the scene while brightening dark regions of the scene (enabling us to see more detail in dark regions), a higher gamma is often used to create images for pleasing images viewed qualitatively by humans (but again, not as useful for numerical/quantitative image analysis).

Categories

Find more on MATLAB Support Package for IP Cameras in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!