Thread: Retinex
View Single Post
Old 20th October 2014, 07:09   #4  |  Link
mawen1250
Registered User
 
Join Date: Aug 2011
Posts: 103
Thanks for your report.
This is the correct result for MSRCP. It indicates that there's a bluish color cast in the original image, which is amplified after the Retinex with *chromaticity preservation*. Under this circumstance the color cast itself is unwanted chromatic information, so the plain MSRCP result is not suitable.

possible solutions:
1. Use MSRCR(MSR with color restoration) instead, which will eliminate color cast. Currently it's not implemented yet.
2. Do some modification to the MSRCP algorithm, such as adding a threshold to attenuate chroma adjustment for very dark area.
3. For now, this may be a good solution: use std.Lut to build a mask guided by luma, and apply std.MaskedMerge to blend the value of source and retinex for chroma planes.

Last edited by mawen1250; 20th October 2014 at 07:30.
mawen1250 is offline   Reply With Quote