Loading...
Searching...
No Matches
cv::saliency::Saliency Class Referenceabstract
#include <opencv2/saliency/saliencyBaseClasses.hpp>
Inheritance diagram for cv::saliency::Saliency:

Public Member Functions | |
virtual | ~Saliency () |
Destructor. | |
bool | computeSaliency (InputArray image, OutputArray saliencyMap) |
Compute the saliency. | |
![]() | |
Algorithm () | |
virtual | ~Algorithm () |
virtual void | clear () |
Clears the algorithm state. | |
virtual bool | empty () const |
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read. | |
virtual String | getDefaultName () const |
virtual void | read (const FileNode &fn) |
Reads algorithm parameters from a file storage. | |
virtual void | save (const String &filename) const |
void | write (const Ptr< FileStorage > &fs, const String &name=String()) const |
virtual void | write (FileStorage &fs) const |
Stores algorithm parameters in a file storage. | |
void | write (FileStorage &fs, const String &name) const |
Protected Member Functions | |
virtual bool | computeSaliencyImpl (InputArray image, OutputArray saliencyMap)=0 |
![]() | |
void | writeFormat (FileStorage &fs) const |
Protected Attributes | |
String | className |
Additional Inherited Members | |
![]() | |
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. | |
template<typename _Tp > | |
static Ptr< _Tp > | read (const FileNode &fn) |
Reads algorithm from the file node. | |
Constructor & Destructor Documentation
◆ ~Saliency()
|
virtual |
Destructor.
Member Function Documentation
◆ computeSaliency()
bool cv::saliency::Saliency::computeSaliency | ( | InputArray | image, |
OutputArray | saliencyMap | ||
) |
Compute the saliency.
- Parameters
-
image The image. saliencyMap The computed saliency map.
- Returns
- true if the saliency map is computed, false otherwise
◆ computeSaliencyImpl()
|
protectedpure virtual |
Member Data Documentation
◆ className
|
protected |
The documentation for this class was generated from the following file:
- opencv2/saliency/saliencyBaseClasses.hpp