Class cv::detail::BlocksCompensator#
Exposure compensator which tries to remove exposure related artifacts by adjusting image blocks.
Collaboration diagram for cv::detail::BlocksCompensator:
Public Types#
Public Types inherited from cv::detail::ExposureCompensator
Return |
Name |
Description |
|---|---|---|
Public Member Functions#
Public Member Functions inherited from cv::detail::ExposureCompensator
Return |
Name |
Description |
|---|---|---|
|
|
Compensate exposure in the specified image. |
|
||
|
||
|
||
|
||
|
||
|
Static Public Member Functions#
Static Public Member Functions inherited from cv::detail::ExposureCompensator
Return |
Name |
Description |
|---|---|---|
|
Additional Inherited Members#
Protected Attributes inherited from cv::detail::ExposureCompensator
Return |
Name |
Description |
|---|---|---|
|
Detailed Description#
Exposure compensator which tries to remove exposure related artifacts by adjusting image blocks.
- Examples
- samples/cpp/stitching_detailed.cpp.
Constructor & Destructor Documentation#
BlocksCompensator()#
cv::detail::BlocksCompensator::BlocksCompensator(
int bl_width = 32,
int bl_height = 32,
int nr_feeds = 1 )
Member Function Documentation#
apply()#
void cv::detail::BlocksCompensator::apply(
int index,
Point corner,
InputOutputArray image,
InputArray mask )
Python:
cv.detail.BlocksCompensator.apply(index, corner, image, mask) -> image
Compensate exposure in the specified image.
Parameters
index— Image indexcorner— Image top-left cornerimage— Image to processmask— Image mask
getBlockSize()#
Size cv::detail::BlocksCompensator::getBlockSize()
Python:
cv.detail.BlocksCompensator.getBlockSize() -> retval
getMatGains()#
void cv::detail::BlocksCompensator::getMatGains(std::vector< Mat > & umv)
Python:
cv.detail.BlocksCompensator.getMatGains([, umv]) -> umv
getNrFeeds()#
int cv::detail::BlocksCompensator::getNrFeeds()
Python:
cv.detail.BlocksCompensator.getNrFeeds() -> retval
getNrGainsFilteringIterations()#
int cv::detail::BlocksCompensator::getNrGainsFilteringIterations()
Python:
cv.detail.BlocksCompensator.getNrGainsFilteringIterations() -> retval
getSimilarityThreshold()#
double cv::detail::BlocksCompensator::getSimilarityThreshold()
Python:
cv.detail.BlocksCompensator.getSimilarityThreshold() -> retval
setBlockSize()#
void cv::detail::BlocksCompensator::setBlockSize(
int width,
int height )
Python:
cv.detail.BlocksCompensator.setBlockSize(width, height)
cv.detail.BlocksCompensator.setBlockSize(size)
setBlockSize()#
void cv::detail::BlocksCompensator::setBlockSize(Size size)
Python:
cv.detail.BlocksCompensator.setBlockSize(width, height)
cv.detail.BlocksCompensator.setBlockSize(size)
Here is the call graph for this function:
setMatGains()#
void cv::detail::BlocksCompensator::setMatGains(std::vector< Mat > & umv)
Python:
cv.detail.BlocksCompensator.setMatGains(umv)
setNrFeeds()#
void cv::detail::BlocksCompensator::setNrFeeds(int nr_feeds)
Python:
cv.detail.BlocksCompensator.setNrFeeds(nr_feeds)
setNrGainsFilteringIterations()#
void cv::detail::BlocksCompensator::setNrGainsFilteringIterations(int nr_iterations)
Python:
cv.detail.BlocksCompensator.setNrGainsFilteringIterations(nr_iterations)
setSimilarityThreshold()#
void cv::detail::BlocksCompensator::setSimilarityThreshold(double similarity_threshold)
Python:
cv.detail.BlocksCompensator.setSimilarityThreshold(similarity_threshold)
feedWithStrategy()#
template<class Compensator>
void cv::detail::BlocksCompensator::feedWithStrategy(
const std::vector< Point > & corners,
const std::vector< UMat > & images,
const std::vector< std::pair< UMat, uchar > > & masks )
getGainMap()#
UMat cv::detail::BlocksCompensator::getGainMap(
const ChannelsCompensator & compensator,
int bl_idx,
Size bl_per_img )
getGainMap()#
UMat cv::detail::BlocksCompensator::getGainMap(
const GainCompensator & compensator,
int bl_idx,
Size bl_per_img )
Member Data Documentation#
bl_height_#
int cv::detail::BlocksCompensator::bl_height_
bl_width_#
int cv::detail::BlocksCompensator::bl_width_
gain_maps_#
std::vector< UMat > cv::detail::BlocksCompensator::gain_maps_
nr_feeds_#
int cv::detail::BlocksCompensator::nr_feeds_
nr_gain_filtering_iterations_#
int cv::detail::BlocksCompensator::nr_gain_filtering_iterations_
similarity_threshold_#
double cv::detail::BlocksCompensator::similarity_threshold_
Source file#
The documentation for this class was generated from the following file:
opencv2/stitching/detail/exposure_compensate.hpp