Internal plugin class for the LUTOp3Channel.
More...
#include <LUTOp3Channel.h>
template<class T>
class icl::filter::LUTOp3Channel< T >::Plugin
Internal plugin class for the LUTOp3Channel.
The Plugin class can be reimplemented to create custom LUTOp3Channel functions. The basic implementation realized a default color distance map on source images.
◆ Plugin() [1/2]
◆ Plugin() [2/2]
Constructor.
- Parameters
-
ref1 | first channel reference color value |
ref2 | second channel reference color value |
ref3 | third channel reference color value |
thresh | euclidean distance threshold |
◆ ~Plugin()
◆ transform()
Transformation function.
This function must be reimplemented for custom LUT functions. The function is:
return Cast<double,T>::cast( ::
sqrt( ::pow(r-
m_aiRef[0],2) +
- Parameters
-
v1 | first channel pixel value of input image |
v2 | second channel pixel value of input image |
v3 | third channel pixel value of input image |
◆ m_aiRef
internal reference colors
◆ m_iThresh
euclidean distance threshold
The documentation for this class was generated from the following file: