Ask Your Question

# Revision history [back]

### Core inRange

I want to threshold a particular coloured object in the image...

The image is in HSV format... In the code using Core.inRange function, i don know the order of the arguments in the scalar..

            Core.inRange(src, new Scalar(H, S, I), new Scalar(H, S, I), dst);


Can any one tell me the exact order...i figured out that the second parameter is Hue... I m using android...