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) ->

此類文件由以下檔案生成