MatInRange Method (Scalar, Scalar)
|
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: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic Mat InRange(
Scalar lowerb,
Scalar upperb
)
Public Function InRange (
lowerb As Scalar,
upperb As Scalar
) As Mat
public:
Mat^ InRange(
Scalar lowerb,
Scalar upperb
)
member InRange :
lowerb : Scalar *
upperb : Scalar -> Mat
function InRange(lowerb, upperb);
Parameters
- lowerb
- Type: OpenCvSharpScalar
The inclusive lower boundary array of the same size and type as src - upperb
- Type: OpenCvSharpScalar
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