Exposure compensator which tries to remove exposure related artifacts by adjusting image intensities, see.
More...
#include <opencv2/stitching/detail/exposure_compensate.hpp>
|
| GainCompensator () |
|
| GainCompensator (int nr_feeds) |
|
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< double > | 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) |
|
void | singleFeed (const std::vector< Point > &corners, const std::vector< UMat > &images, const std::vector< std::pair< UMat, uchar > > &masks) |
|
| 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) |
|
Exposure compensator which tries to remove exposure related artifacts by adjusting image intensities, see.
BL07 andWJ10 for details.
- Examples:
- samples/cpp/stitching_detailed.cpp.
cv::detail::GainCompensator::GainCompensator |
( |
| ) |
|
|
inline |
Python: |
---|
| <detail_GainCompensator object> | = | cv.detail_GainCompensator( | | ) |
| <detail_GainCompensator object> | = | cv.detail_GainCompensator( | nr_feeds | ) |
cv::detail::GainCompensator::GainCompensator |
( |
int |
nr_feeds | ) |
|
|
inline |
Python: |
---|
| <detail_GainCompensator object> | = | cv.detail_GainCompensator( | | ) |
| <detail_GainCompensator object> | = | cv.detail_GainCompensator( | nr_feeds | ) |
Python: |
---|
| image | = | cv.detail_GainCompensator.apply( | index, corner, image, mask | ) |
Compensate exposure in the specified image.
- Parameters
-
index | Image index |
corner | Image top-left corner |
image | Image to process |
mask | Image mask |
Implements cv::detail::ExposureCompensator.
void cv::detail::GainCompensator::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.
Implements cv::detail::ExposureCompensator.
std::vector<double> cv::detail::GainCompensator::gains |
( |
| ) |
const |
void cv::detail::GainCompensator::getMatGains |
( |
std::vector< Mat > & |
umv | ) |
|
|
virtual |
Python: |
---|
| umv | = | cv.detail_GainCompensator.getMatGains( | [, umv] | ) |
int cv::detail::GainCompensator::getNrFeeds |
( |
| ) |
|
|
inline |
Python: |
---|
| retval | = | cv.detail_GainCompensator.getNrFeeds( | | ) |
void cv::detail::GainCompensator::setMatGains |
( |
std::vector< Mat > & |
umv | ) |
|
|
virtual |
Python: |
---|
| None | = | cv.detail_GainCompensator.setMatGains( | umv | ) |
void cv::detail::GainCompensator::setNrFeeds |
( |
int |
nr_feeds | ) |
|
|
inline |
Python: |
---|
| None | = | cv.detail_GainCompensator.setNrFeeds( | nr_feeds | ) |
void cv::detail::GainCompensator::singleFeed |
( |
const std::vector< Point > & |
corners, |
|
|
const std::vector< UMat > & |
images, |
|
|
const std::vector< std::pair< UMat, uchar > > & |
masks |
|
) |
| |
The documentation for this class was generated from the following file: