http://www.emgu.com
Finds minimum and maximum element values and their positions. The extremums are searched over the whole GpuMat or, if mask is not IntPtr.Zero, in the specified GpuMat region.

Namespace: Emgu.CV.GPU
Assembly: Emgu.CV.GPU (in Emgu.CV.GPU.dll) Version: 2.4.0.1717 (2.4.0.1717)

Syntax

C#
public static void MinMaxLoc(
	IntPtr gpuMat,
	ref double minVal,
	ref double maxVal,
	ref Point minLoc,
	ref Point maxLoc,
	IntPtr mask
)
Visual Basic
Public Shared Sub MinMaxLoc ( _
	gpuMat As IntPtr, _
	ByRef minVal As Double, _
	ByRef maxVal As Double, _
	ByRef minLoc As Point, _
	ByRef maxLoc As Point, _
	mask As IntPtr _
)
Visual C++
public:
static void MinMaxLoc(
	IntPtr gpuMat, 
	double% minVal, 
	double% maxVal, 
	Point% minLoc, 
	Point% maxLoc, 
	IntPtr mask
)

Parameters

gpuMat
Type: System..::..IntPtr
The source GpuMat, single-channel
minVal
Type: System..::..Double%
Pointer to returned minimum value
maxVal
Type: System..::..Double%
Pointer to returned maximum value
minLoc
Type: System.Drawing..::..Point%
Pointer to returned minimum location
maxLoc
Type: System.Drawing..::..Point%
Pointer to returned maximum location
mask
Type: System..::..IntPtr
The optional mask that is used to select a subarray. Use IntPtr.Zero if not needed

See Also