[][src]Function opencv::cudaarithm::min_max_loc

pub fn min_max_loc(
    src: &dyn ToInputArray,
    min_val: &mut f64,
    max_val: &mut f64,
    min_loc: &mut Point,
    max_loc: &mut Point,
    mask: &dyn ToInputArray
) -> Result<()>

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

C++ default parameters

  • mask: noArray()