OpenCV453
公開メンバ関数 | 限定公開メンバ関数 | 全メンバ一覧
cv::detail::BlocksCompensator クラス

Exposure compensator which tries to remove exposure related artifacts by adjusting image blocks. [詳解]

#include <exposure_compensate.hpp>

cv::detail::ExposureCompensatorを継承しています。

cv::detail::BlocksChannelsCompensator, cv::detail::BlocksGainCompensatorに継承されています。

公開メンバ関数

 BlocksCompensator (int bl_width=32, int bl_height=32, int nr_feeds=1)
 
CV_WRAP void apply (int index, Point corner, InputOutputArray image, InputArray mask) CV_OVERRIDE
 Compensate exposure in the specified image. [詳解]
 
CV_WRAP void getMatGains (CV_OUT std::vector< Mat > &umv) CV_OVERRIDE
 
CV_WRAP void setMatGains (std::vector< Mat > &umv) CV_OVERRIDE
 
CV_WRAP void setNrFeeds (int nr_feeds)
 
CV_WRAP int getNrFeeds ()
 
CV_WRAP void setSimilarityThreshold (double similarity_threshold)
 
CV_WRAP double getSimilarityThreshold () const
 
CV_WRAP void setBlockSize (int width, int height)
 
CV_WRAP void setBlockSize (Size size)
 
CV_WRAP Size getBlockSize () const
 
CV_WRAP void setNrGainsFilteringIterations (int nr_iterations)
 
CV_WRAP int getNrGainsFilteringIterations () const
 
- 基底クラス cv::detail::ExposureCompensator に属する継承公開メンバ関数
CV_WRAP void feed (const std::vector< Point > &corners, const std::vector< UMat > &images, const std::vector< UMat > &masks)
 
CV_WRAP void setUpdateGain (bool b)
 
CV_WRAP bool getUpdateGain ()
 

限定公開メンバ関数

template<class Compensator >
void feed (const std::vector< Point > &corners, const std::vector< UMat > &images, const std::vector< std::pair< UMat, uchar > > &masks)
 

その他の継承メンバ

- 基底クラス cv::detail::ExposureCompensator に属する継承公開型
enum  {
  NO , GAIN , GAIN_BLOCKS , CHANNELS ,
  CHANNELS_BLOCKS
}
 
- 基底クラス cv::detail::ExposureCompensator に属する継承静的公開メンバ関数
static CV_WRAP Ptr< ExposureCompensatorcreateDefault (int type)
 
- 基底クラス cv::detail::ExposureCompensator に属する継承限定公開変数類
bool updateGain
 

詳解

Exposure compensator which tries to remove exposure related artifacts by adjusting image blocks.

関数詳解

◆ apply()

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

Compensate exposure in the specified image.

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

cv::detail::ExposureCompensatorを実装しています。

cv::detail::BlocksGainCompensatorで再実装されています。

◆ feed()

template<class Compensator >
void cv::detail::BlocksCompensator::feed ( const std::vector< Point > &  corners,
const std::vector< UMat > &  images,
const std::vector< std::pair< UMat, uchar > > &  masks 
)
protectedvirtual

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

cv::detail::ExposureCompensatorを実装しています。

cv::detail::BlocksGainCompensator, cv::detail::BlocksChannelsCompensatorで再実装されています。

◆ getMatGains()

CV_WRAP void cv::detail::BlocksCompensator::getMatGains ( CV_OUT std::vector< Mat > &  umv)
virtual

cv::detail::ExposureCompensatorを再実装しています。

◆ setMatGains()

CV_WRAP void cv::detail::BlocksCompensator::setMatGains ( std::vector< Mat > &  umv)
virtual

cv::detail::ExposureCompensatorを再実装しています。


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