STIRA
0.1
|
Adaptive contrast enhancement accoring to method of Hiep Luong The implementation is based on the text of his PhD thesis "Advanced Image and Video Resolution Enhancement Techniques", 2008, Ghent University, TELIN-IPI, page 57 and following. More...
#include <AdaptiveEnhanceLuong.h>
Public Member Functions | |
AdaptiveEnhanceLuong (int windowSize=9) | |
constructor More... | |
~AdaptiveEnhanceLuong () | |
destructor | |
Image * | Run (Image *pSourceImage) |
overloaded Run method per image More... | |
void | SetAlphaFactor (double factor) |
sets the factor with which parameter is to be multiplied factor More... | |
void | SetWindowSize (int size) |
sets the size of the local window around a central pixel More... | |
Adaptive contrast enhancement accoring to method of Hiep Luong The implementation is based on the text of his PhD thesis "Advanced Image and Video Resolution Enhancement Techniques", 2008, Ghent University, TELIN-IPI, page 57 and following.
stira::contrastenhance::AdaptiveEnhanceLuong::AdaptiveEnhanceLuong | ( | int | windowSize = 9 | ) |
constructor
windowSize | size of blocks for local processing |
overloaded Run method per image
pSourceImage | the input image |
References stira::imagedata::Image::AddBand(), stira::imagedata::Image::GetBands(), stira::imagedata::Image::GetHeight(), stira::imagedata::Image::GetNumberOfBands(), and stira::imagedata::Image::GetWidth().
void stira::contrastenhance::AdaptiveEnhanceLuong::SetAlphaFactor | ( | double | factor | ) |
sets the factor with which parameter is to be multiplied factor
factor | multiplication factor usually between 0.5 and 1.0 |
void stira::contrastenhance::AdaptiveEnhanceLuong::SetWindowSize | ( | int | size | ) |
sets the size of the local window around a central pixel
size | size of the local window around a central pixel usually between 5 and 11 |
References stira::common::MathUtils::ClipValue(), stira::imagedata::GridExtender< T >::CropBorder(), stira::imagedata::GridStatistics< T >::GetLocalMaximum(), stira::imagedata::GridStatistics< T >::GetLocalMinimum(), stira::histogram::IntHistogram::GetLowerBound(), stira::imagedata::GridStatistics< T >::GetMinMax(), stira::histogram::IntHistogram::GetUpperBound(), stira::imagedata::ArrayGrid< T >::GetValue(), stira::imagetools::ImageIO::NORMAL_OUT, and stira::imagetools::ImageIO::WritePGM().