Hi Everyone

Now I want to write a program in PD to do color detection, I am wondering if I can use object pix_rgb2hsv to achieve this goal. I mean, after I convert an image to HSV color system, can I threshold the image's HSV value to a certain range , so that i can do color detection (for example , Red) ? For HSV’s range, it is 0 -360 degree for H, 0-1 for S , 0 - 1 for V , it is 0-1.(so for pure red, it is 0degree , 1 , 1) It looks like pix_threshold only can set a lower boundary.....

So is there a way to do this in pure data by using pix_rgb2hsv and pix_threshold?