TuttleOFX  1
tuttle Namespace Reference

This file provides a set of reimplementations of CImg functions by means of the generic image library (gil). Functions for image blurring. More...

Namespaces

namespace  common
namespace  exception
namespace  host
 

Library for host.


namespace  imageUtils
namespace  io
namespace  ofx
namespace  plugin
namespace  plugins
 

Library for plugins.


namespace  test

Data Structures

class  AbstractLut
class  Color
class  Interpolator
class  Lut3D
class  LutReader
struct  gram_3dl
class  TetraInterpolator
class  TrilinInterpolator
class  ParamMathPlugin

Functions

std::ostream & operator<< (std::ostream &o, Color const &_color)
template<class T >
clamp (const T v, const T min, const T max)
 mDeclarePluginFactory (ParamMathPluginFactory< DoubleParam >,{},{})
 mDeclarePluginFactory (ParamMathPluginFactory< IntParam >,{},{})
std::string quotes (const std::string &s)
template<typename T >
min (const T &a, const T &b, const T &c)
template<typename T >
max (const T &a, const T &b, const T &c)
template<typename T >
min (const T &a, const T &b, const T &c, const T &d)
template<typename T >
max (const T &a, const T &b, const T &c, const T &d)
template<class P >
OfxRectD pointsBoundingBox (const P &a, const P &b, const P &c, const P &d)
template<typename Point2 >
OfxRectD pointsBoundingBox (const std::vector< Point2 > &points)
template<class Point2 >
Point2 pointsMinXY (const std::vector< Point2 > &points)
template<class Point2 >
Point2 pointsMaxXY (const std::vector< Point2 > &points)
template<class Point , class Rect >
bool pointInRect (const Point &p, const Rect &rec)
template<class Rect >
Rect translateRegion (const Rect &windowRoW, const Rect &dependingTo)
template<class Rect , class Point >
Rect translateRegion (const Rect &windowRoW, const Point &move)
template<class R >
rectanglesBoundingBox (const R &a, const R &b)
template<class R >
rectanglesIntersection (const R &a, const R &b)
template<class R >
bool rectanglesIntersect (const R &a, const R &b)
template<class R >
bool rectangleAContainsB (const R &a, const R &b)
template<class R >
bool rectangleContainsAnother (const R &a, const R &b)
template<class R , class V >
rectangleGrow (const R &rect, const V marge)
template<class R , class V >
rectangleReduce (const R &rect, const V marge)

Detailed Description

This file provides a set of reimplementations of CImg functions by means of the generic image library (gil). Functions for image blurring.

This file provides a set of member function that are needed to manage algorithm progression.

<

: remove include dependencies to gil

global namespace of the project

This file provides a set of reimplementations of CImg functions by means of the generic image library (gil). Functions for noise analysis.

This file provides a set of reimplementations of CImg functions by means of the generic image library (gil). Functions for interpolation.

This file provides a class for tensors image generation.

This file provides a set of reimplementations of CImg functions by means of the generic image library (gil). Functions for edge detection.

Todo:
temporary solution..
Todo:
tuttle: custom parameter support...
Todo:
tuttle: please remove this ! (don't use as singleton)
Todo:
tuttle: remove this !
Todo:
tuttle: remove this!

Function Documentation

template<class T >
T tuttle::clamp ( const T  v,
const T  min,
const T  max 
)

Definition at line 10 of file TetraInterpolator.cpp.

References max(), and min().

Referenced by tuttle::host::ofx::imageEffect::OfxhImageEffectNode::getRegionOfInterestAction(), and tuttle::TetraInterpolator::interpolate().

Here is the call graph for this function:

template<typename T >
T tuttle::max ( const T &  a,
const T &  b,
const T &  c 
) [inline]

Definition at line 40 of file minmax.hpp.

Referenced by tuttle::imageUtils::ImageTensors< View >::anisotropic_gradient(), tuttle::plugin::normalize::NormalizePlugin::changedParam(), clamp(), tuttle::plugin::nlmDenoiser::clamp(), tuttle::ofx::clamp(), terry::color::color_transformation_step(), tuttle::host::graph::ProcessGraph::computeTimeRange(), tuttle::plugin::nlmDenoiser::NLMDenoiserProcess< View >::computeWeights(), terry::filter::detail::correlate_rows_imp(), sequenceParser::decomposeFilename(), tuttle::plugin::describeGeneratorParamsInContext(), down_sample(), sam::samdo::Dummy::foundAssociateSpecificDummyNode(), tuttle::host::ImageEffectNode::getDefaultTimeDomain(), tuttle::host::ofx::imageEffect::OfxhImageEffectNode::getFramesNeededAction(), tuttle::plugin::anisotropicFilter::diffusion::AnisotropicDiffusionPlugin::getMargin(), tuttle::plugin::anisotropicFilter::tensors::TensorsPlugin::getMargin(), getMemoryInfo(), tuttle::plugin::sobel::SobelPlugin::getRegionOfDefinition(), tuttle::plugin::lens::LensDistortPlugin::getRegionOfDefinition(), tuttle::plugin::pushPixel::PushPixelPlugin::getRegionsOfInterest(), tuttle::plugin::sobel::SobelPlugin::getRegionsOfInterest(), tuttle::host::ofx::attribute::OfxhParamDescriptor::initNumericParamProps(), tuttle::plugin::interact::ParamRectangleFromTwoCorners< TFrame, coord >::isIn(), tuttle::plugin::interact::ParamRectangleFromCenterSize< TFrame, coord >::isIn(), main(), max(), max_channel_values(), boost::gil::detail::channel_traits_impl< T, false >::max_value(), min_channel_values_(), minmax_channel_values(), boost::gil::toolbox::negative(), boost::gil::toolbox::calc_negative::operator()(), terry::channel_clamp< Channel >::operator()(), layer::fill_horizontal< view_t >::operator()(), tuttle::plugin::idKeyer::id_keyer_t::operator()(), boost::gil::default_color_converter_impl< rgb_t, hsl_t >::operator()(), boost::gil::default_color_converter_impl< rgb_t, hsv_t >::operator()(), terry::numeric::channel_assign_max_t< ChannelSrc, ChannelDst >::operator()(), layer::make_advance_height::operator()(), layer::make_height::operator()(), layer::make_glyph_height::operator()(), terry::numeric::pixel_minmax_by_channel_t< CPixel >::operator()(), terry::make_advance_height::operator()(), terry::make_height::operator()(), terry::make_glyph_height::operator()(), terry::FunctorHardLight< Pixel >::operator()(), terry::FunctorLighten< Pixel >::operator()(), terry::FunctorOverlay< Pixel >::operator()(), terry::FunctorColorDodge< Pixel >::operator()(), terry::FunctorColorBurn< Pixel >::operator()(), terry::FunctorPinLight< Pixel >::operator()(), terry::FunctorReflect< Pixel >::operator()(), terry::FunctorFreeze< Pixel >::operator()(), terry::FunctorInterpolated< Pixel >::operator()(), terry::FunctorATop< Pixel >::operator()(), terry::FunctorConjointOver< Pixel >::operator()(), terry::FunctorDisjointOver< Pixel >::operator()(), terry::FunctorMatte< Pixel >::operator()(), terry::FunctorOut< Pixel >::operator()(), terry::FunctorXOR< Pixel >::operator()(), pointsBoundingBox(), tuttle::LutReader::read(), rectanglesBoundingBox(), terry::rectanglesBoundingBox(), rectanglesIntersection(), terry::rectanglesIntersection(), removeSequence(), tuttle::plugin::interact::ParamRectangleFromTwoCorners< TFrame, coord >::selectType(), tuttle::plugin::interact::ParamRectangleFromCenterSize< TFrame, coord >::selectType(), tuttle::host::ofx::imageEffect::OfxhImageEffectNode::setDefaultClipPreferences(), tuttle::plugin::nlmDenoiser::NLMDenoiserProcess< View >::setup(), and tuttle::plugin::exr::reader::EXRReaderProcess< View >::sliceCopy().

template<typename T >
T tuttle::max ( const T &  a,
const T &  b,
const T &  c,
const T &  d 
) [inline]

Definition at line 52 of file minmax.hpp.

References max().

Here is the call graph for this function:

tuttle::mDeclarePluginFactory ( ParamMathPluginFactory< DoubleParam >  )
tuttle::mDeclarePluginFactory ( ParamMathPluginFactory< IntParam >  )
template<typename T >
T tuttle::min ( const T &  a,
const T &  b,
const T &  c 
) [inline]

Definition at line 34 of file minmax.hpp.

Referenced by tuttle::plugin::anisotropicFilter::diffusion::AnisotropicDiffusionProcess< View >::blur_anisotropic(), tuttle::plugin::normalize::NormalizePlugin::changedParam(), clamp(), tuttle::plugin::nlmDenoiser::clamp(), tuttle::ofx::clamp(), terry::color::color_transformation_step(), tuttle::host::graph::ProcessGraph::computeTimeRange(), tuttle::plugin::nlmDenoiser::NLMDenoiserProcess< View >::computeWeights(), terry::filter::correlate_rows_cols_imp(), terry::filter::detail::correlate_rows_imp(), down_sample(), OFX::FactoryMainEntryHelper< FACTORY >::FactoryMainEntryHelper(), tuttle::host::ImageEffectNode::getDefaultTimeDomain(), tuttle::host::ofx::imageEffect::OfxhImageEffectNode::getFramesNeededAction(), tuttle::plugin::lens::LensDistortPlugin::getRegionOfDefinition(), tuttle::host::ofx::attribute::OfxhParamDescriptor::initNumericParamProps(), tuttle::plugin::interact::ParamRectangleFromTwoCorners< TFrame, coord >::isIn(), tuttle::plugin::interact::ParamRectangleFromCenterSize< TFrame, coord >::isIn(), sequenceParser::Sequence::isIn(), main(), min(), min_channel_values(), boost::gil::detail::channel_traits_impl< T, false >::min_value(), minmax_channel_values(), terry::channel_clamp< Channel >::operator()(), terry::numeric::channel_assign_min_t< ChannelSrc, ChannelDst >::operator()(), layer::fill_horizontal< view_t >::operator()(), tuttle::plugin::idKeyer::id_keyer_t::operator()(), boost::gil::default_color_converter_impl< rgb_t, hsl_t >::operator()(), boost::gil::default_color_converter_impl< rgb_t, hsv_t >::operator()(), terry::numeric::pixel_minmax_by_channel_t< CPixel >::operator()(), boost::gil::default_color_converter_impl< rgb_t, cmyk_t >::operator()(), calc_diff::operator()(), boost::gil::default_color_converter_impl< cmyk_t, rgb_t >::operator()(), terry::FunctorDarken< Pixel >::operator()(), terry::FunctorPinLight< Pixel >::operator()(), pointsBoundingBox(), tuttle::plugin::nlmDenoiser::NLMDenoiserProcess< View >::preProcess(), rectanglesBoundingBox(), terry::rectanglesBoundingBox(), rectanglesIntersection(), terry::rectanglesIntersection(), boost::gil::toolbox::remove_channel(), removeSequence(), tuttle::plugin::interact::ParamRectangleFromTwoCorners< TFrame, coord >::selectType(), tuttle::plugin::interact::ParamRectangleFromCenterSize< TFrame, coord >::selectType(), tuttle::plugin::colorCube::ColorCubeProcess< View >::setup(), tuttle::plugin::colorWheel::ColorWheelProcess< View >::setup(), tuttle::plugin::nlmDenoiser::NLMDenoiserProcess< View >::setup(), and tuttle::plugin::exr::reader::EXRReaderProcess< View >::sliceCopy().

template<typename T >
T tuttle::min ( const T &  a,
const T &  b,
const T &  c,
const T &  d 
) [inline]

Definition at line 46 of file minmax.hpp.

References min().

Here is the call graph for this function:

std::ostream& tuttle::operator<< ( std::ostream &  o,
Color const &  _color 
) [inline]

Definition at line 151 of file Color.hpp.

References tuttle::Color::x, tuttle::Color::y, and tuttle::Color::z.

template<class Point , class Rect >
bool tuttle::pointInRect ( const Point &  p,
const Rect &  rec 
) [inline]

Definition at line 89 of file rectOp.hpp.

Referenced by tuttle::plugin::interact::PointInteract::isIn().

template<class P >
OfxRectD tuttle::pointsBoundingBox ( const P &  a,
const P &  b,
const P &  c,
const P &  d 
) [inline]

Definition at line 15 of file rectOp.hpp.

References max(), min(), OfxRectD::x1, OfxRectD::x2, OfxRectD::y1, and OfxRectD::y2.

Referenced by tuttle::plugin::lens::transformValues().

Here is the call graph for this function:

template<typename Point2 >
OfxRectD tuttle::pointsBoundingBox ( const std::vector< Point2 > &  points) [inline]

Definition at line 26 of file rectOp.hpp.

References OfxRectD::x1, OfxRectD::x2, OfxRectD::y1, and OfxRectD::y2.

template<class Point2 >
Point2 tuttle::pointsMaxXY ( const std::vector< Point2 > &  points) [inline]

Definition at line 70 of file rectOp.hpp.

template<class Point2 >
Point2 tuttle::pointsMinXY ( const std::vector< Point2 > &  points) [inline]

Definition at line 51 of file rectOp.hpp.

template<class R >
bool tuttle::rectangleAContainsB ( const R &  a,
const R &  b 
) [inline]

Definition at line 171 of file rectOp.hpp.

Referenced by rectangleContainsAnother().

template<class R >
bool tuttle::rectangleContainsAnother ( const R &  a,
const R &  b 
) [inline]

Definition at line 179 of file rectOp.hpp.

References rectangleAContainsB().

Referenced by tuttle::plugin::merge::fillAroundIntersection().

Here is the call graph for this function:

template<class R , class V >
R tuttle::rectangleGrow ( const R &  rect,
const V  marge 
) [inline]
template<class R >
R tuttle::rectanglesBoundingBox ( const R &  a,
const R &  b 
) [inline]

Definition at line 139 of file rectOp.hpp.

References max(), and min().

Referenced by tuttle::plugin::merge::MergePlugin::getRegionOfDefinition().

Here is the call graph for this function:

template<class R >
bool tuttle::rectanglesIntersect ( const R &  a,
const R &  b 
) [inline]

Definition at line 161 of file rectOp.hpp.

template<class Rect >
Rect tuttle::translateRegion ( const Rect &  windowRoW,
const Rect &  dependingTo 
) [inline]

Definition at line 117 of file rectOp.hpp.

Referenced by tuttle::plugin::merge::fillAroundIntersection(), tuttle::plugin::merge::MergePlugin::getRegionOfDefinition(), tuttle::plugin::component::ComponentProcess< SView, DView >::multiThreadProcessImages(), tuttle::plugin::crop::CropProcess< View >::multiThreadProcessImages(), tuttle::plugin::idKeyer::IdKeyerProcess< View >::multiThreadProcessImages(), tuttle::plugin::localmaxima::LocalMaximaProcess< SView, DView >::multiThreadProcessImages(), tuttle::plugin::fade::FadeProcess< View >::multiThreadProcessImages(), tuttle::plugin::print::PrintProcess< View >::multiThreadProcessImages(), tuttle::plugin::merge::MergeProcess< View, Functor >::multiThreadProcessImages(), tuttle::plugin::pushPixel::PushPixelProcess< View >::multiThreadProcessImages(), tuttle::plugin::warp::WarpProcess< View >::multiThreadProcessImages(), tuttle::plugin::normalize::NormalizeProcess< View >::multiThreadProcessImages(), tuttle::plugin::colorTransfer::ColorTransferProcess< View >::multiThreadProcessImages(), tuttle::plugin::text::TextProcess< View, Functor >::multiThreadProcessImages(), tuttle::plugin::histogramKeyer::HistogramKeyerProcess< View >::multiThreadProcessImages(), tuttle::plugin::histogram::HistogramProcess< View >::multiThreadProcessImages(), tuttle::plugin::colorCubeViewer::ColorCubeViewerProcess< View >::multiThreadProcessImages(), tuttle::plugin::colorSpaceKeyer::ColorSpaceKeyerProcess< View >::multiThreadProcessImages(), and tuttle::plugin::ImageProcessor::translateRoWToOutputClipCoordinates().

template<class Rect , class Point >
Rect tuttle::translateRegion ( const Rect &  windowRoW,
const Point &  move 
) [inline]

Definition at line 128 of file rectOp.hpp.