In summary, I conducted a camera calibration process to utilize my mirrorless camera as a luminance meter. This involves taking a series of images of a contrast panel at various levels of illumination. The contrast panel is then measured with a luminance meter to get known values of luminance. A relationship can then be determined between pixel intensity and luminance. Through this an equation is obtained that can be utilized to calculate a luminance value from grey scale intensity in the image.
Rather than draw regions of interest and then calculate the luminance value by hand, I would like to convert the entire image, adjusted by using the equation. I am interested in developing a macro that takes each pixel grey scale value intensity and applies a 4th order polynomial equation to that grey scale value. The result should return an image with the corresponding luminance value (new value).
new value = 2*(10^-8)(pixel grey scale value)^4 - 5(10^-6)(pixel grey scale value)^3 + 0.0005(pixel grey scale value)^2 +0.0063*(pixel grey scale value) + 0.0685
Let me know if anyone can provide some insight. Thanks!