OpenCV
3.2.0
Open Source Computer Vision
|
class which provides a transient/moving areas segmentation module More...
#include "transientareassegmentationmodule.hpp"
Public Member Functions | |
virtual void | clearAllBuffers ()=0 |
cleans all the buffers of the instance More... | |
virtual SegmentationParameters | getParameters ()=0 |
return the current parameters setup More... | |
virtual void | getSegmentationPicture (OutputArray transientAreas)=0 |
access function More... | |
virtual Size | getSize ()=0 |
return the sze of the manage input and output images More... | |
virtual const String | printSetup ()=0 |
parameters setup display method More... | |
virtual void | run (InputArray inputToSegment, const int channelIndex=0)=0 |
main processing method, get result using methods getSegmentationPicture() More... | |
virtual void | setup (String segmentationParameterFile="", const bool applyDefaultSetupOnFailure=true)=0 |
try to open an XML segmentation parameters file to adjust current segmentation instance setup More... | |
virtual void | setup (cv::FileStorage &fs, const bool applyDefaultSetupOnFailure=true)=0 |
try to open an XML segmentation parameters file to adjust current segmentation instance setup More... | |
virtual void | setup (SegmentationParameters newParameters)=0 |
try to open an XML segmentation parameters file to adjust current segmentation instance setup More... | |
virtual void | write (String fs) const =0 |
write xml/yml formated parameters information More... | |
virtual void | write (cv::FileStorage &fs) const =0 |
write xml/yml formated parameters information 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 | read (const FileNode &fn) |
Reads algorithm parameters from a file storage. More... | |
virtual void | save (const String &filename) const |
Related Functions | |
(Note that these are not member functions.) | |
Ptr< TransientAreasSegmentationModule > | createTransientAreasSegmentationModule (Size inputSize) |
allocator More... | |
Additional Inherited Members | |
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... | |
Protected Member Functions inherited from cv::Algorithm | |
void | writeFormat (FileStorage &fs) const |
class which provides a transient/moving areas segmentation module
perform a locally adapted segmentation by using the retina magno input data Based on Alexandre BENOIT thesis: "Le système visuel humain au secours de la vision par ordinateur"
3 spatio temporal filters are used:
|
pure virtual |
cleans all the buffers of the instance
|
pure virtual |
return the current parameters setup
|
pure virtual |
access function
|
pure virtual |
return the sze of the manage input and output images
|
pure virtual |
parameters setup display method
|
pure virtual |
main processing method, get result using methods getSegmentationPicture()
inputToSegment | : the image to process, it must match the instance buffer size ! |
channelIndex | : the channel to process in case of multichannel images |
|
pure virtual |
try to open an XML segmentation parameters file to adjust current segmentation instance setup
segmentationParameterFile | : the parameters filename |
applyDefaultSetupOnFailure | : set to true if an error must be thrown on error |
|
pure virtual |
try to open an XML segmentation parameters file to adjust current segmentation instance setup
fs | : the open Filestorage which contains segmentation parameters |
applyDefaultSetupOnFailure | : set to true if an error must be thrown on error |
|
pure virtual |
try to open an XML segmentation parameters file to adjust current segmentation instance setup
newParameters | : a parameters structures updated with the new target configuration |
|
pure virtual |
write xml/yml formated parameters information
fs | : the filename of the xml file that will be open and writen with formatted parameters information |
|
pure virtual |
write xml/yml formated parameters information
fs | : a cv::Filestorage object ready to be filled |
Reimplemented from cv::Algorithm.