cv::detail::ChannelsCompensator Class Reference 图像拼接 » Exposure Compensation


Exposure compensator which tries to remove exposure related artifacts by adjusting image intensities on each channel independently. 更多...

#include <opencv2/stitching/detail/exposure_compensate.hpp>

Inheritance diagram for cv::detail::ChannelsCompensator:
cv::detail::ExposureCompensator

Public Member Functions

ChannelsCompensator (int nr_feeds=1)
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
std::vector< Scalar > gains () const
void getMatGains (std::vector< Mat > &umv) CV_OVERRIDE
int getNrFeeds ()
void setMatGains (std::vector< Mat > &umv) CV_OVERRIDE
void setNrFeeds (int nr_feeds)
- Public Member Functions inherited from cv::detail::ExposureCompensator
ExposureCompensator ()
virtual ~ExposureCompensator ()
void feed (const std::vector< Point > &corners, const std::vector< UMat > &images, const std::vector< UMat > &masks)
bool getUpdateGain ()
void setUpdateGain (bool b)

额外继承成员

- 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)
- Protected Attributes inherited from cv::detail::ExposureCompensator
bool updateGain

详细描述

Exposure compensator which tries to remove exposure related artifacts by adjusting image intensities on each channel independently.

范例:
samples/cpp/stitching_detailed.cpp .

Constructor & Destructor Documentation

ChannelsCompensator()

cv::detail::ChannelsCompensator::ChannelsCompensator ( int nr_feeds = 1 )
inline
Python:
<detail_ChannelsCompensator object> = cv.detail_ChannelsCompensator( [, nr_feeds] )

成员函数文档编制

apply()

void cv::detail::ChannelsCompensator::apply ( int index ,
Point corner ,
InputOutputArray image ,
InputArray mask
)
virtual
Python:
image = cv.detail_ChannelsCompensator.apply( index, corner, image, mask )

Compensate exposure in the specified image.

参数
index Image index
corner Image top-left corner
image Image to process
mask Image mask

实现 cv::detail::ExposureCompensator .

feed()

void cv::detail::ChannelsCompensator::feed ( const std::vector< Point > & corners ,
const std::vector< UMat > & images ,
const std::vector< std::pair< UMat , uchar > > & masks
)
virtual

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

实现 cv::detail::ExposureCompensator .

gains()

std::vector< Scalar > cv::detail::ChannelsCompensator::gains ( ) const
inline

getMatGains()

void cv::detail::ChannelsCompensator::getMatGains ( std::vector< Mat > & umv )
virtual
Python:
umv = cv.detail_ChannelsCompensator.getMatGains( [, umv] )

getNrFeeds()

int cv::detail::ChannelsCompensator::getNrFeeds ( )
inline
Python:
retval = cv.detail_ChannelsCompensator.getNrFeeds( )

setMatGains()

void cv::detail::ChannelsCompensator::setMatGains ( std::vector< Mat > & umv )
virtual
Python:
None = cv.detail_ChannelsCompensator.setMatGains( umv )

setNrFeeds()

void cv::detail::ChannelsCompensator::setNrFeeds ( int nr_feeds )
inline
Python:
None = cv.detail_ChannelsCompensator.setNrFeeds( nr_feeds )

The documentation for this class was generated from the following file: