Misc module¶
Color constancy¶
-
void
lime
::
colorConstancy
(cv::InputArray src, cv::OutputArray dst, int type)¶ Apply color constancy algorithm for the input image.
src: The input floating-point, 3-channel image.
dst: The destination image; will have also floating-point, 3-channel pixel values.
type: Algorithm type (see
lime::ConstancyType
).
dst = lime.colorConstancy(src, ftype)
Parameters
src -
numpy.ndarray
: The input floating-point, 3-channel image.ftype -
int
: Chosen fromlime::ConstancyType
.
dst -
numpy.ndarray
: The destination image; will have also floating-point, 3-channel pixel values.