TuttleOFX
1
|
Data Structures | |
struct | ColorSuppressProcessParams |
class | ColorSuppressPlugin |
ColorSuppress plugin. More... | |
class | ColorSuppressProcess |
ColorSuppress process. More... | |
Enumerations | |
enum | EOutputType { eOutputTypeImage = 0, eOutputTypeAlpha = 1, eOutputTypeAlphaImage = 2 } |
Functions | |
mDeclarePluginFactory (ColorSuppressPluginFactory,{},{}) | |
template<typename T > | |
T | luminance (const T r, const T g, const T b) |
double | luminance (const OfxRGBAColourD &color) |
Variables | |
static const std::string | kParamRedSuppressRate = "red" |
static const std::string | kParamGreenSuppressRate = "green" |
static const std::string | kParamBlueSuppressRate = "blue" |
static const std::string | kParamCyanSuppressRate = "cyan" |
static const std::string | kParamMagentaSuppressRate = "magenta" |
static const std::string | kParamYellowSuppressRate = "yellow" |
static const std::string | kParamApplyOn = "applyOn" |
static const std::string | kParamApplyOnImage = "image" |
static const std::string | kParamApplyOnAlpha = "alpha" |
static const std::string | kParamApplyOnImageAndAlpha = "image and alpha" |
static const std::string | kParamPreserveLuma = "preserveLuma" |
static const std::string | kParamObeyAlpha = "obeyAlpha" |
static const bool | kSupportTiles = true |
Definition at line 26 of file ColorSuppressDefinitions.hpp.
T tuttle::plugin::colorSuppress::luminance | ( | const T | r, |
const T | g, | ||
const T | b | ||
) |
Definition at line 9 of file ColorSuppressProcess.tcc.
Referenced by luminance(), tuttle::plugin::colorSuppress::ColorSuppressProcess< View >::multiThreadProcessImages(), boost::gil::default_color_converter_impl< rgb_t, lab_t >::operator()(), and boost::gil::default_color_converter_impl< lab_t, rgb_t >::operator()().
double tuttle::plugin::colorSuppress::luminance | ( | const OfxRGBAColourD & | color | ) |
Definition at line 18 of file ColorSuppressProcess.tcc.
References OfxRGBAColourD::b, OfxRGBAColourD::g, luminance(), and OfxRGBAColourD::r.
tuttle::plugin::colorSuppress::mDeclarePluginFactory | ( | ColorSuppressPluginFactory | ) |
const std::string tuttle::plugin::colorSuppress::kParamApplyOn = "applyOn" [static] |
Definition at line 17 of file ColorSuppressDefinitions.hpp.
Referenced by tuttle::plugin::colorSuppress::ColorSuppressPlugin::changedParam(), and tuttle::plugin::colorSuppress::ColorSuppressPlugin::ColorSuppressPlugin().
const std::string tuttle::plugin::colorSuppress::kParamApplyOnAlpha = "alpha" [static] |
Definition at line 19 of file ColorSuppressDefinitions.hpp.
const std::string tuttle::plugin::colorSuppress::kParamApplyOnImage = "image" [static] |
Definition at line 18 of file ColorSuppressDefinitions.hpp.
const std::string tuttle::plugin::colorSuppress::kParamApplyOnImageAndAlpha = "image and alpha" [static] |
Definition at line 20 of file ColorSuppressDefinitions.hpp.
const std::string tuttle::plugin::colorSuppress::kParamBlueSuppressRate = "blue" [static] |
Definition at line 12 of file ColorSuppressDefinitions.hpp.
Referenced by tuttle::plugin::colorSuppress::ColorSuppressPlugin::ColorSuppressPlugin().
const std::string tuttle::plugin::colorSuppress::kParamCyanSuppressRate = "cyan" [static] |
Definition at line 13 of file ColorSuppressDefinitions.hpp.
Referenced by tuttle::plugin::colorSuppress::ColorSuppressPlugin::ColorSuppressPlugin().
const std::string tuttle::plugin::colorSuppress::kParamGreenSuppressRate = "green" [static] |
Definition at line 11 of file ColorSuppressDefinitions.hpp.
Referenced by tuttle::plugin::colorSuppress::ColorSuppressPlugin::ColorSuppressPlugin().
const std::string tuttle::plugin::colorSuppress::kParamMagentaSuppressRate = "magenta" [static] |
Definition at line 14 of file ColorSuppressDefinitions.hpp.
Referenced by tuttle::plugin::colorSuppress::ColorSuppressPlugin::ColorSuppressPlugin().
const std::string tuttle::plugin::colorSuppress::kParamObeyAlpha = "obeyAlpha" [static] |
Definition at line 24 of file ColorSuppressDefinitions.hpp.
Referenced by tuttle::plugin::colorSuppress::ColorSuppressPlugin::ColorSuppressPlugin().
const std::string tuttle::plugin::colorSuppress::kParamPreserveLuma = "preserveLuma" [static] |
Definition at line 22 of file ColorSuppressDefinitions.hpp.
Referenced by tuttle::plugin::colorSuppress::ColorSuppressPlugin::ColorSuppressPlugin().
const std::string tuttle::plugin::colorSuppress::kParamRedSuppressRate = "red" [static] |
Definition at line 10 of file ColorSuppressDefinitions.hpp.
Referenced by tuttle::plugin::colorSuppress::ColorSuppressPlugin::ColorSuppressPlugin().
const std::string tuttle::plugin::colorSuppress::kParamYellowSuppressRate = "yellow" [static] |
Definition at line 15 of file ColorSuppressDefinitions.hpp.
Referenced by tuttle::plugin::colorSuppress::ColorSuppressPlugin::ColorSuppressPlugin().
const bool tuttle::plugin::colorSuppress::kSupportTiles = true [static] |
Definition at line 11 of file ColorSuppressPluginFactory.cpp.