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 = null )
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 (Optional)
- Type: OpenCvSharp.CPlusPlus.GpuGpuMat
Optional mask to select a sub-matrix.
See Also