http://www.emgu.com
Finds minimum and maximum element values and their positions. The extremums are searched over the whole array, selected ROI (in case of IplImage) or, if mask is not IntPtr.Zero, in the specified array region. If the array has more than one channel, it must be IplImage with COI set. In case if multi-dimensional arrays min_loc->x and max_loc->x will contain raw (linear) positions of the extremums
Namespace: Emgu.CVAssembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.2.0.2682 (3.2.0.2682)
Syntax public static void MinMaxLoc(
IInputArray arr,
ref double minVal,
ref double maxVal,
ref Point minLoc,
ref Point maxLoc,
IInputArray mask = null
)
Public Shared Sub MinMaxLoc (
arr As IInputArray,
ByRef minVal As Double,
ByRef maxVal As Double,
ByRef minLoc As Point,
ByRef maxLoc As Point,
Optional mask As IInputArray = Nothing
)
public:
static void MinMaxLoc(
IInputArray^ arr,
double% minVal,
double% maxVal,
Point% minLoc,
Point% maxLoc,
IInputArray^ mask = nullptr
)
static member MinMaxLoc :
arr : IInputArray *
minVal : float byref *
maxVal : float byref *
minLoc : Point byref *
maxLoc : Point byref *
?mask : IInputArray
(* Defaults:
let _mask = defaultArg mask null
*)
-> unit
Parameters
- arr
- Type: Emgu.CVIInputArray
The source array, single-channel or multi-channel with COI set - minVal
- Type: SystemDouble
Pointer to returned minimum value - maxVal
- Type: SystemDouble
Pointer to returned maximum value - minLoc
- Type: System.DrawingPoint
Pointer to returned minimum location - maxLoc
- Type: System.DrawingPoint
Pointer to returned maximum location - mask (Optional)
- Type: Emgu.CVIInputArray
The optional mask that is used to select a subarray. Use IntPtr.Zero if not needed
See Also