Class cv::detail::ChannelsCompensator#
Exposure compensator which tries to remove exposure related artifacts by adjusting image intensities on each channel independently.
Collaboration diagram for cv::detail::ChannelsCompensator:
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 intensities on each channel independently.
- Examples
- samples/cpp/stitching_detailed.cpp.
Constructor & Destructor Documentation#
ChannelsCompensator()#
cv::detail::ChannelsCompensator::ChannelsCompensator(int nr_feeds = 1)
Python:
cv.detail.ChannelsCompensator([, nr_feeds]) -> <detail_ChannelsCompensator object>
Member Function Documentation#
apply()#
void cv::detail::ChannelsCompensator::apply(
int index,
Point corner,
InputOutputArray image,
InputArray mask )
Python:
cv.detail.ChannelsCompensator.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::ChannelsCompensator::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.
gains()#
std::vector< Scalar > cv::detail::ChannelsCompensator::gains()
getMatGains()#
void cv::detail::ChannelsCompensator::getMatGains(std::vector< Mat > & umv)
Python:
cv.detail.ChannelsCompensator.getMatGains([, umv]) -> umv
getNrFeeds()#
int cv::detail::ChannelsCompensator::getNrFeeds()
Python:
cv.detail.ChannelsCompensator.getNrFeeds() -> retval
getSimilarityThreshold()#
double cv::detail::ChannelsCompensator::getSimilarityThreshold()
Python:
cv.detail.ChannelsCompensator.getSimilarityThreshold() -> retval
setMatGains()#
void cv::detail::ChannelsCompensator::setMatGains(std::vector< Mat > & umv)
Python:
cv.detail.ChannelsCompensator.setMatGains(umv)
setNrFeeds()#
void cv::detail::ChannelsCompensator::setNrFeeds(int nr_feeds)
Python:
cv.detail.ChannelsCompensator.setNrFeeds(nr_feeds)
setSimilarityThreshold()#
void cv::detail::ChannelsCompensator::setSimilarityThreshold(double similarity_threshold)
Python:
cv.detail.ChannelsCompensator.setSimilarityThreshold(similarity_threshold)
Member Data Documentation#
gains_#
std::vector< Scalar > cv::detail::ChannelsCompensator::gains_
nr_feeds_#
int cv::detail::ChannelsCompensator::nr_feeds_
similarity_threshold_#
double cv::detail::ChannelsCompensator::similarity_threshold_
Source file#
The documentation for this class was generated from the following file:
opencv2/stitching/detail/exposure_compensate.hpp