Finds minimum and maximum element values and their positions. The extremums are searched over the whole array or, if mask is not IntPtr.Zero, in the specified array region.

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

Syntax

         
 C#  Visual Basic  Visual C++ 
public static void MinMaxLoc(
	IntPtr gpuMat,
	ref double minVal,
	ref double maxVal,
	ref Point minLoc,
	ref Point maxLoc,
	IntPtr mask
)
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 _
)
public:
static void MinMaxLoc(
	IntPtr gpuMat, 
	double% minVal, 
	double% maxVal, 
	Point% minLoc, 
	Point% maxLoc, 
	IntPtr mask
)

Parameters

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

See Also