illumwhite
Estimate illuminant using White Patch Retinex algorithm
Syntax
Description
estimates the scene illumination in RGB image illuminant
= illumwhite(A
)A
by assuming
that the top 1% brightest red, green, and blue values represent the color
white.
estimates the illumination using the illuminant
= illumwhite(A
,topPercentile
)topPercentile
percentage
brightest red, green, and blue values.
estimates the illumination using only the pixels within the ROI defined by a binary
mask.illuminant
= illumwhite(___,Mask=mask
)
Examples
Input Arguments
Output Arguments
References
[1] Ebner, Marc. "White Patch Retinex." Color Constancy. Chichester, West Sussex: John Wiley & Sons, 2007.
Version History
Introduced in R2017b
See Also
whitepoint
| chromadapt
| illumgray
| illumpca
| lin2rgb
| rgb2lin