CudaInvokeMinMaxLoc Method |
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.CudaAssembly: Emgu.CV.Cuda (in Emgu.CV.Cuda.dll) Version: 3.0.0.2161 (3.0.0.2161)
Syntaxpublic static void MinMaxLoc(
IInputArray gpuMat,
ref double minVal,
ref double maxVal,
ref Point minLoc,
ref Point maxLoc,
IInputArray mask = null
)
Public Shared Sub MinMaxLoc (
gpuMat 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^ gpuMat,
double% minVal,
double% maxVal,
Point% minLoc,
Point% maxLoc,
IInputArray^ mask = nullptr
)
static member MinMaxLoc :
gpuMat : IInputArray *
minVal : float byref *
maxVal : float byref *
minLoc : Point byref *
maxLoc : Point byref *
?mask : IInputArray
(* Defaults:
let _mask = defaultArg mask null
*)
-> unit
Parameters
- gpuMat
- Type: Emgu.CVIInputArray
The source GpuMat, single-channel - 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 null if not needed
See Also