Exposure compensator which tries to remove exposure related artifacts by adjusting image blocks.
More...
#include <opencv2/stitching/detail/exposure_compensate.hpp>
|
template<class Compensator > |
void | feed (const std::vector< Point > &corners, const std::vector< UMat > &images, const std::vector< std::pair< UMat, uchar > > &masks) |
|
Exposure compensator which tries to remove exposure related artifacts by adjusting image blocks.
- Examples:
- samples/cpp/stitching_detailed.cpp.
◆ anonymous enum
Enumerator |
---|
NO | |
GAIN | |
GAIN_BLOCKS | |
CHANNELS | |
CHANNELS_BLOCKS | |
◆ BlocksCompensator()
cv::detail::BlocksCompensator::BlocksCompensator |
( |
int |
bl_width = 32 , |
|
|
int |
bl_height = 32 , |
|
|
int |
nr_feeds = 1 |
|
) |
| |
|
inline |
◆ apply()
◆ createDefault()
◆ feed() [1/2]
void cv::detail::ExposureCompensator::feed |
( |
const std::vector< Point > & |
corners, |
|
|
const std::vector< UMat > & |
images, |
|
|
const std::vector< UMat > & |
masks |
|
) |
| |
|
inherited |
- Parameters
-
corners | Source image top-left corners |
images | Source images |
masks | Image masks to update (second value in pair specifies the value which should be used to detect where image is) |
◆ feed() [2/2]
template<class Compensator >
void cv::detail::BlocksCompensator::feed |
( |
const std::vector< Point > & |
corners, |
|
|
const std::vector< UMat > & |
images, |
|
|
const std::vector< std::pair< UMat, uchar > > & |
masks |
|
) |
| |
|
protectedvirtual |
◆ getBlockSize()
Size cv::detail::BlocksCompensator::getBlockSize |
( |
| ) |
const |
|
inline |
◆ getMatGains()
void cv::detail::BlocksCompensator::getMatGains |
( |
std::vector< Mat > & |
umv | ) |
|
|
virtual |
◆ getNrFeeds()
int cv::detail::BlocksCompensator::getNrFeeds |
( |
| ) |
|
|
inline |
◆ getNrGainsFilteringIterations()
int cv::detail::BlocksCompensator::getNrGainsFilteringIterations |
( |
| ) |
const |
|
inline |
◆ getUpdateGain()
bool cv::detail::ExposureCompensator::getUpdateGain |
( |
| ) |
|
|
inlineinherited |
◆ setBlockSize() [1/2]
void cv::detail::BlocksCompensator::setBlockSize |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
|
inline |
◆ setBlockSize() [2/2]
void cv::detail::BlocksCompensator::setBlockSize |
( |
Size |
size | ) |
|
|
inline |
◆ setMatGains()
void cv::detail::BlocksCompensator::setMatGains |
( |
std::vector< Mat > & |
umv | ) |
|
|
virtual |
◆ setNrFeeds()
void cv::detail::BlocksCompensator::setNrFeeds |
( |
int |
nr_feeds | ) |
|
|
inline |
◆ setNrGainsFilteringIterations()
void cv::detail::BlocksCompensator::setNrGainsFilteringIterations |
( |
int |
nr_iterations | ) |
|
|
inline |
◆ setUpdateGain()
void cv::detail::ExposureCompensator::setUpdateGain |
( |
bool |
b | ) |
|
|
inlineinherited |
◆ updateGain
bool cv::detail::ExposureCompensator::updateGain |
|
protectedinherited |
The documentation for this class was generated from the following file:
- opencv2/stitching/detail/exposure_compensate.hpp