OpenCV  3.0.0-rc1
Open Source Computer Vision
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
cv::saliency::StaticSaliencySpectralResidual Class Reference

the Spectral Residual approach from [61] More...

#include "saliencySpecializedClasses.hpp"

Inheritance diagram for cv::saliency::StaticSaliencySpectralResidual:
cv::saliency::StaticSaliency cv::saliency::Saliency cv::Algorithm

Public Member Functions

 StaticSaliencySpectralResidual ()
 
virtual ~StaticSaliencySpectralResidual ()
 
int getImageHeight () const
 
int getImageWidth () const
 
void read (const FileNode &fn)
 Reads algorithm parameters from a file storage. More...
 
void setImageHeight (int val)
 
void setImageWidth (int val)
 
void write (FileStorage &fs) const
 Stores algorithm parameters in a file storage. More...
 
- Public Member Functions inherited from cv::saliency::StaticSaliency
bool computeBinaryMap (const Mat &saliencyMap, Mat &binaryMap)
 This function perform a binary map of given saliency map. This is obtained in this way: More...
 
- Public Member Functions inherited from cv::saliency::Saliency
virtual ~Saliency ()
 Destructor. More...
 
bool computeSaliency (const InputArray image, OutputArray saliencyMap)
 Compute the saliency. More...
 
String getClassName () const
 Get the name of the specific saliency type. More...
 
- Public Member Functions inherited from cv::Algorithm
 Algorithm ()
 
virtual ~Algorithm ()
 
virtual void clear ()
 Clears the algorithm state. More...
 
virtual bool empty () const
 Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read. More...
 
virtual String getDefaultName () const
 
virtual void save (const String &filename) const
 

Protected Member Functions

bool computeSaliencyImpl (const InputArray image, OutputArray saliencyMap)
 

Protected Attributes

int resImHeight
 
int resImWidth
 
- Protected Attributes inherited from cv::saliency::Saliency
String className
 

Additional Inherited Members

- Static Public Member Functions inherited from cv::saliency::Saliency
static Ptr< Saliencycreate (const String &saliencyType)
 Create Saliency by saliency type. More...
 
- Static Public Member Functions inherited from cv::Algorithm
template<typename _Tp >
static Ptr< _Tp > load (const String &filename, const String &objname=String())
 Loads algorithm from the file. More...
 
template<typename _Tp >
static Ptr< _Tp > loadFromString (const String &strModel, const String &objname=String())
 Loads algorithm from a String. More...
 
template<typename _Tp >
static Ptr< _Tp > read (const FileNode &fn)
 Reads algorithm from the file node. More...
 

Detailed Description

the Spectral Residual approach from [61]

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.

Constructor & Destructor Documentation

cv::saliency::StaticSaliencySpectralResidual::StaticSaliencySpectralResidual ( )
virtual cv::saliency::StaticSaliencySpectralResidual::~StaticSaliencySpectralResidual ( )
virtual

Member Function Documentation

bool cv::saliency::StaticSaliencySpectralResidual::computeSaliencyImpl ( const InputArray  image,
OutputArray  saliencyMap 
)
protectedvirtual
int cv::saliency::StaticSaliencySpectralResidual::getImageHeight ( ) const
inline
int cv::saliency::StaticSaliencySpectralResidual::getImageWidth ( ) const
inline
void cv::saliency::StaticSaliencySpectralResidual::read ( const FileNode fn)
virtual

Reads algorithm parameters from a file storage.

Reimplemented from cv::Algorithm.

void cv::saliency::StaticSaliencySpectralResidual::setImageHeight ( int  val)
inline
void cv::saliency::StaticSaliencySpectralResidual::setImageWidth ( int  val)
inline
void cv::saliency::StaticSaliencySpectralResidual::write ( FileStorage fs) const
virtual

Stores algorithm parameters in a file storage.

Reimplemented from cv::Algorithm.

Member Data Documentation

int cv::saliency::StaticSaliencySpectralResidual::resImHeight
protected
int cv::saliency::StaticSaliencySpectralResidual::resImWidth
protected

The documentation for this class was generated from the following file: