| MatInRange Method (InputArray, InputArray) |
set mask elements for those array elements which are within the element-specific bounding box (dst = lowerb <= src && src < upperb)
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public Mat InRange(
InputArray lowerb,
InputArray upperb
)
Public Function InRange (
lowerb As InputArray,
upperb As InputArray
) As Mat
public:
Mat^ InRange(
InputArray^ lowerb,
InputArray^ upperb
)
member InRange :
lowerb : InputArray *
upperb : InputArray -> Mat
Parameters
- lowerb
- Type: OpenCvSharpInputArray
The inclusive lower boundary array of the same size and type as src - upperb
- Type: OpenCvSharpInputArray
The exclusive upper boundary array of the same size and type as src
Return Value
Type:
MatThe destination array, will have the same size as src and CV_8U type
See Also