Exposure compensator which tries to remove exposure related artifacts by adjusting image intensities, see [37] and [283] for details.
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. More...
|
| |
| 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 () |
| |
| double | getSimilarityThreshold () const |
| |
| void | prepareSimilarityMask (const std::vector< Point > &corners, const std::vector< UMat > &images) |
| |
| void | setMatGains (std::vector< Mat > &umv) CV_OVERRIDE |
| |
| void | setNrFeeds (int nr_feeds) |
| |
| void | setSimilarityThreshold (double similarity_threshold) |
| |
| 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 [37] and [283] for details.
- Examples:
- samples/cpp/stitching_detailed.cpp.
◆ GainCompensator() [1/2]
| cv::detail::GainCompensator::GainCompensator |
( |
| ) |
|
|
inline |
◆ GainCompensator() [2/2]
| cv::detail::GainCompensator::GainCompensator |
( |
int |
nr_feeds | ) |
|
|
inline |
◆ apply()
| Python: |
|---|
| cv.detail.GainCompensator.apply( | index, corner, image, mask | ) -> | image |
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.
◆ feed()
| 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.
◆ gains()
| std::vector<double> cv::detail::GainCompensator::gains |
( |
| ) |
const |
◆ getMatGains()
| void cv::detail::GainCompensator::getMatGains |
( |
std::vector< Mat > & |
umv | ) |
|
|
virtual |
| Python: |
|---|
| cv.detail.GainCompensator.getMatGains( | [, umv] | ) -> | umv |
◆ getNrFeeds()
| int cv::detail::GainCompensator::getNrFeeds |
( |
| ) |
|
|
inline |
| Python: |
|---|
| cv.detail.GainCompensator.getNrFeeds( | | ) -> | retval |
◆ getSimilarityThreshold()
| double cv::detail::GainCompensator::getSimilarityThreshold |
( |
| ) |
const |
|
inline |
| Python: |
|---|
| cv.detail.GainCompensator.getSimilarityThreshold( | | ) -> | retval |
◆ prepareSimilarityMask()
| void cv::detail::GainCompensator::prepareSimilarityMask |
( |
const std::vector< Point > & |
corners, |
|
|
const std::vector< UMat > & |
images |
|
) |
| |
◆ setMatGains()
| void cv::detail::GainCompensator::setMatGains |
( |
std::vector< Mat > & |
umv | ) |
|
|
virtual |
| Python: |
|---|
| cv.detail.GainCompensator.setMatGains( | umv | ) -> | None |
◆ setNrFeeds()
| void cv::detail::GainCompensator::setNrFeeds |
( |
int |
nr_feeds | ) |
|
|
inline |
| Python: |
|---|
| cv.detail.GainCompensator.setNrFeeds( | nr_feeds | ) -> | None |
◆ setSimilarityThreshold()
| void cv::detail::GainCompensator::setSimilarityThreshold |
( |
double |
similarity_threshold | ) |
|
|
inline |
| Python: |
|---|
| cv.detail.GainCompensator.setSimilarityThreshold( | similarity_threshold | ) -> | None |
◆ singleFeed()
| 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: