Hsvhold¶
Description
This effect/filter turns a certain HSV range into gray values.
This filter measures color difference between set HSV color in options and the ones measured in the video stream. Depending on options, output colors can be changed to be gray or not.
Parameters
Parameter |
Value |
Description |
---|---|---|
av.hue |
Float |
Set the hue value which will be used in color difference calculation. Allowed range is from -360.000 to 360.000. Default value is 0.000. |
av.sat |
Float |
Set the saturation value which will be used in color difference calculation. Allowed range is from -1.000 to 1.000. Default value is 0.000. |
av.val |
Float |
Set the value which will be used in color difference calculation. Allowed range is from -1.000 to 1.000. Default value is 0.000. |
av.similarity |
Float |
Set similarity percentage with the key color. Allowed range is from 0.000 to 1.000. Default value is 0.010. 0.001 matches only the exact key color, while 1.000 matches everything. |
av.blend |
Float |
Blend percentage. Allowed range is from 0.000 to 1.000. Default value is 0.000. 0.000 makes pixels either fully gray, or not gray at all. Lower values result in more gray pixels, with a higher value the more similar the pixels color is to the key color. |