Finds global minimum and maximum array elements and returns their values with locations
Namespace: OpenCvSharp.CPlusPlus.Gpu
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static void MinMaxLoc( GpuMat src, out double minVal, out double maxVal, out Point minLoc, out Point maxLoc, GpuMat mask, GpuMat valbuf, GpuMat locbuf )
Parameters
- src
- Type: OpenCvSharp.CPlusPlus.GpuGpuMat
Single-channel source image. - minVal
- Type: SystemDouble
Pointer to the returned minimum value. - maxVal
- Type: SystemDouble
Pointer to the returned maximum value. - minLoc
- Type: OpenCvSharp.CPlusPlusPoint
Pointer to the returned minimum location. - maxLoc
- Type: OpenCvSharp.CPlusPlusPoint
Pointer to the returned maximum location. - mask
- Type: OpenCvSharp.CPlusPlus.GpuGpuMat
Optional mask to select a sub-matrix. - valbuf
- Type: OpenCvSharp.CPlusPlus.GpuGpuMat
Optional values buffer to avoid extra memory allocations. It is resized automatically. - locbuf
- Type: OpenCvSharp.CPlusPlus.GpuGpuMat
Optional locations buffer to avoid extra memory allocations. It is resized automatically.
See Also