hls::EqualizeHist


Synopsis

template<int ROWS, int COLS, int SRC_T, int DST_T>
void hls::EqualizeHist( hls::Mat<ROWS, COLS, SRC_T>& src,
                        hls::Mat<ROWS, COLS, DST_T>& dst );

Parameters

  • src – the input image.
  • dst – the output image.

Description


Compute a histogram of each frame and uses it to normalize the range of the following frame. The delay avoids the use of a frame buffer in the implementation.

Limitations


The histogram is stored as static data internal to this function, allowing only one call to EqualizeHist to be made. The input is expected to have type HLS_8UC1.

OpenCV reference


cvEqualizeHist, cv::equalizeHist