OpenCV453
公開型 | 公開メンバ関数 | 静的公開メンバ関数 | 限定公開変数類 | 全メンバ一覧
cv::detail::ExposureCompensator クラスabstract

Base class for all exposure compensators. [詳解]

#include <exposure_compensate.hpp>

cv::detail::BlocksCompensator, cv::detail::ChannelsCompensator, cv::detail::GainCompensator, cv::detail::NoExposureCompensatorに継承されています。

公開型

enum  {
  NO , GAIN , GAIN_BLOCKS , CHANNELS ,
  CHANNELS_BLOCKS
}
 

公開メンバ関数

CV_WRAP void feed (const std::vector< Point > &corners, const std::vector< UMat > &images, const std::vector< UMat > &masks)
 
virtual void feed (const std::vector< Point > &corners, const std::vector< UMat > &images, const std::vector< std::pair< UMat, uchar > > &masks)=0
 
virtual CV_WRAP void apply (int index, Point corner, InputOutputArray image, InputArray mask)=0
 Compensate exposure in the specified image. [詳解]
 
virtual CV_WRAP void getMatGains (CV_OUT std::vector< Mat > &)
 
virtual CV_WRAP void setMatGains (std::vector< Mat > &)
 
CV_WRAP void setUpdateGain (bool b)
 
CV_WRAP bool getUpdateGain ()
 

静的公開メンバ関数

static CV_WRAP Ptr< ExposureCompensatorcreateDefault (int type)
 

限定公開変数類

bool updateGain
 

詳解

Base class for all exposure compensators.

関数詳解

◆ apply()

virtual CV_WRAP void cv::detail::ExposureCompensator::apply ( int  index,
Point  corner,
InputOutputArray  image,
InputArray  mask 
)
pure virtual

Compensate exposure in the specified image.

引数
indexImage index
cornerImage top-left corner
imageImage to process
maskImage mask

cv::detail::GainCompensator, cv::detail::ChannelsCompensator, cv::detail::BlocksCompensator, cv::detail::BlocksGainCompensator, cv::detail::NoExposureCompensatorで実装されています。

◆ feed() [1/2]

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

これはオーバーロードされたメンバ関数です。利便性のために用意されています。元の関数との違いは引き数のみです。

cv::detail::NoExposureCompensator, cv::detail::BlocksCompensator, cv::detail::GainCompensator, cv::detail::ChannelsCompensator, cv::detail::BlocksGainCompensator, cv::detail::BlocksChannelsCompensatorで実装されています。

◆ feed() [2/2]

CV_WRAP void cv::detail::ExposureCompensator::feed ( const std::vector< Point > &  corners,
const std::vector< UMat > &  images,
const std::vector< UMat > &  masks 
)
引数
cornersSource image top-left corners
imagesSource images
masksImage masks to update (second value in pair specifies the value which should be used to detect where image is)

このクラス詳解は次のファイルから抽出されました: