class cv::detail::BlocksGainCompensator
Overview
Exposure compensator which tries to remove exposure related artifacts by adjusting image block intensities, see [84] for details. Moreā¦
#include <exposure_compensate.hpp> class BlocksGainCompensator: public cv::detail::ExposureCompensator { public: // construction BlocksGainCompensator( int bl_width = 32, int bl_height = 32 ); // methods virtual void apply( int index, Point corner, InputOutputArray image, InputArray mask ); virtual void feed( const std::vector<Point>& corners, const std::vector<UMat>& images, const std::vector<std::pair<UMat, uchar>>& masks ); };
Inherited Members
public: // enums enum { NO, GAIN, GAIN_BLOCKS, }; // methods virtual void apply( int index, Point corner, InputOutputArray image, InputArray mask ) = 0; void feed( const std::vector<Point>& corners, const std::vector<UMat>& images, const std::vector<UMat>& masks ); virtual void feed( const std::vector<Point>& corners, const std::vector<UMat>& images, const std::vector<std::pair<UMat, uchar>>& masks ) = 0; static Ptr<ExposureCompensator> createDefault(int type);
Detailed Documentation
Exposure compensator which tries to remove exposure related artifacts by adjusting image block intensities, see [84] for details.
Methods
virtual void apply( int index, Point corner, InputOutputArray image, InputArray mask )
Compensate exposure in the specified image.
Parameters:
index | Image index |
corner | Image top-left corner |
image | Image to process |
mask | Image mask |
virtual void feed( const std::vector<Point>& corners, const std::vector<UMat>& images, const std::vector<std::pair<UMat, uchar>>& masks )
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.