|
TuttleOFX
1
|
FloodFill process. More...
#include <FloodFillProcess.hpp>


Public Types | |
| typedef View::value_type | Pixel |
| typedef boost::gil::channel_type< View > ::type | Channel |
| typedef float | Scalar |
Public Member Functions | |
| FloodFillProcess (FloodFillPlugin &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 | |
| FloodFillPlugin & | _plugin |
| Rendering plugin. | |
| FloodFillProcessParams< Scalar > | _params |
| parameters | |
| bool | _isConstantImage |
| Scalar | _lowerThres |
| Scalar | _upperThres |
FloodFill process.
Definition at line 16 of file FloodFillProcess.hpp.
| typedef boost::gil::channel_type<View>::type tuttle::plugin::floodFill::FloodFillProcess< View >::Channel |
Definition at line 20 of file FloodFillProcess.hpp.
| typedef View::value_type tuttle::plugin::floodFill::FloodFillProcess< View >::Pixel |
Reimplemented from tuttle::plugin::ImageGilProcessor< View >.
Definition at line 19 of file FloodFillProcess.hpp.
| typedef float tuttle::plugin::floodFill::FloodFillProcess< View >::Scalar |
Definition at line 21 of file FloodFillProcess.hpp.
| tuttle::plugin::floodFill::FloodFillProcess< View >::FloodFillProcess | ( | FloodFillPlugin & | effect | ) |
Definition at line 22 of file FloodFillProcess.tcc.
References tuttle::plugin::ImageProcessor::setNoMultiThreading().

| void tuttle::plugin::floodFill::FloodFillProcess< 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 67 of file FloodFillProcess.tcc.
References tuttle::plugin::floodFill::eParamMethod4, tuttle::plugin::floodFill::eParamMethod8, tuttle::plugin::floodFill::eParamMethodBruteForce, tuttle::plugin::merge::fill_pixels(), tuttle::plugin::ofxToGil(), tuttle::rectangleReduce(), and tuttle::rectanglesIntersection().

| void tuttle::plugin::floodFill::FloodFillProcess< View >::setup | ( | const OFX::RenderArguments & | args | ) | [virtual] |
Reimplemented from tuttle::plugin::ImageGilFilterProcessor< View >.
Definition at line 30 of file FloodFillProcess.tcc.
References tuttle::host::graph::make(), terry::numeric::pixel_minmax_by_channel_t< CPixel >::max, terry::numeric::pixel_minmax_by_channel_t< CPixel >::min, OFX::RenderArguments::renderScale, and terry::algorithm::transform_pixels_progress().

bool tuttle::plugin::floodFill::FloodFillProcess< View >::_isConstantImage [protected] |
Definition at line 26 of file FloodFillProcess.hpp.
Scalar tuttle::plugin::floodFill::FloodFillProcess< View >::_lowerThres [protected] |
Definition at line 27 of file FloodFillProcess.hpp.
FloodFillProcessParams<Scalar> tuttle::plugin::floodFill::FloodFillProcess< View >::_params [protected] |
parameters
Definition at line 24 of file FloodFillProcess.hpp.
FloodFillPlugin& tuttle::plugin::floodFill::FloodFillProcess< View >::_plugin [protected] |
Rendering plugin.
Definition at line 23 of file FloodFillProcess.hpp.
Scalar tuttle::plugin::floodFill::FloodFillProcess< View >::_upperThres [protected] |
Definition at line 28 of file FloodFillProcess.hpp.