| Cv2InRange Method (InputArray, Scalar, Scalar, OutputArray) |
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 static void InRange(
InputArray src,
Scalar lowerb,
Scalar upperb,
OutputArray dst
)
Public Shared Sub InRange (
src As InputArray,
lowerb As Scalar,
upperb As Scalar,
dst As OutputArray
)
public:
static void InRange(
InputArray^ src,
Scalar lowerb,
Scalar upperb,
OutputArray^ dst
)
static member InRange :
src : InputArray *
lowerb : Scalar *
upperb : Scalar *
dst : OutputArray -> unit
Parameters
- src
- Type: OpenCvSharpInputArray
The first source array - 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 - dst
- Type: OpenCvSharpOutputArray
The destination array, will have the same size as src and CV_8U type
See Also