Exposure compensator which tries to remove exposure related artifacts by adjusting image intensities on each channel independently.
More...
#include <opencv2/stitching/detail/exposure_compensate.hpp>
Exposure compensator which tries to remove exposure related artifacts by adjusting image intensities on each channel independently.
- Examples:
- samples/cpp/stitching_detailed.cpp.
cv::detail::ChannelsCompensator::ChannelsCompensator |
( |
int |
nr_feeds = 1 | ) |
|
|
inline |
Python: |
---|
| <detail_ChannelsCompensator object> | = | cv.detail_ChannelsCompensator( | [, nr_feeds] | ) |
Python: |
---|
| image | = | cv.detail_ChannelsCompensator.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::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.
Implements cv::detail::ExposureCompensator.
std::vector<Scalar> cv::detail::ChannelsCompensator::gains |
( |
| ) |
const |
|
inline |
void cv::detail::ChannelsCompensator::getMatGains |
( |
std::vector< Mat > & |
umv | ) |
|
|
virtual |
Python: |
---|
| umv | = | cv.detail_ChannelsCompensator.getMatGains( | [, umv] | ) |
int cv::detail::ChannelsCompensator::getNrFeeds |
( |
| ) |
|
|
inline |
Python: |
---|
| retval | = | cv.detail_ChannelsCompensator.getNrFeeds( | | ) |
void cv::detail::ChannelsCompensator::setMatGains |
( |
std::vector< Mat > & |
umv | ) |
|
|
virtual |
Python: |
---|
| None | = | cv.detail_ChannelsCompensator.setMatGains( | umv | ) |
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: