[nodes] ImageMasking: enable hsv params only for hvs algorithm

This commit is contained in:
Fabien Castan 2021-07-23 00:07:04 +02:00
parent 112280043c
commit e3616e3040

View file

@ -35,6 +35,7 @@ class ImageMasking(desc.CommandLineNode):
- Black: Tolerance = 1, minSaturation = 0, maxSaturation = 0.1, minValue = 0, maxValue = 0.2
""",
group=None,
enabled=lambda node: node.algorithm.value == 'HSV',
groupDesc=[
desc.FloatParam(
name='hsvHue',