| Cv2MinMaxLoc Method (InputArray, Double, Double, Point, Point, 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 MinMaxLoc(
InputArray src,
out double minVal,
out double maxVal,
out Point minLoc,
out Point maxLoc,
InputArray mask = null
)
Public Shared Sub MinMaxLoc (
src As InputArray,
<OutAttribute> ByRef minVal As Double,
<OutAttribute> ByRef maxVal As Double,
<OutAttribute> ByRef minLoc As Point,
<OutAttribute> ByRef maxLoc As Point,
Optional mask As InputArray = Nothing
)
public:
static void MinMaxLoc(
InputArray^ src,
[OutAttribute] double% minVal,
[OutAttribute] double% maxVal,
[OutAttribute] Point% minLoc,
[OutAttribute] Point% maxLoc,
InputArray^ mask = nullptr
)
static member MinMaxLoc :
src : InputArray *
minVal : float byref *
maxVal : float byref *
minLoc : Point byref *
maxLoc : Point byref *
?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 - minLoc
- Type: OpenCvSharpPoint
Pointer to returned minimum location - maxLoc
- Type: OpenCvSharpPoint
Pointer to returned maximum location - mask (Optional)
- Type: OpenCvSharpInputArray
The optional mask used to select a sub-array
See Also