Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about inRange and outRange #331

Open
hephooey opened this issue Jun 20, 2020 · 0 comments
Open

Question about inRange and outRange #331

hephooey opened this issue Jun 20, 2020 · 0 comments

Comments

@hephooey
Copy link

In opencv examples like this one:
https://docs.opencv.org/trunk/da/d97/tutorial_threshold_inRange.html
the inRange function takes thresholds specified in HSV color space, which makes sense as for RGB color space it is impossible to get meaningful inRange results for anything but pure red, green or blue colors. On the other hand the parameters for the robotmon inRange and outRange functions are described in RGBA space. I think I can convert an image to HSV with the convertColor function, and call the inRange/outRange functions pretending it is still a RGB image, but then how do I specify the HSV parameters in that case, can you give me an example? Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant