STIRA
0.1
|
ref: http://scien.stanford.edu/class/psych221/projects/00/trek/ More...
#include <ColorBalancer.h>
Static Public Member Functions | |
static Image * | RunBalance (Image *pImageIn, double weightGM=0.5) |
Weighted balance from following two color balancing results. More... | |
static Image * | RunGrayWorld (Image *pImageIn) |
Performs Gray World color balancing. More... | |
static Image * | RunGrayColorPoint (Image *pImageIn) |
static Image * | RunPerfectReflector (Image *pImageIn) |
Performs Perfect Reflector color balancing. More... | |
|
static |
Weighted balance from following two color balancing results.
weightGM | weight of result of GrayWorld result (added with (1-weightGM) times Perfect Reflector result) |
References stira::imagedata::Image::GetImageName(), stira::imagedata::Image::GetNumberOfBands(), and stira::imagedata::Image::SetImageName().
Performs Gray World color balancing.
References stira::imagedata::Image::Clone(), stira::imagedata::Image::GetBands(), stira::imagedata::Image::GetImageName(), stira::imagedata::Image::GetNumberOfBands(), and stira::imagedata::Image::SetImageName().
Performs Perfect Reflector color balancing.
References stira::imagedata::ColorValue::c, stira::imagedata::Image::Clone(), stira::imagedata::Image::GetBands(), stira::imagedata::Image::GetColor(), stira::imagedata::Image::GetHeight(), stira::imagedata::Image::GetImageName(), stira::imagedata::Image::GetNumberOfBands(), stira::imagedata::Image::GetWidth(), stira::imagedata::Image::RGBToYUV(), stira::imagedata::ArrayGrid< T >::SetGridValues(), stira::imagedata::Image::SetImageName(), stira::imagedata::ArrayGrid< T >::SetValue(), and stira::imagedata::Image::sRGBToLab().