As said in #83, plugins' output is expected to be in range [0,1] to get them correctly work with tmocmd, otherwise result image has wrong luminance range.
More plugins does not respect that. There are some I have tested - name and output range:
Ward94: 0-1.8
CLAHE: 0-344
Biswas05: 0-2.3
Ancuti16: 0-255
Zhongping15: from 0-1 to 0-11.4
(Tested with image with input range 0-241.)
As said in #83, plugins' output is expected to be in range [0,1] to get them correctly work with
tmocmd
, otherwise result image has wrong luminance range.More plugins does not respect that. There are some I have tested - name and output range: Ward94: 0-1.8 CLAHE: 0-344 Biswas05: 0-2.3 Ancuti16: 0-255 Zhongping15: from 0-1 to 0-11.4 (Tested with image with input range 0-241.)
With OpenCV it is matter of calling function
before writing result image to output.
For plugins which don't use OpenCV, it should be possible with help of
minLum
andmaxLum
fromTMOImage.statistics
I guess.Also it will be good to write some guideline for writing plugins and mention this output range there.