Vinicius Nogueira
Vinicius Nogueira

Reputation: 55

Histogram Equalization before extracting color on a real time video

Is it a good practice to use the histogram equalization on the colored image before extracting its color during a real-time video stream? I have seen some people using but I have not seen any tutorial doing that. How does it behave with luminosity changes? Are there certain cases that it might help?

Upvotes: 0

Views: 452

Answers (1)

Bull
Bull

Reputation: 11941

If you doing histogram equalization you need to first color convert it to a color space with a luminance channel, like Lab, HSV or YCrCb and then only equalize the luminance. If you try equalizing the RGB channels you will get weird color shifts.

Upvotes: 1

Related Questions