Loading...
Searching...
No Matches
cv::detail::BlocksGainCompensator Class Reference
Exposure compensator which tries to remove exposure related artifacts by adjusting image block intensities, see [UES01] for details. More...
#include <opencv2/stitching/detail/exposure_compensate.hpp>
Inheritance diagram for cv::detail::BlocksGainCompensator:
Public Member Functions | |
| BlocksGainCompensator (int bl_width, int bl_height, int nr_feeds) | |
| BlocksGainCompensator (int bl_width=32, int bl_height=32) | |
| void | apply (int index, Point corner, InputOutputArray image, InputArray mask) CV_OVERRIDE |
| Compensate exposure in the specified image. | |
| void | feed (const std::vector< Point > &corners, const std::vector< UMat > &images, const std::vector< std::pair< UMat, uchar > > &masks) CV_OVERRIDE |
| void | getMatGains (std::vector< Mat > &umv) CV_OVERRIDE |
| void | setMatGains (std::vector< Mat > &umv) CV_OVERRIDE |
Public Member Functions inherited from cv::detail::BlocksCompensator | |
| BlocksCompensator (int bl_width=32, int bl_height=32, int nr_feeds=1) | |
| void | apply (int index, Point corner, InputOutputArray image, InputArray mask) CV_OVERRIDE |
| Compensate exposure in the specified image. | |
| Size | getBlockSize () const |
| void | getMatGains (std::vector< Mat > &umv) CV_OVERRIDE |
| int | getNrFeeds () |
| int | getNrGainsFilteringIterations () const |
| double | getSimilarityThreshold () const |
| void | setBlockSize (int width, int height) |
| void | setBlockSize (Size size) |
| void | setMatGains (std::vector< Mat > &umv) CV_OVERRIDE |
| void | setNrFeeds (int nr_feeds) |
| void | setNrGainsFilteringIterations (int nr_iterations) |
| void | setSimilarityThreshold (double similarity_threshold) |
Public Member Functions inherited from cv::detail::ExposureCompensator | |
| ExposureCompensator () | |
| virtual | ~ExposureCompensator () |
| virtual void | apply (int index, Point corner, InputOutputArray image, InputArray mask)=0 |
| Compensate exposure in the specified image. | |
| virtual void | feed (const std::vector< Point > &corners, const std::vector< UMat > &images, const std::vector< std::pair< UMat, uchar > > &masks)=0 |
| void | feed (const std::vector< Point > &corners, const std::vector< UMat > &images, const std::vector< UMat > &masks) |
| virtual void | getMatGains (std::vector< Mat > &) |
| bool | getUpdateGain () |
| virtual void | setMatGains (std::vector< Mat > &) |
| void | setUpdateGain (bool b) |
Additional Inherited Members | |
Public Types inherited from cv::detail::ExposureCompensator | |
| enum | { NO , GAIN , GAIN_BLOCKS , CHANNELS , CHANNELS_BLOCKS } |
Static Public Member Functions inherited from cv::detail::ExposureCompensator | |
| static Ptr< ExposureCompensator > | createDefault (int type) |
| template<class Compensator > | |
| void | feed (const std::vector< Point > &corners, const std::vector< UMat > &images, const std::vector< std::pair< UMat, uchar > > &masks) |
Protected Attributes inherited from cv::detail::ExposureCompensator | |
| bool | updateGain |
Detailed Description
Exposure compensator which tries to remove exposure related artifacts by adjusting image block intensities, see [UES01] for details.
Constructor & Destructor Documentation
◆ BlocksGainCompensator() [1/2]
|
inline |
◆ BlocksGainCompensator() [2/2]
|
inline |
Member Function Documentation
◆ apply()
|
inlinevirtual |
Compensate exposure in the specified image.
- Parameters
-
index Image index corner Image top-left corner image Image to process mask Image mask
Reimplemented from cv::detail::BlocksCompensator.
◆ feed()
|
virtual |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Reimplemented from cv::detail::BlocksCompensator.
◆ getMatGains()
|
inlinevirtual |
Reimplemented from cv::detail::BlocksCompensator.
◆ setMatGains()
|
inlinevirtual |
Reimplemented from cv::detail::BlocksCompensator.
The documentation for this class was generated from the following file:
- opencv2/stitching/detail/exposure_compensate.hpp
Public Member Functions inherited from
1.9.6