Finds minimum and maximum element values and their positions. The extremums are searched over the whole array, selected ROI (in case of IplImage) or, if mask is not IntPtr.Zero, in the specified array region. If the array has more than one channel, it must be IplImage with COI set. In case if multi-dimensional arrays min_loc->x and max_loc->x will contain raw (linear) positions of the extremums
Namespace: Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.2.1.1150 (2.2.1.1150)
Syntax
C# | Visual Basic | Visual C++ |
Parameters
- arr
- IntPtr
The source array, single-channel or multi-channel with COI set
- 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