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>
|
| 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 () |
|
double | getSimilarityThreshold () const |
|
void | setMatGains (std::vector< Mat > &umv) CV_OVERRIDE |
|
void | setNrFeeds (int nr_feeds) |
|
void | setSimilarityThreshold (double similarity_threshold) |
|
| 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) |
|
Exposure compensator which tries to remove exposure related artifacts by adjusting image intensities on each channel independently.
- Examples
- samples/cpp/stitching_detailed.cpp.
◆ ChannelsCompensator()
cv::detail::ChannelsCompensator::ChannelsCompensator |
( |
int |
nr_feeds = 1 | ) |
|
|
inline |
◆ apply()
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::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.
◆ gains()
std::vector< Scalar > cv::detail::ChannelsCompensator::gains |
( |
| ) |
const |
|
inline |
◆ getMatGains()
void cv::detail::ChannelsCompensator::getMatGains |
( |
std::vector< Mat > & |
umv | ) |
|
|
virtual |
◆ getNrFeeds()
int cv::detail::ChannelsCompensator::getNrFeeds |
( |
| ) |
|
|
inline |
◆ getSimilarityThreshold()
double cv::detail::ChannelsCompensator::getSimilarityThreshold |
( |
| ) |
const |
|
inline |
◆ setMatGains()
void cv::detail::ChannelsCompensator::setMatGains |
( |
std::vector< Mat > & |
umv | ) |
|
|
virtual |
◆ setNrFeeds()
void cv::detail::ChannelsCompensator::setNrFeeds |
( |
int |
nr_feeds | ) |
|
|
inline |
◆ setSimilarityThreshold()
void cv::detail::ChannelsCompensator::setSimilarityThreshold |
( |
double |
similarity_threshold | ) |
|
|
inline |
The documentation for this class was generated from the following file: