OpenCV 5.0.0
Open Source Computer Vision
読み込み中...
検索中...
見つかりません
🤖 AIによる機械翻訳(非公式) — これは OpenCV 5.0.0 公式リファレンス(英語)を AI (Claude) で自動翻訳したものです。訳に誤りを含む場合があります。正確な情報は 公式英語版(原文) を参照してください。
cv::detail::BlocksChannelsCompensator クラス

各チャンネルで画像ブロックを調整することにより、露出に関連したアーティファクトを除去しようとする露出補正器。 続き...

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

Collaboration diagram for cv::detail::BlocksChannelsCompensator:

公開メンバ関数

 BlocksChannelsCompensator (int bl_width=32, int bl_height=32, int nr_feeds=1)
 
void feed (const std::vector< Point > &corners, const std::vector< UMat > &images, const std::vector< std::pair< UMat, uchar > > &masks) CV_OVERRIDE
 
- Public Member Functions inherited from cv::detail::BlocksCompensator
 BlocksCompensator (int bl_width=32, int bl_height=32, int nr_feeds=1)
 
void apply (int index, Point corner, InputOutputArray image, InputArray mask) CV_OVERRIDE
 指定した画像の露出を補正する。
 
Size getBlockSize () const
 
void getMatGains (std::vector< Mat > &umv) CV_OVERRIDE
 
int getNrFeeds ()
 
int getNrGainsFilteringIterations () const
 
double getSimilarityThreshold () const
 
void setBlockSize (int width, int height)
 
void setBlockSize (Size size)
 
void setMatGains (std::vector< Mat > &umv) CV_OVERRIDE
 
void setNrFeeds (int nr_feeds)
 
void setNrGainsFilteringIterations (int nr_iterations)
 
void setSimilarityThreshold (double similarity_threshold)
 
- Public Member Functions inherited from 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)
 

Additional Inherited Members

- Public Types inherited from cv::detail::ExposureCompensator
enum  {
  NO ,
  GAIN ,
  GAIN_BLOCKS ,
  CHANNELS ,
  CHANNELS_BLOCKS
}
 
- Static Public Member Functions inherited from cv::detail::ExposureCompensator
static Ptr< ExposureCompensatorcreateDefault (int type)
 
- Protected Member Functions inherited from cv::detail::BlocksCompensator
template<class Compensator >
void feedWithStrategy (const std::vector< Point > &corners, const std::vector< UMat > &images, const std::vector< std::pair< UMat, uchar > > &masks)
 
- Protected Attributes inherited from cv::detail::ExposureCompensator
bool updateGain
 

詳細説明

各チャンネルで画像ブロックを調整することにより、露出に関連したアーティファクトを除去しようとする露出補正器。

構築子と解体子の詳解

◆ BlocksChannelsCompensator()

cv::detail::BlocksChannelsCompensator::BlocksChannelsCompensator ( int bl_width = 32,
int bl_height = 32,
int nr_feeds = 1 )
inline
Python:
cv.detail.BlocksChannelsCompensator([, bl_width[, bl_height[, nr_feeds]]]) -> <detail_BlocksChannelsCompensator object>

メンバ関数詳解

◆ feed()

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

これは利便性のために提供されているオーバーロードされたメンバ関数である。上記の関数とは、受け取る引数のみが異なる。

cv::detail::ExposureCompensator を実装している。


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