Ask Your Question

Is there a function in android as cvInRangeS ?

asked 2013-12-18 14:14:12 -0500

Is there a function in Java as cvInRangeS ?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-12-18 23:22:12 -0500

You can use C++ cv::inRange instead old cvInRangeS function. Just pass cv::Scalar as lowerb and upperb parameters. cv::InputArray has a constructor from cv::Scalar. If scalar is passed, cv::inRange will work in the same way as cvInRangeS. Also it is wrapped to Java as core.inRange. See docs for more details.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools


Asked: 2013-12-18 14:14:12 -0500

Seen: 841 times

Last updated: Dec 18 '13