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

各チャンネルの画像強度を独立に調整することで、露出に関連するアーティファクトを除去しようとする露出補正器。 詳細...

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

Collaboration diagram for 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)
 
- 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 Attributes inherited from 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 object>

メンバ関数詳解

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

cv::detail::ExposureCompensator から再実装されている。

◆ setNrFeeds()

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

◆ setSimilarityThreshold()

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

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