| Cv2MinMaxIdx Method (InputArray, Double, Double, Int32, Int32, InputArray) |
finds global minimum and maximum array elements and returns their values and their locations
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public static void MinMaxIdx(
InputArray src,
out double minVal,
out double maxVal,
int[] minIdx,
int[] maxIdx,
InputArray mask = null
)
Public Shared Sub MinMaxIdx (
src As InputArray,
<OutAttribute> ByRef minVal As Double,
<OutAttribute> ByRef maxVal As Double,
minIdx As Integer(),
maxIdx As Integer(),
Optional mask As InputArray = Nothing
)
public:
static void MinMaxIdx(
InputArray^ src,
[OutAttribute] double% minVal,
[OutAttribute] double% maxVal,
array<int>^ minIdx,
array<int>^ maxIdx,
InputArray^ mask = nullptr
)
static member MinMaxIdx :
src : InputArray *
minVal : float byref *
maxVal : float byref *
minIdx : int[] *
maxIdx : int[] *
?mask : InputArray
(* Defaults:
let _mask = defaultArg mask null
*)
-> unit
Parameters
- src
- Type: OpenCvSharpInputArray
The source single-channel array - minVal
- Type: SystemDouble
Pointer to returned minimum value - maxVal
- Type: SystemDouble
Pointer to returned maximum value - minIdx
- Type: SystemInt32
[Missing <param name="minIdx"/> documentation for "M:OpenCvSharp.Cv2.MinMaxIdx(OpenCvSharp.InputArray,System.Double@,System.Double@,System.Int32[],System.Int32[],OpenCvSharp.InputArray)"]
- maxIdx
- Type: SystemInt32
[Missing <param name="maxIdx"/> documentation for "M:OpenCvSharp.Cv2.MinMaxIdx(OpenCvSharp.InputArray,System.Double@,System.Double@,System.Int32[],System.Int32[],OpenCvSharp.InputArray)"]
- mask (Optional)
- Type: OpenCvSharpInputArray
[Missing <param name="mask"/> documentation for "M:OpenCvSharp.Cv2.MinMaxIdx(OpenCvSharp.InputArray,System.Double@,System.Double@,System.Int32[],System.Int32[],OpenCvSharp.InputArray)"]
See Also