ND filter correction function

Hi @Clotilde_Pierson,
The image test_bcr.hdr in the script that I showed is cropped in advance by Photoshop from the original image test.hdr. And test.hdr is generated from the script raw2hdr. The illuminance from evaglare is 68396 lux which is much higher than the measured value 8838 lux. The final image test_c.hdr that is all white is displayed with ximage without modifying the exposure of the HDR image like this:

ximage test_c.hdr

image
And the corresponding falsecolor image is as follows:


Moreover, I tried another script to handle the original image test.hdr by refering to this post:https://discourse.radiance-online.org/t/calibration-of-hdr-image/5848?u=lee

ra_xyze -r -o test.hdr > test_r.hdr
pcompos -x 3600 -y 3600 -h test_r.hdr -941 -26 > test_cp.hdr
ra_xyze -r -o test_cp.hdr > test_rr.hdr
pcomb -h -f ${raw2hdr}/fisheye_corr.cal -o test_rr.hdr > test_eqd.hdr
pcomb -h -f ${raw2hdr}/vignetting_fX.cal -o test_eqd.hdr > test_vi.hdr
pcomb -h -f ${raw2hdr}/ND_corr.cal -o test_vi.hdr > test_nd.hdr
pcomb -h -s 1.24 test_nd.hdr > test_cf.hdr
pfilt -1 -x 1000 -y 1000 test_cf.hdr > test_re.hdr
(getinfo < test_re.hdr | sed "/VIEW/d" && getinfo - < test_re.hdr) > test_w.hdr
getinfo -a "VIEW= -vta -vv 180 -vh 180" < test_w.hdr > test_c.hdr
falsecolor -i test_c.hdr -e -s a > test_f.hdr
evalglare -V test_c.hdr > Ev.txt

And the vertical illuminance is 5304 lux and the final image test_c.hdr which is not all white like the former one:
image
As for the falsecolor image, the peak luminance is smaller than the former one: