OpenCV453
公開メンバ関数 | 全メンバ一覧
cv::AlignMTB クラスabstract

This algorithm converts images to median threshold bitmaps (1 for pixels brighter than median luminance and 0 otherwise) and than aligns the resulting bitmaps using bit operations. [詳解]

#include <photo.hpp>

cv::AlignExposuresを継承しています。

公開メンバ関数

virtual CV_WRAP void process (InputArrayOfArrays src, std::vector< Mat > &dst, InputArray times, InputArray response) CV_OVERRIDE=0
 Aligns images [詳解]
 
virtual CV_WRAP void process (InputArrayOfArrays src, std::vector< Mat > &dst)=0
 Short version of process, that doesn't take extra arguments. [詳解]
 
virtual CV_WRAP Point calculateShift (InputArray img0, InputArray img1)=0
 Calculates shift between two images, i. e. how to shift the second image to correspond it with the first. [詳解]
 
virtual CV_WRAP void shiftMat (InputArray src, OutputArray dst, const Point shift)=0
 Helper function, that shift Mat filling new regions with zeros. [詳解]
 
virtual CV_WRAP void computeBitmaps (InputArray img, OutputArray tb, OutputArray eb)=0
 Computes median threshold and exclude bitmaps of given image. [詳解]
 
virtual CV_WRAP int getMaxBits () const =0
 
virtual CV_WRAP void setMaxBits (int max_bits)=0
 
virtual CV_WRAP int getExcludeRange () const =0
 
virtual CV_WRAP void setExcludeRange (int exclude_range)=0
 
virtual CV_WRAP bool getCut () const =0
 
virtual CV_WRAP void setCut (bool value)=0
 
- 基底クラス cv::Algorithm に属する継承公開メンバ関数
virtual CV_WRAP void clear ()
 Clears the algorithm state [詳解]
 
virtual void write (FileStorage &fs) const
 Stores algorithm parameters in a file storage [詳解]
 
CV_WRAP void write (const Ptr< FileStorage > &fs, const String &name=String()) const
 simplified API for language bindings これはオーバーロードされたメンバ関数です。利便性のために用意されています。元の関数との違いは引き数のみです。
 
virtual CV_WRAP void read (const FileNode &fn)
 Reads algorithm parameters from a file storage [詳解]
 
virtual CV_WRAP bool empty () const
 Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read [詳解]
 
virtual CV_WRAP void save (const String &filename) const
 
virtual CV_WRAP String getDefaultName () const
 

その他の継承メンバ

- 基底クラス cv::Algorithm に属する継承静的公開メンバ関数
template<typename _Tp >
static Ptr< _Tp > read (const FileNode &fn)
 Reads algorithm from the file node [詳解]
 
template<typename _Tp >
static Ptr< _Tp > load (const String &filename, const String &objname=String())
 Loads algorithm from the file [詳解]
 
template<typename _Tp >
static Ptr< _Tp > loadFromString (const String &strModel, const String &objname=String())
 Loads algorithm from a String [詳解]
 
- 基底クラス cv::Algorithm に属する継承限定公開メンバ関数
void writeFormat (FileStorage &fs) const
 

詳解

This algorithm converts images to median threshold bitmaps (1 for pixels brighter than median luminance and 0 otherwise) and than aligns the resulting bitmaps using bit operations.

It is invariant to exposure, so exposure values and camera response are not necessary.

In this implementation new image regions are filled with zeros.

For more information see [GW03] .

関数詳解

◆ calculateShift()

virtual CV_WRAP Point cv::AlignMTB::calculateShift ( InputArray  img0,
InputArray  img1 
)
pure virtual

Calculates shift between two images, i. e. how to shift the second image to correspond it with the first.

引数
img0first image
img1second image

◆ computeBitmaps()

virtual CV_WRAP void cv::AlignMTB::computeBitmaps ( InputArray  img,
OutputArray  tb,
OutputArray  eb 
)
pure virtual

Computes median threshold and exclude bitmaps of given image.

引数
imginput image
tbmedian threshold bitmap
ebexclude bitmap

◆ process() [1/2]

virtual CV_WRAP void cv::AlignMTB::process ( InputArrayOfArrays  src,
std::vector< Mat > &  dst 
)
pure virtual

Short version of process, that doesn't take extra arguments.

引数
srcvector of input images
dstvector of aligned images

◆ process() [2/2]

virtual CV_WRAP void cv::AlignMTB::process ( InputArrayOfArrays  src,
std::vector< Mat > &  dst,
InputArray  times,
InputArray  response 
)
pure virtual

Aligns images

引数
srcvector of input images
dstvector of aligned images
timesvector of exposure time values for each image
response256x1 matrix with inverse camera response function for each pixel value, it should have the same number of channels as images.

cv::AlignExposuresを実装しています。

◆ shiftMat()

virtual CV_WRAP void cv::AlignMTB::shiftMat ( InputArray  src,
OutputArray  dst,
const Point  shift 
)
pure virtual

Helper function, that shift Mat filling new regions with zeros.

引数
srcinput image
dstresult image
shiftshift value

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