Skip to content

Question about inRange and outRange #331

@hephooey

Description

@hephooey

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions