I have a stack of image tiles (taken from a drone) that I want to mosaic to a single image. I want to do exposure compensation to reduce the variation in illumination between the image tiles before mosaicking due to variations within each image. I have seen the following formula used for such a task:
$$p' = p{k^2\over \tau \mathrm{K}}$$
where:
- \$p'\$ is the correct pixel;
- \$p\$ is the original uncorrected pixel;
- \$k\$ is the aperture F-number;
- \$\tau\$ is the exposure time; and
- \$\mathrm{K}\$ is the ISO.
From my EXIF metadata data I am getting the following values:
- \$k\$ = 2.200000078
- \$\tau\$ = 0.002007692122
- \$\mathrm{K}\$ = 100
This gives me a correction factor of 24.1072836326 (based on the above equation), which if I use to multiple against all the pixels \$p\$ in the image, results in a drastic change in pixel values \$p'.\$
Is there something I am doing incorrectly here? For example are my units correct?