TuttleOFX  1
tuttle::plugin::colorSuppress Namespace Reference

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 >
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

Enumeration Type Documentation

Enumerator:
eOutputTypeImage 
eOutputTypeAlpha 
eOutputTypeAlphaImage 

Definition at line 26 of file ColorSuppressDefinitions.hpp.


Function Documentation

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.

Here is the call graph for this function:

tuttle::plugin::colorSuppress::mDeclarePluginFactory ( ColorSuppressPluginFactory  )

Variable Documentation

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.

Definition at line 11 of file ColorSuppressPluginFactory.cpp.