Home

HSV Color Mask

state-of-the-art parameter tuning

Original
Result
source image

Parameters

Mask 1

The selected range of the HSV color space. It is seperated into 3 channels: Hue (0 ~ 180) Saturation (0 ~ 255) Value (0 ~ 255). An additional mask (see tab Mask2) can be enabled to select values accross the HSV color circle (like red).

Hue

Saturation

Value

Mask 2

The second color mask in addition to the first mask. It is for selecting colors accross the HSV color circle (like red) or just simply two patches of seperated colors. By default only one mask is used.

Enable

Code

Reference


*Disclaimer*: This site is not in any way associated with the OpenCV organization. Visit OpenCV.org for an updated documentation for the latest functions.

This site is built on the sheer annoyance and repetitive frustration the author experienced while tuning parameters on OpenCV. It is casually maintained in my spare time. You can DM me on Github for any feature suggestions.

© 2020~ Yu-Kai Wang

@Github