I’m trying to apply vignetting correction to my HDR images but I’m unsure whether it’s actually being done. I’ve calculated the coefficients for a sixth-order polynomial, but I’m unsure how to practically write them into the .cal file. The code executes without errors, but I’m not sure that it’s actually carrying out the correction… I even tried using fictitious coefficients to make the centre of the image darker to check if the code was working, but nothing seemed to change.
My .cal file is written as follows:
The line of code I’m using is pcomb -f vignetting.cal hdrsmall.hdr > hdrsmall_vigcorr.hdr Can someone confirm whether the .cal file is correctly written and if the line of code is correct? How can I be sure that the vignetting correcting is actually being applied? I copied exactly what’s written on pg. 22 of Pierson et al.’s paper (2020).