Class cv::detail::BlocksGainCompensator#
Exposure compensator which tries to remove exposure related artifacts by adjusting image block intensities, see [315] for details.
Collaboration diagram for cv::detail::BlocksGainCompensator:
Public Types#
Public Types inherited from cv::detail::ExposureCompensator
Return |
Name |
Description |
|---|---|---|
Public Member Functions#
Public Member Functions inherited from cv::detail::BlocksCompensator
Return |
Name |
Description |
|---|---|---|
|
||
|
|
Compensate exposure in the specified image. |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
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 Member Functions inherited from cv::detail::BlocksCompensator
Protected Attributes inherited from cv::detail::ExposureCompensator
Return |
Name |
Description |
|---|---|---|
|
Detailed Description#
Exposure compensator which tries to remove exposure related artifacts by adjusting image block intensities, see [315] for details.
Constructor & Destructor Documentation#
BlocksGainCompensator()#
cv::detail::BlocksGainCompensator::BlocksGainCompensator(
int bl_width,
int bl_height,
int nr_feeds )
Python:
cv.detail.BlocksGainCompensator([, bl_width[, bl_height]]) -> <detail_BlocksGainCompensator object>
cv.detail.BlocksGainCompensator(bl_width, bl_height, nr_feeds) -> <detail_BlocksGainCompensator object>
BlocksGainCompensator()#
cv::detail::BlocksGainCompensator::BlocksGainCompensator(
int bl_width = 32,
int bl_height = 32 )
Python:
cv.detail.BlocksGainCompensator([, bl_width[, bl_height]]) -> <detail_BlocksGainCompensator object>
cv.detail.BlocksGainCompensator(bl_width, bl_height, nr_feeds) -> <detail_BlocksGainCompensator object>
Member Function Documentation#
apply()#
void cv::detail::BlocksGainCompensator::apply(
int index,
Point corner,
InputOutputArray image,
InputArray mask )
Python:
cv.detail.BlocksGainCompensator.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
feed()#
void cv::detail::BlocksGainCompensator::feed(
const std::vector< Point > & corners,
const std::vector< UMat > & images,
const std::vector< std::pair< UMat, uchar > > & masks )
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
getMatGains()#
void cv::detail::BlocksGainCompensator::getMatGains(std::vector< Mat > & umv)
Python:
cv.detail.BlocksGainCompensator.getMatGains([, umv]) -> umv
setMatGains()#
void cv::detail::BlocksGainCompensator::setMatGains(std::vector< Mat > & umv)
Python:
cv.detail.BlocksGainCompensator.setMatGains(umv)
Source file#
The documentation for this class was generated from the following file:
opencv2/stitching/detail/exposure_compensate.hpp