OpenCV453
公開メンバ関数 | 静的公開メンバ関数 | 限定公開メンバ関数 | 限定公開変数類 | 全メンバ一覧
cv::saliency::StaticSaliencySpectralResidual クラス

the Spectral Residual approach from [SR] [詳解]

#include <saliencySpecializedClasses.hpp>

cv::saliency::StaticSaliencyを継承しています。

公開メンバ関数

CV_WRAP bool computeSaliency (InputArray image, OutputArray saliencyMap)
 
CV_WRAP void read (const FileNode &fn) CV_OVERRIDE
 Reads algorithm parameters from a file storage [詳解]
 
void write (FileStorage &fs) const CV_OVERRIDE
 Stores algorithm parameters in a file storage [詳解]
 
CV_WRAP int getImageWidth () const
 
CV_WRAP void setImageWidth (int val)
 
CV_WRAP int getImageHeight () const
 
CV_WRAP void setImageHeight (int val)
 
- 基底クラス cv::saliency::StaticSaliency に属する継承公開メンバ関数
CV_WRAP bool computeBinaryMap (InputArray _saliencyMap, OutputArray _binaryMap)
 This function perform a binary map of given saliency map. This is obtained in this way: [詳解]
 
- 基底クラス cv::saliency::Saliency に属する継承公開メンバ関数
virtual ~Saliency ()
 Destructor
 
CV_WRAP bool computeSaliency (InputArray image, OutputArray saliencyMap)
 Compute the saliency [詳解]
 
- 基底クラス cv::Algorithm に属する継承公開メンバ関数
virtual CV_WRAP void clear ()
 Clears the algorithm state [詳解]
 
CV_WRAP void write (const Ptr< FileStorage > &fs, const String &name=String()) const
 simplified API for language bindings これはオーバーロードされたメンバ関数です。利便性のために用意されています。元の関数との違いは引き数のみです。
 
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
 

静的公開メンバ関数

static CV_WRAP Ptr< StaticSaliencySpectralResidualcreate ()
 
- 基底クラス 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 [詳解]
 

限定公開メンバ関数

bool computeSaliencyImpl (InputArray image, OutputArray saliencyMap) CV_OVERRIDE
 
- 基底クラス cv::Algorithm に属する継承限定公開メンバ関数
void writeFormat (FileStorage &fs) const
 

限定公開変数類

CV_PROP_RW int resImWidth
 
CV_PROP_RW int resImHeight
 
- 基底クラス cv::saliency::Saliency に属する継承限定公開変数類
String className
 

詳解

the Spectral Residual approach from [SR]

Starting from the principle of natural image statistics, this method simulate the behavior of pre-attentive visual search. The algorithm analyze the log spectrum of each image and obtain the spectral residual. Then transform the spectral residual to spatial domain to obtain the saliency map, which suggests the positions of proto-objects.

関数詳解

◆ computeSaliencyImpl()

bool cv::saliency::StaticSaliencySpectralResidual::computeSaliencyImpl ( InputArray  image,
OutputArray  saliencyMap 
)
protectedvirtual

cv::saliency::StaticSaliencyを実装しています。

◆ read()

CV_WRAP void cv::saliency::StaticSaliencySpectralResidual::read ( const FileNode fn)
virtual

Reads algorithm parameters from a file storage

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

◆ write()

void cv::saliency::StaticSaliencySpectralResidual::write ( FileStorage fs) const
virtual

Stores algorithm parameters in a file storage

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


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