http://www.emgu.com
Finds the global minimum and maximum in an array

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.10.1935 (2.4.10.1935)

Syntax

C#
public static void CvMinMaxIdx(
	IntPtr src,
	out double minVal,
	out double maxVal,
	int[] minIdx,
	int[] maxIdx,
	IntPtr mask
)
Visual Basic
Public Shared Sub CvMinMaxIdx ( 
	src As IntPtr,
	<OutAttribute> ByRef minVal As Double,
	<OutAttribute> ByRef maxVal As Double,
	minIdx As Integer(),
	maxIdx As Integer(),
	mask As IntPtr
)
Visual C++
public:
static void CvMinMaxIdx(
	IntPtr src, 
	[OutAttribute] double% minVal, 
	[OutAttribute] double% maxVal, 
	array<int>^ minIdx, 
	array<int>^ maxIdx, 
	IntPtr mask
)
F#
static member CvMinMaxIdx : 
        src : IntPtr * 
        minVal : float byref * 
        maxVal : float byref * 
        minIdx : int[] * 
        maxIdx : int[] * 
        mask : IntPtr -> unit 

Parameters

src
Type: System..::..IntPtr
Input single-channel array.
minVal
Type: System..::..Double%
The returned minimum value
maxVal
Type: System..::..Double%
The returned maximum value
minIdx
Type: array<System..::..Int32>[]()[][]
The returned minimum location
maxIdx
Type: array<System..::..Int32>[]()[][]
The returned maximum location
mask
Type: System..::..IntPtr
The extremums are searched across the whole array if mask is IntPtr.Zert. Otherwise, search is performed in the specified array region.

See Also