Exposure compensator which tries to remove exposure related artifacts by adjusting image block intensities, see [239] for details.
More...
#include <opencv2/stitching/detail/exposure_compensate.hpp>
|
| BlocksGainCompensator (int bl_width=32, int bl_height=32) |
|
| BlocksGainCompensator (int bl_width, int bl_height, 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 |
|
void | getMatGains (std::vector< Mat > &umv) CV_OVERRIDE |
|
void | setMatGains (std::vector< Mat > &umv) CV_OVERRIDE |
|
| BlocksCompensator (int bl_width=32, int bl_height=32, int nr_feeds=1) |
|
Size | getBlockSize () const |
|
int | getNrFeeds () |
|
int | getNrGainsFilteringIterations () const |
|
void | setBlockSize (int width, int height) |
|
void | setBlockSize (Size size) |
|
void | setNrFeeds (int nr_feeds) |
|
void | setNrGainsFilteringIterations (int nr_iterations) |
|
| 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 block intensities, see [239] for details.
◆ BlocksGainCompensator() [1/2]
cv::detail::BlocksGainCompensator::BlocksGainCompensator |
( |
int |
bl_width = 32 , |
|
|
int |
bl_height = 32 |
|
) |
| |
|
inline |
Python: |
---|
| <detail_BlocksGainCompensator object> | = | cv.detail_BlocksGainCompensator( | [, bl_width[, bl_height]] | ) |
| <detail_BlocksGainCompensator object> | = | cv.detail_BlocksGainCompensator( | bl_width, bl_height, nr_feeds | ) |
◆ BlocksGainCompensator() [2/2]
cv::detail::BlocksGainCompensator::BlocksGainCompensator |
( |
int |
bl_width, |
|
|
int |
bl_height, |
|
|
int |
nr_feeds |
|
) |
| |
|
inline |
Python: |
---|
| <detail_BlocksGainCompensator object> | = | cv.detail_BlocksGainCompensator( | [, bl_width[, bl_height]] | ) |
| <detail_BlocksGainCompensator object> | = | cv.detail_BlocksGainCompensator( | bl_width, bl_height, nr_feeds | ) |
◆ apply()
Python: |
---|
| image | = | cv.detail_BlocksGainCompensator.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 |
Reimplemented from cv::detail::BlocksCompensator.
◆ feed()
void cv::detail::BlocksGainCompensator::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.
Reimplemented from cv::detail::BlocksCompensator.
◆ getMatGains()
void cv::detail::BlocksGainCompensator::getMatGains |
( |
std::vector< Mat > & |
umv | ) |
|
|
inlinevirtual |
Python: |
---|
| umv | = | cv.detail_BlocksGainCompensator.getMatGains( | [, umv] | ) |
◆ setMatGains()
void cv::detail::BlocksGainCompensator::setMatGains |
( |
std::vector< Mat > & |
umv | ) |
|
|
inlinevirtual |
Python: |
---|
| None | = | cv.detail_BlocksGainCompensator.setMatGains( | umv | ) |
The documentation for this class was generated from the following file: