TuttleOFX  1
tuttle::plugin::thinning::ThinningProcess< View > Class Template Reference

Thinning process. More...

#include <ThinningProcess.hpp>

Inheritance diagram for tuttle::plugin::thinning::ThinningProcess< View >:
Collaboration diagram for tuttle::plugin::thinning::ThinningProcess< View >:

Public Types

typedef View::value_type Pixel
typedef
boost::gil::channel_type< View >
::type 
Channel
typedef float Scalar

Public Member Functions

 ThinningProcess (ThinningPlugin &effect)
void setup (const OFX::RenderArguments &args)
void multiThreadProcessImages (const OfxRectI &procWindowRoW)
 Function called by rendering thread each time a process must be done.

Protected Attributes

ThinningPlugin_plugin
 Rendering plugin.
ThinningProcessParams< Scalar_params
 parameters

Detailed Description

template<class View>
class tuttle::plugin::thinning::ThinningProcess< View >

Thinning process.

Definition at line 16 of file ThinningProcess.hpp.


Member Typedef Documentation

template<class View >
typedef boost::gil::channel_type<View>::type tuttle::plugin::thinning::ThinningProcess< View >::Channel

Definition at line 20 of file ThinningProcess.hpp.

template<class View >
typedef View::value_type tuttle::plugin::thinning::ThinningProcess< View >::Pixel

Reimplemented from tuttle::plugin::ImageGilProcessor< View >.

Definition at line 19 of file ThinningProcess.hpp.

template<class View >
typedef float tuttle::plugin::thinning::ThinningProcess< View >::Scalar

Definition at line 21 of file ThinningProcess.hpp.


Constructor & Destructor Documentation

template<class View >
tuttle::plugin::thinning::ThinningProcess< View >::ThinningProcess ( ThinningPlugin effect)

Definition at line 17 of file ThinningProcess.tcc.


Member Function Documentation

template<class View >
void tuttle::plugin::thinning::ThinningProcess< View >::multiThreadProcessImages ( const OfxRectI procWindowRoW) [virtual]

Function called by rendering thread each time a process must be done.

Parameters:
[in]procWindowRoWProcessing window
Todo:
use an allocator

Implements tuttle::plugin::ImageProcessor.

Definition at line 35 of file ThinningProcess.tcc.

References terry::filter::thinning::lutthin1, terry::filter::thinning::lutthin2, tuttle::plugin::ofxToGil(), tuttle::rectangleGrow(), tuttle::rectangleReduce(), tuttle::rectanglesIntersection(), terry::algorithm::transform_pixels_locator_progress(), boost::gil::view(), and OfxPointI::x.

Here is the call graph for this function:

template<class View >
void tuttle::plugin::thinning::ThinningProcess< View >::setup ( const OFX::RenderArguments args) [virtual]

Field Documentation

parameters

Definition at line 24 of file ThinningProcess.hpp.

template<class View >
ThinningPlugin& tuttle::plugin::thinning::ThinningProcess< View >::_plugin [protected]

Rendering plugin.

Definition at line 23 of file ThinningProcess.hpp.


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