OpenCV 4.10.0
开源计算机视觉
正在加载...
正在搜索...
无匹配项
公共成员函数 | 所有成员列表
cv::detail::GainCompensator 类参考

曝光补偿器,尝试通过调整图像强度来消除与曝光相关的伪影,有关详细信息,请参阅 [41][304]更多...

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

cv::detail::GainCompensator 的协作图

公共成员函数

 GainCompensator ()
 
 GainCompensator (int nr_feeds)
 
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< double > gains () const
 
void getMatGains (std::vector< Mat > &umv) CV_OVERRIDE
 
int getNrFeeds ()
 
double getSimilarityThreshold () const
 
void prepareSimilarityMask (const std::vector< Point > &corners, const std::vector< UMat > &images)
 
void setMatGains (std::vector< Mat > &umv) CV_OVERRIDE
 
void setNrFeeds (int nr_feeds)
 
void setSimilarityThreshold (double similarity_threshold)
 
void singleFeed (const std::vector< Point > &corners, const std::vector< UMat > &images, const std::vector< std::pair< UMat, uchar > > &masks)
 
- 从 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 继承的公共类型
enum  {
  NO ,
  GAIN ,
  GAIN_BLOCKS ,
  CHANNELS ,
  CHANNELS_BLOCKS
}
 
- 从 cv::detail::ExposureCompensator 继承的静态公共成员函数
static Ptr< ExposureCompensatorcreateDefault (int type)
 
- 从 cv::detail::ExposureCompensator 继承的受保护属性
bool updateGain
 

详细描述

曝光补偿器,尝试通过调整图像强度来消除与曝光相关的伪影,有关详细信息,请参阅 [41][304]

示例
samples/cpp/stitching_detailed.cpp.

构造函数和析构函数文档

◆ GainCompensator() [1/2]

cv::detail::GainCompensator::GainCompensator ( )
inline
Python
cv.detail.GainCompensator() -> <detail_GainCompensator object>
cv.detail.GainCompensator(nr_feeds) -> <detail_GainCompensator object>

◆ GainCompensator() [2/2]

cv::detail::GainCompensator::GainCompensator ( int  nr_feeds)
inline
Python
cv.detail.GainCompensator() -> <detail_GainCompensator object>
cv.detail.GainCompensator(nr_feeds) -> <detail_GainCompensator object>

成员函数文档

◆ apply()

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

补偿指定图像中的曝光。

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

实现 cv::detail::ExposureCompensator

◆ feed()

void cv::detail::GainCompensator::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< double > cv::detail::GainCompensator::gains ( ) const

◆ getMatGains()

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

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

◆ getNrFeeds()

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

◆ getSimilarityThreshold()

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

◆ prepareSimilarityMask()

void cv::detail::GainCompensator::prepareSimilarityMask ( const std::vector< Point > &  corners,
const std::vector< UMat > &  images 
)

◆ setMatGains()

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

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

◆ setNrFeeds()

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

◆ setSimilarityThreshold()

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

◆ singleFeed()

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

此类的文档是根据以下文件生成的