TuttleOFX
1
|
Data Structures | |
struct | NormalizeProcessParams |
class | NormalizePlugin |
Normalize plugin. More... | |
class | NormalizeProcess |
Normalize process. More... | |
Enumerations | |
enum | EParamMode { eParamModeAnalyse = 0, eParamModeCustom } |
enum | EParamAnalyseMode { eParamAnalyseModePerChannel = 0, eParamAnalyseModeLuminosity, eParamAnalyseModeR, eParamAnalyseModeG, eParamAnalyseModeB, eParamAnalyseModeA } |
Functions | |
template<class View , typename LocalChannel > | |
void | analyseChannel (View &src, typename View::value_type &min, typename View::value_type &max, IProgress &p) |
template<class View > | |
void | analyseInputMinMax (const View &src, const EParamAnalyseMode analyseMode, typename View::value_type &min, typename View::value_type &max, IProgress &p) |
compute min and max from input view analyse. | |
template<> | |
void | analyseInputMinMax (const boost::gil::rgb32f_view_t &src, const EParamAnalyseMode analyseMode, boost::gil::rgb32f_view_t::value_type &min, boost::gil::rgb32f_view_t::value_type &max, IProgress &progress) |
template<> | |
void | analyseInputMinMax (const boost::gil::rgb16_view_t &src, const EParamAnalyseMode analyseMode, boost::gil::rgb16_view_t::value_type &min, boost::gil::rgb16_view_t::value_type &max, IProgress &progress) |
template<> | |
void | analyseInputMinMax (const boost::gil::rgb8_view_t &src, const EParamAnalyseMode analyseMode, boost::gil::rgb8_view_t::value_type &min, boost::gil::rgb8_view_t::value_type &max, IProgress &p) |
template<> | |
void | analyseInputMinMax (const boost::gil::gray32f_view_t &src, const EParamAnalyseMode analyseMode, boost::gil::gray32f_view_t::value_type &min, boost::gil::gray32f_view_t::value_type &max, IProgress &p) |
template<> | |
void | analyseInputMinMax (const boost::gil::gray16_view_t &src, const EParamAnalyseMode analyseMode, boost::gil::gray16_view_t::value_type &min, boost::gil::gray16_view_t::value_type &max, IProgress &p) |
template<> | |
void | analyseInputMinMax (const boost::gil::gray8_view_t &src, const EParamAnalyseMode analyseMode, boost::gil::gray8_view_t::value_type &min, boost::gil::gray8_view_t::value_type &max, IProgress &p) |
mDeclarePluginFactory (NormalizePluginFactory,{},{}) | |
Variables | |
static const std::string | kParamHelpButton = "Help" |
static const std::string | kParamMode = "mode" |
static const std::string | kParamModeAnalyse = "analyse" |
static const std::string | kParamModeCustom = "custom" |
static const std::string | kParamAnalyseNow = "analyseNow" |
static const std::string | kParamAnalyseMode = "analyseMode" |
static const std::string | kParamAnalysePerChannel = "perChannel" |
static const std::string | kParamAnalyseLuminosity = "luminosity" |
static const std::string | kParamAnalyseR = "r" |
static const std::string | kParamAnalyseG = "g" |
static const std::string | kParamAnalyseB = "b" |
static const std::string | kParamAnalyseA = "a" |
static const std::string | kParamSrcGroup = "srcGroup" |
static const std::string | kParamSrcCustomColorMin = "srcColorMin" |
static const std::string | kParamSrcCustomColorMax = "srcColorMax" |
static const std::string | kParamSrcCustomValueMin = "srcValueMin" |
static const std::string | kParamSrcCustomValueMax = "srcValueMax" |
static const std::string | kParamDstGroup = "dstGroup" |
static const std::string | kParamDstCustomColorMin = "dstColorMin" |
static const std::string | kParamDstCustomColorMax = "dstColorMax" |
static const std::string | kParamDstCustomValueMin = "dstValueMin" |
static const std::string | kParamDstCustomValueMax = "dstValueMax" |
static const std::string | kParamProcessGroup = "processGroup" |
static const std::string | kParamProcessR = "processR" |
static const std::string | kParamProcessG = "processG" |
static const std::string | kParamProcessB = "processB" |
static const std::string | kParamProcessA = "processA" |
static const bool | kSupportTiles = true |
eParamAnalyseModePerChannel | |
eParamAnalyseModeLuminosity | |
eParamAnalyseModeR | |
eParamAnalyseModeG | |
eParamAnalyseModeB | |
eParamAnalyseModeA |
Definition at line 29 of file NormalizeDefinitions.hpp.
Definition at line 15 of file NormalizeDefinitions.hpp.
void tuttle::plugin::normalize::analyseChannel | ( | View & | src, |
typename View::value_type & | min, | ||
typename View::value_type & | max, | ||
IProgress & | p | ||
) |
Definition at line 17 of file NormalizeAlgorithm.hpp.
References tuttle::host::graph::make(), terry::numeric::pixel_minmax_by_channel_t< CPixel >::max, terry::numeric::pixel_minmax_by_channel_t< CPixel >::min, and terry::algorithm::transform_pixels_progress().
void tuttle::plugin::normalize::analyseInputMinMax | ( | const View & | src, |
const EParamAnalyseMode | analyseMode, | ||
typename View::value_type & | min, | ||
typename View::value_type & | max, | ||
IProgress & | p | ||
) |
compute min and max from input view analyse.
[in] | src,: | input image to analyse |
[in] | analyseMode,: | choose the analyse method |
[out] | min,: | output min values |
[out] | max,: | output max values |
Definition at line 44 of file NormalizeAlgorithm.hpp.
References eParamAnalyseModeA, eParamAnalyseModeB, eParamAnalyseModeG, eParamAnalyseModeLuminosity, eParamAnalyseModePerChannel, eParamAnalyseModeR, tuttle::host::graph::make(), terry::numeric::pixel_minmax_by_channel_t< CPixel >::max, terry::numeric::pixel_minmax_by_channel_t< CPixel >::min, and terry::algorithm::transform_pixels_progress().
void tuttle::plugin::normalize::analyseInputMinMax | ( | const boost::gil::rgb32f_view_t & | src, |
const EParamAnalyseMode | analyseMode, | ||
boost::gil::rgb32f_view_t::value_type & | min, | ||
boost::gil::rgb32f_view_t::value_type & | max, | ||
IProgress & | progress | ||
) |
Definition at line 136 of file NormalizeAlgorithm.hpp.
References eParamAnalyseModeA, eParamAnalyseModeB, eParamAnalyseModeG, eParamAnalyseModeLuminosity, eParamAnalyseModePerChannel, eParamAnalyseModeR, tuttle::host::graph::make(), terry::numeric::pixel_minmax_by_channel_t< CPixel >::max, terry::numeric::pixel_minmax_by_channel_t< CPixel >::min, and terry::algorithm::transform_pixels_progress().
void tuttle::plugin::normalize::analyseInputMinMax | ( | const boost::gil::rgb16_view_t & | src, |
const EParamAnalyseMode | analyseMode, | ||
boost::gil::rgb16_view_t::value_type & | min, | ||
boost::gil::rgb16_view_t::value_type & | max, | ||
IProgress & | progress | ||
) |
Definition at line 221 of file NormalizeAlgorithm.hpp.
References eParamAnalyseModeA, eParamAnalyseModeB, eParamAnalyseModeG, eParamAnalyseModeLuminosity, eParamAnalyseModePerChannel, eParamAnalyseModeR, tuttle::host::graph::make(), terry::numeric::pixel_minmax_by_channel_t< CPixel >::max, terry::numeric::pixel_minmax_by_channel_t< CPixel >::min, and terry::algorithm::transform_pixels_progress().
void tuttle::plugin::normalize::analyseInputMinMax | ( | const boost::gil::rgb8_view_t & | src, |
const EParamAnalyseMode | analyseMode, | ||
boost::gil::rgb8_view_t::value_type & | min, | ||
boost::gil::rgb8_view_t::value_type & | max, | ||
IProgress & | p | ||
) |
Definition at line 306 of file NormalizeAlgorithm.hpp.
References eParamAnalyseModeA, eParamAnalyseModeB, eParamAnalyseModeG, eParamAnalyseModeLuminosity, eParamAnalyseModePerChannel, eParamAnalyseModeR, tuttle::host::graph::make(), terry::numeric::pixel_minmax_by_channel_t< CPixel >::max, terry::numeric::pixel_minmax_by_channel_t< CPixel >::min, and terry::algorithm::transform_pixels_progress().
void tuttle::plugin::normalize::analyseInputMinMax | ( | const boost::gil::gray32f_view_t & | src, |
const EParamAnalyseMode | analyseMode, | ||
boost::gil::gray32f_view_t::value_type & | min, | ||
boost::gil::gray32f_view_t::value_type & | max, | ||
IProgress & | p | ||
) |
Definition at line 391 of file NormalizeAlgorithm.hpp.
References eParamAnalyseModeA, eParamAnalyseModeB, eParamAnalyseModeG, eParamAnalyseModeLuminosity, eParamAnalyseModePerChannel, eParamAnalyseModeR, terry::numeric::pixel_minmax_by_channel_t< CPixel >::max, terry::numeric::pixel_minmax_by_channel_t< CPixel >::min, and terry::algorithm::transform_pixels_progress().
void tuttle::plugin::normalize::analyseInputMinMax | ( | const boost::gil::gray16_view_t & | src, |
const EParamAnalyseMode | analyseMode, | ||
boost::gil::gray16_view_t::value_type & | min, | ||
boost::gil::gray16_view_t::value_type & | max, | ||
IProgress & | p | ||
) |
Definition at line 440 of file NormalizeAlgorithm.hpp.
References eParamAnalyseModeA, eParamAnalyseModeB, eParamAnalyseModeG, eParamAnalyseModeLuminosity, eParamAnalyseModePerChannel, eParamAnalyseModeR, terry::numeric::pixel_minmax_by_channel_t< CPixel >::max, terry::numeric::pixel_minmax_by_channel_t< CPixel >::min, and terry::algorithm::transform_pixels_progress().
void tuttle::plugin::normalize::analyseInputMinMax | ( | const boost::gil::gray8_view_t & | src, |
const EParamAnalyseMode | analyseMode, | ||
boost::gil::gray8_view_t::value_type & | min, | ||
boost::gil::gray8_view_t::value_type & | max, | ||
IProgress & | p | ||
) |
Definition at line 489 of file NormalizeAlgorithm.hpp.
References eParamAnalyseModeA, eParamAnalyseModeB, eParamAnalyseModeG, eParamAnalyseModeLuminosity, eParamAnalyseModePerChannel, eParamAnalyseModeR, terry::numeric::pixel_minmax_by_channel_t< CPixel >::max, terry::numeric::pixel_minmax_by_channel_t< CPixel >::min, and terry::algorithm::transform_pixels_progress().
tuttle::plugin::normalize::mDeclarePluginFactory | ( | NormalizePluginFactory | ) |
const std::string tuttle::plugin::normalize::kParamAnalyseA = "a" [static] |
Definition at line 28 of file NormalizeDefinitions.hpp.
const std::string tuttle::plugin::normalize::kParamAnalyseB = "b" [static] |
Definition at line 27 of file NormalizeDefinitions.hpp.
const std::string tuttle::plugin::normalize::kParamAnalyseG = "g" [static] |
Definition at line 26 of file NormalizeDefinitions.hpp.
const std::string tuttle::plugin::normalize::kParamAnalyseLuminosity = "luminosity" [static] |
Definition at line 24 of file NormalizeDefinitions.hpp.
const std::string tuttle::plugin::normalize::kParamAnalyseMode = "analyseMode" [static] |
Definition at line 22 of file NormalizeDefinitions.hpp.
Referenced by tuttle::plugin::normalize::NormalizePlugin::NormalizePlugin().
const std::string tuttle::plugin::normalize::kParamAnalyseNow = "analyseNow" [static] |
Definition at line 20 of file NormalizeDefinitions.hpp.
Referenced by tuttle::plugin::normalize::NormalizePlugin::changedParam(), and tuttle::plugin::normalize::NormalizePlugin::NormalizePlugin().
const std::string tuttle::plugin::normalize::kParamAnalysePerChannel = "perChannel" [static] |
Definition at line 23 of file NormalizeDefinitions.hpp.
const std::string tuttle::plugin::normalize::kParamAnalyseR = "r" [static] |
Definition at line 25 of file NormalizeDefinitions.hpp.
const std::string tuttle::plugin::normalize::kParamDstCustomColorMax = "dstColorMax" [static] |
Definition at line 47 of file NormalizeDefinitions.hpp.
Referenced by tuttle::plugin::normalize::NormalizePlugin::NormalizePlugin().
const std::string tuttle::plugin::normalize::kParamDstCustomColorMin = "dstColorMin" [static] |
Definition at line 46 of file NormalizeDefinitions.hpp.
Referenced by tuttle::plugin::normalize::NormalizePlugin::NormalizePlugin().
const std::string tuttle::plugin::normalize::kParamDstCustomValueMax = "dstValueMax" [static] |
Definition at line 49 of file NormalizeDefinitions.hpp.
const std::string tuttle::plugin::normalize::kParamDstCustomValueMin = "dstValueMin" [static] |
Definition at line 48 of file NormalizeDefinitions.hpp.
const std::string tuttle::plugin::normalize::kParamDstGroup = "dstGroup" [static] |
Definition at line 45 of file NormalizeDefinitions.hpp.
Referenced by tuttle::plugin::normalize::NormalizePlugin::NormalizePlugin().
const std::string tuttle::plugin::normalize::kParamHelpButton = "Help" [static] |
Definition at line 10 of file NormalizeDefinitions.hpp.
const std::string tuttle::plugin::normalize::kParamMode = "mode" [static] |
Definition at line 12 of file NormalizeDefinitions.hpp.
Referenced by tuttle::plugin::normalize::NormalizePlugin::changedParam(), and tuttle::plugin::normalize::NormalizePlugin::NormalizePlugin().
const std::string tuttle::plugin::normalize::kParamModeAnalyse = "analyse" [static] |
Definition at line 13 of file NormalizeDefinitions.hpp.
const std::string tuttle::plugin::normalize::kParamModeCustom = "custom" [static] |
Definition at line 14 of file NormalizeDefinitions.hpp.
const std::string tuttle::plugin::normalize::kParamProcessA = "processA" [static] |
Definition at line 55 of file NormalizeDefinitions.hpp.
Referenced by tuttle::plugin::normalize::NormalizePlugin::NormalizePlugin().
const std::string tuttle::plugin::normalize::kParamProcessB = "processB" [static] |
Definition at line 54 of file NormalizeDefinitions.hpp.
Referenced by tuttle::plugin::normalize::NormalizePlugin::NormalizePlugin().
const std::string tuttle::plugin::normalize::kParamProcessG = "processG" [static] |
Definition at line 53 of file NormalizeDefinitions.hpp.
Referenced by tuttle::plugin::normalize::NormalizePlugin::NormalizePlugin().
const std::string tuttle::plugin::normalize::kParamProcessGroup = "processGroup" [static] |
Definition at line 51 of file NormalizeDefinitions.hpp.
Referenced by tuttle::plugin::normalize::NormalizePlugin::NormalizePlugin().
const std::string tuttle::plugin::normalize::kParamProcessR = "processR" [static] |
Definition at line 52 of file NormalizeDefinitions.hpp.
Referenced by tuttle::plugin::normalize::NormalizePlugin::NormalizePlugin().
const std::string tuttle::plugin::normalize::kParamSrcCustomColorMax = "srcColorMax" [static] |
Definition at line 41 of file NormalizeDefinitions.hpp.
Referenced by tuttle::plugin::normalize::NormalizePlugin::NormalizePlugin().
const std::string tuttle::plugin::normalize::kParamSrcCustomColorMin = "srcColorMin" [static] |
Definition at line 40 of file NormalizeDefinitions.hpp.
Referenced by tuttle::plugin::normalize::NormalizePlugin::NormalizePlugin().
const std::string tuttle::plugin::normalize::kParamSrcCustomValueMax = "srcValueMax" [static] |
Definition at line 43 of file NormalizeDefinitions.hpp.
const std::string tuttle::plugin::normalize::kParamSrcCustomValueMin = "srcValueMin" [static] |
Definition at line 42 of file NormalizeDefinitions.hpp.
const std::string tuttle::plugin::normalize::kParamSrcGroup = "srcGroup" [static] |
Definition at line 39 of file NormalizeDefinitions.hpp.
Referenced by tuttle::plugin::normalize::NormalizePlugin::NormalizePlugin().
const bool tuttle::plugin::normalize::kSupportTiles = true [static] |
Definition at line 13 of file NormalizePluginFactory.cpp.