[][src]Function opencv::cudaimgproc::hist_even

pub fn hist_even(
    src: &dyn ToInputArray,
    hist: &mut dyn ToOutputArray,
    hist_size: i32,
    lower_level: i32,
    upper_level: i32,
    stream: &mut Stream
) -> Result<()>

Calculates a histogram with evenly distributed bins.

Parameters

  • src: Source image. CV_8U, CV_16U, or CV_16S depth and 1 or 4 channels are supported. For a four-channel image, all channels are processed separately.
  • hist: Destination histogram with one row, histSize columns, and the CV_32S type.
  • histSize: Size of the histogram.
  • lowerLevel: Lower boundary of lowest-level bin.
  • upperLevel: Upper boundary of highest-level bin.
  • stream: Stream for the asynchronous version.

C++ default parameters

  • stream: Stream::Null()