OpenCV453
|
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_WRAP bool | computeBinaryMap (InputArray _saliencyMap, OutputArray _binaryMap) |
This function perform a binary map of given saliency map. This is obtained in this way: [詳解] | |
![]() | |
virtual | ~Saliency () |
Destructor | |
CV_WRAP bool | computeSaliency (InputArray image, OutputArray saliencyMap) |
Compute the saliency [詳解] | |
![]() | |
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< StaticSaliencySpectralResidual > | create () |
![]() | |
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 |
![]() | |
void | writeFormat (FileStorage &fs) const |
限定公開変数類 | |
CV_PROP_RW int | resImWidth |
CV_PROP_RW int | resImHeight |
![]() | |
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.
|
protectedvirtual |
cv::saliency::StaticSaliencyを実装しています。
|
virtual |
Reads algorithm parameters from a file storage
cv::Algorithmを再実装しています。
|
virtual |
Stores algorithm parameters in a file storage
cv::Algorithmを再実装しています。