| eLynx SDK
v3.0.1 C++ image processing API reference |
#include <IImagePointProcessing.h>

Public Member Functions | |
| virtual | ~IImagePointProcessing () |
| virtual bool | AdjustBrightness (AbstractImage &ioImage, double iBrightness, uint32 iChannelMask, ProgressNotifier &iNotifier) const =0 |
| virtual bool | AdjustContrast (AbstractImage &ioImage, double iContrast, uint32 iChannelMask, ProgressNotifier &iNotifier) const =0 |
| virtual bool | AdjustGamma (AbstractImage &ioImage, double iGamma, uint32 iChannelMask, ProgressNotifier &iNotifier) const =0 |
| virtual bool | AdjustBCG (AbstractImage &ioImage, double iBrightness, double iContrast, double iGamma, uint32 iChannelMask, ProgressNotifier &iNotifier) const =0 |
| virtual bool | AdjustMidtone (AbstractImage &ioImage, double iMidtone, uint32 iChannelMask, ProgressNotifier &iNotifier) const =0 |
| virtual bool | AdjustSigmoid (AbstractImage &ioImage, double iAlpha, double iBeta, uint32 iChannelMask, ProgressNotifier &iNotifier) const =0 |
| virtual bool | AdjustHueSaturation (AbstractImage &ioImage, double iHue, double iSaturation, ProgressNotifier &iNotifier) const =0 |
| virtual bool | Balance (AbstractImage &ioImage, double iChannel0, double iChannel1, double iChannel2, uint32 iChannelMask, ProgressNotifier &iNotifier) const =0 |
| virtual bool | Posterize (AbstractImage &ioImage, uint32 iLevels, uint32 iChannelMask, ProgressNotifier &iNotifier) const =0 |
| virtual bool | Solarize (AbstractImage &ioImage, double iThreshold, uint32 iChannelMask, ProgressNotifier &iNotifier) const =0 |
| virtual bool | Colorize (AbstractImage &ioImage, double iHue, double iSaturation, ProgressNotifier &iNotifier) const =0 |
| virtual bool | Desaturate (AbstractImage &ioImage, double iFactor, uint32 iChannelMask, ProgressNotifier &iNotifier) const =0 |
| virtual bool | Blend (AbstractImage &ioImage, const AbstractImage &iImage, double iScalar, uint32 iChannelMask, ProgressNotifier &iNotifier) const =0 |
| virtual boost::shared_ptr < AbstractImage > | CreateBinarized (const AbstractImage &iImage, double iThreshold, bool ibNegative, uint32 iChannelMask, ProgressNotifier &iNotifier) const =0 |
Main of point to point processing functionnalities are based on histogram operations.
For more info see articles :
Definition at line 61 of file IImagePointProcessing.h.
| virtual eLynx::Image::IImagePointProcessing::~IImagePointProcessing | ( | ) | [virtual] |
| virtual bool eLynx::Image::IImagePointProcessing::AdjustBrightness | ( | AbstractImage & | ioImage, | |
| double | iBrightness, | |||
| uint32 | iChannelMask, | |||
| ProgressNotifier & | iNotifier | |||
| ) | const [pure virtual] |
Change brightness on selected channels
less brightness(-0.3) |
original |
more brightness(+0.3) |
| ioImage | image to process. | |
| iBrightness | brightness coefficient in range -1.0, +1.0. 0.0 is neutral value. | |
| iChannelMask | selected channels to be processed. Default is all. | |
| iNotifier | a notifier for progression, log and cancel. |
Implemented in eLynx::Image::ImagePointProcessingImpl< Pixel >.
| virtual bool eLynx::Image::IImagePointProcessing::AdjustContrast | ( | AbstractImage & | ioImage, | |
| double | iContrast, | |||
| uint32 | iChannelMask, | |||
| ProgressNotifier & | iNotifier | |||
| ) | const [pure virtual] |
Change contrast on selected channels
less contrast(-0.4) |
original |
more contrast(+0.4) |
| ioImage | image to process. | |
| iContrast | contrast coefficient in range -1.0, +1.0. 0.0 is neutral value. | |
| iChannelMask | selected channels to be processed. Default is all. | |
| iNotifier | a notifier for progression, log and cancel. |
Implemented in eLynx::Image::ImagePointProcessingImpl< Pixel >.
| virtual bool eLynx::Image::IImagePointProcessing::AdjustGamma | ( | AbstractImage & | ioImage, | |
| double | iGamma, | |||
| uint32 | iChannelMask, | |||
| ProgressNotifier & | iNotifier | |||
| ) | const [pure virtual] |
Gamma correction on selected channels
gamma(0.5) |
original |
gamma(3.0) |
| ioImage | image to process. | |
| iGamma | gamma value in range 0.001, +4.0. 1.0 is neutral value. | |
| iChannelMask | selected channels to be processed. Default is all. | |
| iNotifier | a notifier for progression, log and cancel. |
Implemented in eLynx::Image::ImagePointProcessingImpl< Pixel >.
| virtual bool eLynx::Image::IImagePointProcessing::AdjustBCG | ( | AbstractImage & | ioImage, | |
| double | iBrightness, | |||
| double | iContrast, | |||
| double | iGamma, | |||
| uint32 | iChannelMask, | |||
| ProgressNotifier & | iNotifier | |||
| ) | const [pure virtual] |
Change brightness + contrast + gamma correction on selected channels
| ioImage | image to process. | |
| iBrightness | brightness coefficient in range -1.0, +1.0. 0.0 is neutral value. | |
| iContrast | contrast coefficient in range -1.0, +1.0. 0.0 is neutral value. | |
| iGamma | gamma value in range 0.001, +4.0. 1.0 is neutral value. | |
| iChannelMask | selected channels to be processed. Default is all. | |
| iNotifier | a notifier for progression, log and cancel. |
Implemented in eLynx::Image::ImagePointProcessingImpl< Pixel >.
| virtual bool eLynx::Image::IImagePointProcessing::AdjustMidtone | ( | AbstractImage & | ioImage, | |
| double | iMidtone, | |||
| uint32 | iChannelMask, | |||
| ProgressNotifier & | iNotifier | |||
| ) | const [pure virtual] |
Midtone correction on selected channels
Midtone(0.2) |
original |
Midtone(0.7) |
| ioImage | image to process. | |
| iMidtone | value in range 0.001, 0.999. 0.5 is neutral value. | |
| iChannelMask | selected channels to be processed. Default is all. | |
| iNotifier | a notifier for progression, log and cancel. |
Implemented in eLynx::Image::ImagePointProcessingImpl< Pixel >.
| virtual bool eLynx::Image::IImagePointProcessing::AdjustSigmoid | ( | AbstractImage & | ioImage, | |
| double | iAlpha, | |||
| double | iBeta, | |||
| uint32 | iChannelMask, | |||
| ProgressNotifier & | iNotifier | |||
| ) | const [pure virtual] |
Adjust Sigmoid on selected channels
Sigmoid(2.0, 0.25) |
original |
Sigmoid(0.5, 0.75) |
| ioImage | image to process. | |
| iAlpha | scale factor in range [0.0, 10.0], 1.0 is neutral value. | |
| iBeta | offset in range [0.0, 1.0], 0.5 is neutral value. | |
| iChannelMask | selected channels to be processed. Default is all. | |
| iNotifier | a notifier for progression, log and cancel. |
Implemented in eLynx::Image::ImagePointProcessingImpl< Pixel >.
| virtual bool eLynx::Image::IImagePointProcessing::AdjustHueSaturation | ( | AbstractImage & | ioImage, | |
| double | iHue, | |||
| double | iSaturation, | |||
| ProgressNotifier & | iNotifier | |||
| ) | const [pure virtual] |
Hue and Saturation adjustment.
| ioImage | image to process. | |
| iHue | hue adjustment in range [0..1]. | |
| iSaturation | Saturation adjustment in range [0..1]. | |
| iNotifier | a notifier for progression, log and cancel. |
Implemented in eLynx::Image::ImagePointProcessingImpl< Pixel >.
| virtual bool eLynx::Image::IImagePointProcessing::Balance | ( | AbstractImage & | ioImage, | |
| double | iChannel0, | |||
| double | iChannel1, | |||
| double | iChannel2, | |||
| uint32 | iChannelMask, | |||
| ProgressNotifier & | iNotifier | |||
| ) | const [pure virtual] |
The Color Balance allows you to adjust the overall mixture of the colors.
original |
Balance(0.8, 1.1, 0.5) |
Implemented in eLynx::Image::ImagePointProcessingImpl< Pixel >.
| virtual bool eLynx::Image::IImagePointProcessing::Posterize | ( | AbstractImage & | ioImage, | |
| uint32 | iLevels, | |||
| uint32 | iChannelMask, | |||
| ProgressNotifier & | iNotifier | |||
| ) | const [pure virtual] |
The Posterize effect lets you adjust the number of brightness levels of the image.
original |
Posterize(3) |
| ioImage | image to process. | |
| iLevels | numbers of levels for all image dynamic range. | |
| iChannelMask | selected channels to be processed. Default is all. | |
| iNotifier | a notifier for progression, log and cancel. |
Implemented in eLynx::Image::ImagePointProcessingImpl< Pixel >.
| virtual bool eLynx::Image::IImagePointProcessing::Solarize | ( | AbstractImage & | ioImage, | |
| double | iThreshold, | |||
| uint32 | iChannelMask, | |||
| ProgressNotifier & | iNotifier | |||
| ) | const [pure virtual] |
The Solarize effect blends an image by inverting all color data when intensity value is greater than a threshold.
original |
Solarize(0.6) |
| ioImage | image to process. | |
| iThreshold | level in range [0, 1] when negative occurs. | |
| iChannelMask | selected channels to be processed. Default is all. | |
| iNotifier | a notifier for progression, log and cancel. |
Implemented in eLynx::Image::ImagePointProcessingImpl< Pixel >.
| virtual bool eLynx::Image::IImagePointProcessing::Colorize | ( | AbstractImage & | ioImage, | |
| double | iHue, | |||
| double | iSaturation, | |||
| ProgressNotifier & | iNotifier | |||
| ) | const [pure virtual] |
Colorize an image setting a hue and saturation.
original |
Colorize(0.10, 0.54) with Sepia tone |
| ioImage | image to process. | |
| iHue | Hue in normalised range [0.0, 1.0]. | |
| iSaturation | Saturation in normalised range [0.0, 1.0]. | |
| iNotifier | a notifier for progression, log and cancel. |
Implemented in eLynx::Image::ImagePointProcessingImpl< Pixel >.
| virtual bool eLynx::Image::IImagePointProcessing::Desaturate | ( | AbstractImage & | ioImage, | |
| double | iFactor, | |||
| uint32 | iChannelMask, | |||
| ProgressNotifier & | iNotifier | |||
| ) | const [pure virtual] |
Implemented in eLynx::Image::ImagePointProcessingImpl< Pixel >.
| virtual bool eLynx::Image::IImagePointProcessing::Blend | ( | AbstractImage & | ioImage, | |
| const AbstractImage & | iImage, | |||
| double | iScalar, | |||
| uint32 | iChannelMask, | |||
| ProgressNotifier & | iNotifier | |||
| ) | const [pure virtual] |
Implemented in eLynx::Image::ImagePointProcessingImpl< Pixel >.
| virtual boost::shared_ptr< AbstractImage > eLynx::Image::IImagePointProcessing::CreateBinarized | ( | const AbstractImage & | iImage, | |
| double | iThreshold, | |||
| bool | ibNegative, | |||
| uint32 | iChannelMask, | |||
| ProgressNotifier & | iNotifier | |||
| ) | const [pure virtual] |
Implemented in eLynx::Image::ImagePointProcessingImpl< Pixel >.