pub fn min_max_loc_def(
src: &impl ToInputArray,
min_val: &mut f64,
max_val: &mut f64,
min_loc: &mut Point,
max_loc: &mut Point,
) -> Result<()>Expand description
Finds global minimum and maximum matrix elements and returns their values with locations.
§Parameters
- src: Single-channel source image.
- minVal: Pointer to the returned minimum value. Use NULL if not required.
- maxVal: Pointer to the returned maximum value. Use NULL if not required.
- minLoc: Pointer to the returned minimum location. Use NULL if not required.
- maxLoc: Pointer to the returned maximum location. Use NULL if not required.
- mask: Optional mask to select a sub-matrix.
The function does not work with CV_64F images on GPU with the compute capability < 1.3.
§See also
minMaxLoc
§Note
This alternative version of min_max_loc function uses the following default values for its arguments:
- mask: noArray()