62
#ifndef SEGMENTATIONMODULE_HPP_
63
#define SEGMENTATIONMODULE_HPP_
71
#include "opencv2/core.hpp"
90
neighborhoodEnergy_spatialConstant(15),
92
contextEnergy_spatialConstant(75){};
102
float
neighborhoodEnergy_spatialConstant;
105
float
contextEnergy_spatialConstant;
129
CV_WRAP
virtual
Size
getSize()=0;
138
CV_WRAP
virtual
void
setup(String segmentationParameterFile=
"",
const
bool
applyDefaultSetupOnFailure=
true)=0;
164
CV_WRAP
virtual
const
String printSetup()=0;
169
CV_WRAP
virtual
void
write( String fs )
const=0;
180
CV_WRAP
virtual
void
run(InputArray inputToSegment,
const
int
channelIndex=0)=0;
185
CV_WRAP
virtual
void
getSegmentationPicture(
OutputArray
transientAreas)=0;
189
CV_WRAP
virtual
void
clearAllBuffers()=0;
This type is very similar to InputArray except that it is used for input/output and output function p...
Definition:
mat.hpp:295
This is a base class for all more or less complex algorithms in OpenCV
Definition:
core.hpp:3091
XML/YAML/JSON file storage class that encapsulates all the information necessary for writing or readi...
Definition:
persistence.hpp:304
Template class for specifying the size of an image or rectangle.
Definition:
core/types.hpp:316
class which provides a transient/moving areas segmentation module
Definition:
transientareassegmentationmodule.hpp:123
virtual void write(cv::FileStorage &fs) const CV_OVERRIDE=0
write xml/yml formated parameters information
virtual SegmentationParameters getParameters()=0
return the current parameters setup
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
virtual void setup(SegmentationParameters newParameters)=0
try to open an XML segmentation parameters file to adjust current segmentation instance setup
"black box" representation of the file storage associated with a file on disk.
Definition:
aruco.hpp:75
Definition:
cvstd_wrapper.hpp:74
parameter structure that stores the transient events detector setup parameters
Definition:
transientareassegmentationmodule.hpp:82
float neighborhoodEnergy_temporalConstant
local neighborhood energy filtering parameters : the aim is to get information about the energy neigh...
Definition:
transientareassegmentationmodule.hpp:101
float localEnergy_spatialConstant
the spatial constant of the first order low pass filter, use it to cut high spatial frequencies (nois...
Definition:
transientareassegmentationmodule.hpp:99
float contextEnergy_temporalConstant
context neighborhood energy filtering parameters : the aim is to get information about the energy on ...
Definition:
transientareassegmentationmodule.hpp:104
float localEnergy_temporalConstant
the time constant of the first order low pass filter, use it to cut high temporal frequencies (noise ...
Definition:
transientareassegmentationmodule.hpp:97