OpenCV 4.12.0
开源计算机视觉
加载中...
搜索中...
无匹配项
cv::detail::ChannelsCompensator 类参考

曝光补偿器,它试图通过独立调整每个通道上的图像强度来消除与曝光相关的伪影。 更多...

#include <opencv2/stitching/detail/exposure_compensate.hpp>

cv::detail::ChannelsCompensator 的协作图

公共成员函数

 ChannelsCompensator (int nr_feeds=1)
 
void apply (int index, Point corner, InputOutputArray image, InputArray mask) CV_OVERRIDE
 补偿指定图像的曝光。
 
void feed (const std::vector< Point > &corners, const std::vector< UMat > &images, const std::vector< std::pair< UMat, uchar > > &masks) CV_OVERRIDE
 
std::vector< Scalargains () const
 
void getMatGains (std::vector< Mat > &umv) CV_OVERRIDE
 
int getNrFeeds ()
 
double getSimilarityThreshold () const
 
void setMatGains (std::vector< Mat > &umv) CV_OVERRIDE
 
void setNrFeeds (int nr_feeds)
 
void setSimilarityThreshold (double similarity_threshold)
 
- 从 cv::detail::ExposureCompensator 继承的公共成员函数
 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)
 

额外继承的成员

- 从 cv::detail::ExposureCompensator 继承的公共类型
枚举  {
  NO ,
  GAIN ,
  GAIN_BLOCKS ,
  CHANNELS ,
  CHANNELS_BLOCKS
}
 
- 从 cv::detail::ExposureCompensator 继承的静态公共成员函数
static Ptr< ExposureCompensatorcreateDefault (int type)
 
- 从 cv::detail::ExposureCompensator 继承的保护属性
bool updateGain
 

详细描述

曝光补偿器,它试图通过独立调整每个通道上的图像强度来消除与曝光相关的伪影。

示例
samples/cpp/stitching_detailed.cpp.

构造函数 & 析构函数文档

◆ ChannelsCompensator()

cv::detail::ChannelsCompensator::ChannelsCompensator ( int nr_feeds = 1)
inline
Python
cv.detail.ChannelsCompensator([, nr_feeds]) -> <detail_ChannelsCompensator 对象>

成员函数文档

◆ apply()

void cv::detail::ChannelsCompensator::apply ( int index,
Point corner,
InputOutputArray image,
InputArray mask )
virtual
Python
cv.detail.ChannelsCompensator.apply(index, corner, image, mask) -> image

补偿指定图像的曝光。

参数
index图像索引
corner图像左上角
image要处理的图像
mask图像遮罩

实现 cv::detail::ExposureCompensator

◆ feed()

void cv::detail::ChannelsCompensator::feed ( const std::vector< Point > & corners,
const std::vector< UMat > & images,
const std::vector< std::pair< UMat, uchar > > & masks )
virtual

这是一个重载的成员函数,为方便起见而提供。它与上述函数的不同之处仅在于它接受的参数。

实现 cv::detail::ExposureCompensator

◆ gains()

std::vector< Scalar > cv::detail::ChannelsCompensator::gains ( ) const
inline

◆ getMatGains()

void cv::detail::ChannelsCompensator::getMatGains ( std::vector< Mat > & umv)
virtual
Python
cv.detail.ChannelsCompensator.getMatGains([, umv]) -> umv

cv::detail::ExposureCompensator 重新实现。

◆ getNrFeeds()

int cv::detail::ChannelsCompensator::getNrFeeds ( )
inline
Python
cv.detail.ChannelsCompensator.getNrFeeds() -> retval

◆ getSimilarityThreshold()

double cv::detail::ChannelsCompensator::getSimilarityThreshold ( ) const
inline
Python
cv.detail.ChannelsCompensator.getSimilarityThreshold() -> retval

◆ setMatGains()

void cv::detail::ChannelsCompensator::setMatGains ( std::vector< Mat > & umv)
virtual
Python
cv.detail.ChannelsCompensator.setMatGains(umv) ->

cv::detail::ExposureCompensator 重新实现。

◆ setNrFeeds()

void cv::detail::ChannelsCompensator::setNrFeeds ( int nr_feeds)
inline
Python
cv.detail.ChannelsCompensator.setNrFeeds(nr_feeds) ->

◆ setSimilarityThreshold()

void cv::detail::ChannelsCompensator::setSimilarityThreshold ( double similarity_threshold)
inline
Python
cv.detail.ChannelsCompensator.setSimilarityThreshold(similarity_threshold) ->

此类文档由以下文件生成