Loading...
Searching...
No Matches
Public Types |
Public Member Functions |
Static Public Member Functions |
Protected Attributes |
List of all members
cv::detail::ExposureCompensator Class Referenceabstract
Base class for all exposure compensators. More...
#include <opencv2/stitching/detail/exposure_compensate.hpp>
Inheritance diagram for cv::detail::ExposureCompensator:
Public Types | |
enum | { NO , GAIN , GAIN_BLOCKS , CHANNELS , CHANNELS_BLOCKS } |
Public Member Functions | |
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) |
Static Public Member Functions | |
static Ptr< ExposureCompensator > | createDefault (int type) |
Protected Attributes | |
bool | updateGain |
Detailed Description
Base class for all exposure compensators.
Member Enumeration Documentation
◆ anonymous enum
Constructor & Destructor Documentation
◆ ExposureCompensator()
|
inline |
◆ ~ExposureCompensator()
|
inlinevirtual |
Member Function Documentation
◆ apply()
|
pure virtual |
Compensate exposure in the specified image.
- Parameters
-
index Image index corner Image top-left corner image Image to process mask Image mask
Implemented in cv::detail::GainCompensator, cv::detail::ChannelsCompensator, cv::detail::BlocksCompensator, cv::detail::BlocksGainCompensator, and cv::detail::NoExposureCompensator.
◆ createDefault()
|
static |
◆ feed() [1/2]
|
pure virtual |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Implemented in cv::detail::NoExposureCompensator, cv::detail::BlocksCompensator, cv::detail::GainCompensator, cv::detail::ChannelsCompensator, cv::detail::BlocksGainCompensator, and cv::detail::BlocksChannelsCompensator.
◆ feed() [2/2]
void cv::detail::ExposureCompensator::feed | ( | const std::vector< Point > & | corners, |
const std::vector< UMat > & | images, | ||
const std::vector< UMat > & | masks | ||
) |
- Parameters
-
corners Source image top-left corners images Source images masks Image masks to update (second value in pair specifies the value which should be used to detect where image is)
◆ getMatGains()
|
inlinevirtual |
◆ getUpdateGain()
|
inline |
◆ setMatGains()
|
inlinevirtual |
◆ setUpdateGain()
|
inline |
Member Data Documentation
◆ updateGain
|
protected |
The documentation for this class was generated from the following file:
- opencv2/stitching/detail/exposure_compensate.hpp