我需要检查从非常浅的粉红色到深紫色的色标中是否包含像素(RGB)。使用 RGB 方案我可以做这样的检查:
IF image [x, y] [R]> threshold and image [x, y] [G]> threshold image [x, y] [B]> threshold and \
image [x, y] [R] <threshold and image [x, y] [G] < threshold image [x, y] [B] <threshold THAN ...
?
如果没有,我也可以选择在 HSV 中使用像素。
谢谢!