STIRA
0.1
|
class for adaptive histogram equalization like in https://en.wikipedia.org/wiki/Adaptive_histogram_equalization More...
#include <AdaptiveHistogramEqualizer.h>
Public Member Functions | |
AdaptiveHistogramEqualizer (Image *pSourceImage, int blockWidth, int blockHeight) | |
constructor More... | |
~AdaptiveHistogramEqualizer () | |
destructor | |
bool | Initialize () |
Initializes block sizes and corresponding data structures Needs to be called. | |
Image * | Run () |
Run method. More... | |
class for adaptive histogram equalization like in https://en.wikipedia.org/wiki/Adaptive_histogram_equalization
stira::contrastenhance::AdaptiveHistogramEqualizer::AdaptiveHistogramEqualizer | ( | Image * | pSourceImage, |
int | blockWidth, | ||
int | blockHeight | ||
) |
constructor
pSourceImage | the input image |
blockWidth | width of block to divide image in |
blockHeight | height of block to divide image in |
References stira::imagedata::Image::GetHeight(), and stira::imagedata::Image::GetWidth().
Image * stira::contrastenhance::AdaptiveHistogramEqualizer::Run | ( | ) |
Run method.
References stira::common::MathUtils::ClipValue(), stira::imagedata::Image::Clone(), stira::histogram::IntHistogram::ConvertInCumulativeHistogram(), stira::imagedata::Image::GetBands(), stira::histogram::HistogramMaster< T >::GetBinValue(), stira::histogram::HistogramMaster< T >::GetNrOfBins(), stira::imagedata::Image::GetNumberOfBands(), stira::imagedata::ArrayGrid< T >::GetValue(), stira::histogram::FloatHistogram::InitializeWithNormalizedCumulativeHistogram(), stira::imagetools::BilinearInterpolator::Run(), and stira::imagedata::ArrayGrid< T >::SetValue().