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

01800918273645546372819099108117126135144153162171180

Saturation

025501224364860728496108120132144156168180192204216228240252255

Value

025501224364860728496108120132144156168180192204216228240252255

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