TuttleOFX  1
tuttle::plugin::sobel::SobelProcess< SView, DView > Class Template Reference

Sobel process. More...

#include <SobelProcess.hpp>

Inheritance diagram for tuttle::plugin::sobel::SobelProcess< SView, DView >:
Collaboration diagram for tuttle::plugin::sobel::SobelProcess< SView, DView >:

Public Types

typedef float Scalar
typedef SView::point_t Point
typedef DView::value_type DPixel

Public Member Functions

 SobelProcess (SobelPlugin &effect)
void setup (const OFX::RenderArguments &args)
void preProcess ()
 called before any MP is done
void multiThreadProcessImages (const OfxRectI &procWindowRoW)
 Function called by rendering thread each time a process must be done.
template<class ProcPixelGray >
void computeYPass2 (DView &dst, const Point &proc_tl, boost::mpl::true_)
template<class ProcPixelGray >
void computeYPass2 (DView &dst, const Point &proc_tl, boost::mpl::false_)
void computeGradientDirection (DView &dst, boost::mpl::true_)
void computeGradientDirection (DView &dst, boost::mpl::false_)

Protected Attributes

SobelPlugin_plugin
 Rendering plugin.
SobelProcessParams< Scalar_params
 user parameters
DPixel _pixelZero

Detailed Description

template<class SView, class DView>
class tuttle::plugin::sobel::SobelProcess< SView, DView >

Sobel process.

Definition at line 16 of file SobelProcess.hpp.


Member Typedef Documentation

template<class SView , class DView >
typedef DView::value_type tuttle::plugin::sobel::SobelProcess< SView, DView >::DPixel

Definition at line 21 of file SobelProcess.hpp.

template<class SView , class DView >
typedef SView::point_t tuttle::plugin::sobel::SobelProcess< SView, DView >::Point

Definition at line 20 of file SobelProcess.hpp.

template<class SView , class DView >
typedef float tuttle::plugin::sobel::SobelProcess< SView, DView >::Scalar

Definition at line 19 of file SobelProcess.hpp.


Constructor & Destructor Documentation

template<class SView , class DView >
tuttle::plugin::sobel::SobelProcess< SView, DView >::SobelProcess ( SobelPlugin effect)

Member Function Documentation

template<class SView , class DView >
void tuttle::plugin::sobel::SobelProcess< SView, DView >::computeGradientDirection ( DView &  dst,
boost::mpl::false_   
) [inline]

Definition at line 63 of file SobelProcess.hpp.

template<class SView , class DView >
template<class ProcPixelGray >
void tuttle::plugin::sobel::SobelProcess< SView, DView >::computeYPass2 ( DView &  dst,
const Point proc_tl,
boost::mpl::true_   
) [inline]
template<class SView , class DView >
template<class ProcPixelGray >
void tuttle::plugin::sobel::SobelProcess< SView, DView >::computeYPass2 ( DView &  dst,
const Point proc_tl,
boost::mpl::false_   
) [inline]

Definition at line 57 of file SobelProcess.hpp.

template<class SView , class DView >
void tuttle::plugin::sobel::SobelProcess< SView, DView >::preProcess ( ) [virtual]

called before any MP is done

Reimplemented from tuttle::plugin::ImageProcessor.

Definition at line 46 of file SobelProcess.tcc.

References tuttle::plugin::ImageProcessor::_renderWindowSize, tuttle::plugin::OfxProgress::progressBegin(), and OfxPointI::x.

Here is the call graph for this function:


Field Documentation

template<class SView , class DView >
SobelPlugin& tuttle::plugin::sobel::SobelProcess< SView, DView >::_plugin [protected]

Rendering plugin.

Definition at line 24 of file SobelProcess.hpp.

Referenced by tuttle::plugin::sobel::SobelProcess< SView, DView >::setup().


The documentation for this class was generated from the following files: