Table of Contents

Method InRange

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

InRange(InputArray, InputArray, InputArray, OutputArray)

Checks if array elements lie between the elements of two other arrays.

public static void InRange(InputArray src, InputArray lowerb, InputArray upperb, OutputArray dst)

Parameters

src InputArray

first input array.

lowerb InputArray

inclusive lower boundary array or a scalar.

upperb InputArray

inclusive upper boundary array or a scalar.

dst OutputArray

output array of the same size as src and CV_8U type.

InRange(InputArray, Scalar, Scalar, OutputArray)

Checks if array elements lie between the elements of two other arrays.

public static void InRange(InputArray src, Scalar lowerb, Scalar upperb, OutputArray dst)

Parameters

src InputArray

first input array.

lowerb Scalar

inclusive lower boundary array or a scalar.

upperb Scalar

inclusive upper boundary array or a scalar.

dst OutputArray

output array of the same size as src and CV_8U type.