TuttleOFX
1
|
Compute the image average. More...
#include <ImageStatisticsProcess.hpp>
Public Types | |
typedef boost::gil::point2 < double > | Point2 |
typedef View::value_type | Pixel |
typedef terry::image_from_view < View >::type | Image |
Public Member Functions | |
ImageStatisticsProcess (ImageStatisticsPlugin &instance) | |
void | setup (const OFX::RenderArguments &args) |
void | multiThreadProcessImages (const OfxRectI &procWindowRoW) |
Private Attributes | |
ImageStatisticsPlugin & | _plugin |
Rendering plugin. | |
Pixel | _outputPixel |
ImageStatisticsProcessParams | _processParams |
Compute the image average.
Definition at line 18 of file ImageStatisticsProcess.hpp.
typedef terry::image_from_view<View>::type tuttle::plugin::imageStatistics::ImageStatisticsProcess< View >::Image |
Reimplemented from tuttle::plugin::ImageGilProcessor< View >.
Definition at line 23 of file ImageStatisticsProcess.hpp.
typedef View::value_type tuttle::plugin::imageStatistics::ImageStatisticsProcess< View >::Pixel |
Reimplemented from tuttle::plugin::ImageGilProcessor< View >.
Definition at line 22 of file ImageStatisticsProcess.hpp.
typedef boost::gil::point2<double> tuttle::plugin::imageStatistics::ImageStatisticsProcess< View >::Point2 |
Definition at line 21 of file ImageStatisticsProcess.hpp.
tuttle::plugin::imageStatistics::ImageStatisticsProcess< View >::ImageStatisticsProcess | ( | ImageStatisticsPlugin & | instance | ) |
Definition at line 349 of file ImageStatisticsProcess.tcc.
References tuttle::plugin::ImageProcessor::setNoMultiThreading().
void tuttle::plugin::imageStatistics::ImageStatisticsProcess< View >::multiThreadProcessImages | ( | const OfxRectI & | procWindowRoW | ) | [virtual] |
[in] | procWindowRoW | Processing window in RoW |
Implements tuttle::plugin::ImageProcessor.
Definition at line 409 of file ImageStatisticsProcess.tcc.
References tuttle::plugin::imageStatistics::eParamChooseOutputSource, OfxRectI::x1, OfxRectI::x2, OfxRectI::y1, and OfxRectI::y2.
void tuttle::plugin::imageStatistics::ImageStatisticsProcess< View >::setup | ( | const OFX::RenderArguments & | args | ) | [virtual] |
Reimplemented from tuttle::plugin::ImageGilFilterProcessor< View >.
Definition at line 357 of file ImageStatisticsProcess.tcc.
References boost::gil::color_convert(), tuttle::plugin::imageStatistics::eParamChooseOutputAverage, tuttle::plugin::imageStatistics::eParamChooseOutputChannelMax, tuttle::plugin::imageStatistics::eParamChooseOutputChannelMin, tuttle::plugin::imageStatistics::eParamChooseOutputLuminosityMax, tuttle::plugin::imageStatistics::eParamChooseOutputLuminosityMin, tuttle::plugin::imageStatistics::eParamChooseOutputSource, tuttle::plugin::imageStatistics::eParamChooseOutputVariance, tuttle::plugin::imageStatistics::setOutputParams(), terry::subimage_view(), and OFX::RenderArguments::time.
Pixel tuttle::plugin::imageStatistics::ImageStatisticsProcess< View >::_outputPixel [private] |
Definition at line 27 of file ImageStatisticsProcess.hpp.
ImageStatisticsPlugin& tuttle::plugin::imageStatistics::ImageStatisticsProcess< View >::_plugin [private] |
Rendering plugin.
Definition at line 26 of file ImageStatisticsProcess.hpp.
ImageStatisticsProcessParams tuttle::plugin::imageStatistics::ImageStatisticsProcess< View >::_processParams [private] |
Definition at line 28 of file ImageStatisticsProcess.hpp.