Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道是否有类似的东西cvInRanges可以Opencv2直接作用于Mat对象。
cvInRanges
Opencv2
Mat
其实我想转换这个:
cvInRangeS(IplImage *m1, Scalar min, Scalar max, IplImage *m2);
类似于:
some_func (Mat m1, Scalar min, Scalar max, Mat m2);
有功能inRange。尝试一下。
inRange