TuttleOFX
1
|
Thinning process. More...
#include <ThinningProcess.hpp>
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 |
Thinning process.
Definition at line 16 of file ThinningProcess.hpp.
typedef boost::gil::channel_type<View>::type tuttle::plugin::thinning::ThinningProcess< View >::Channel |
Definition at line 20 of file ThinningProcess.hpp.
typedef View::value_type tuttle::plugin::thinning::ThinningProcess< View >::Pixel |
Reimplemented from tuttle::plugin::ImageGilProcessor< View >.
Definition at line 19 of file ThinningProcess.hpp.
typedef float tuttle::plugin::thinning::ThinningProcess< View >::Scalar |
Definition at line 21 of file ThinningProcess.hpp.
tuttle::plugin::thinning::ThinningProcess< View >::ThinningProcess | ( | ThinningPlugin & | effect | ) |
Definition at line 17 of file ThinningProcess.tcc.
void tuttle::plugin::thinning::ThinningProcess< View >::multiThreadProcessImages | ( | const OfxRectI & | procWindowRoW | ) | [virtual] |
Function called by rendering thread each time a process must be done.
[in] | procWindowRoW | Processing window |
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.
void tuttle::plugin::thinning::ThinningProcess< View >::setup | ( | const OFX::RenderArguments & | args | ) | [virtual] |
Reimplemented from tuttle::plugin::ImageGilFilterProcessor< View >.
Definition at line 24 of file ThinningProcess.tcc.
References OFX::RenderArguments::renderScale.
ThinningProcessParams<Scalar> tuttle::plugin::thinning::ThinningProcess< View >::_params [protected] |
parameters
Definition at line 24 of file ThinningProcess.hpp.
ThinningPlugin& tuttle::plugin::thinning::ThinningProcess< View >::_plugin [protected] |
Rendering plugin.
Definition at line 23 of file ThinningProcess.hpp.