OpenCV453
公開メンバ関数 | 静的公開メンバ関数 | 全メンバ一覧
cv::bioinspired::TransientAreasSegmentationModule クラスabstract

class which provides a transient/moving areas segmentation module [詳解]

#include <transientareassegmentationmodule.hpp>

cv::Algorithmを継承しています。

公開メンバ関数

virtual CV_WRAP Size getSize ()=0
 return the sze of the manage input and output images
 
virtual CV_WRAP void setup (String segmentationParameterFile="", const bool applyDefaultSetupOnFailure=true)=0
 try to open an XML segmentation parameters file to adjust current segmentation instance 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 [詳解]
 
virtual SegmentationParameters getParameters ()=0
 return the current parameters setup
 
virtual CV_WRAP const String printSetup ()=0
 parameters setup display method [詳解]
 
virtual CV_WRAP void write (String fs) const =0
 write xml/yml formated parameters information [詳解]
 
virtual void write (cv::FileStorage &fs) const CV_OVERRIDE=0
 write xml/yml formated parameters information [詳解]
 
virtual CV_WRAP void run (InputArray inputToSegment, const int channelIndex=0)=0
 main processing method, get result using methods getSegmentationPicture() [詳解]
 
virtual CV_WRAP void getSegmentationPicture (OutputArray transientAreas)=0
 access function return the last segmentation result: a boolean picture which is resampled between 0 and 255 for a display purpose
 
virtual CV_WRAP void clearAllBuffers ()=0
 cleans all the buffers of the instance
 
- 基底クラス cv::Algorithm に属する継承公開メンバ関数
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 void read (const FileNode &fn)
 Reads algorithm parameters from a file storage [詳解]
 
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< TransientAreasSegmentationModulecreate (Size inputSize)
 allocator [詳解]
 
- 基底クラス cv::Algorithm に属する継承静的公開メンバ関数
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 [詳解]
 

その他の継承メンバ

- 基底クラス 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:

関数詳解

◆ create()

static CV_WRAP Ptr< TransientAreasSegmentationModule > cv::bioinspired::TransientAreasSegmentationModule::create ( Size  inputSize)
static

allocator

引数
inputSize: size of the images input to segment (output will be the same size)

◆ printSetup()

virtual CV_WRAP const String cv::bioinspired::TransientAreasSegmentationModule::printSetup ( )
pure virtual

parameters setup display method

戻り値
a string which contains formatted parameters information

◆ run()

virtual CV_WRAP void cv::bioinspired::TransientAreasSegmentationModule::run ( InputArray  inputToSegment,
const int  channelIndex = 0 
)
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

◆ setup() [1/3]

virtual void cv::bioinspired::TransientAreasSegmentationModule::setup ( cv::FileStorage fs,
const bool  applyDefaultSetupOnFailure = true 
)
pure virtual

try to open an XML segmentation parameters file to adjust current segmentation instance setup

  • if the xml file does not exist, then default setup is applied
  • warning, Exceptions are thrown if read XML file is not valid
    引数
    fs: the open Filestorage which contains segmentation parameters
    applyDefaultSetupOnFailure: set to true if an error must be thrown on error

◆ setup() [2/3]

virtual void cv::bioinspired::TransientAreasSegmentationModule::setup ( SegmentationParameters  newParameters)
pure virtual

try to open an XML segmentation parameters file to adjust current segmentation instance setup

  • if the xml file does not exist, then default setup is applied
  • warning, Exceptions are thrown if read XML file is not valid
    引数
    newParameters: a parameters structures updated with the new target configuration

◆ setup() [3/3]

virtual CV_WRAP void cv::bioinspired::TransientAreasSegmentationModule::setup ( String  segmentationParameterFile = "",
const bool  applyDefaultSetupOnFailure = true 
)
pure virtual

try to open an XML segmentation parameters file to adjust current segmentation instance setup

  • if the xml file does not exist, then default setup is applied
  • warning, Exceptions are thrown if read XML file is not valid
    引数
    segmentationParameterFile: the parameters filename
    applyDefaultSetupOnFailure: set to true if an error must be thrown on error

◆ write() [1/2]

virtual void cv::bioinspired::TransientAreasSegmentationModule::write ( cv::FileStorage fs) const
pure virtual

write xml/yml formated parameters information

引数
fs: a cv::Filestorage object ready to be filled

cv::Algorithmを再実装しています。

◆ write() [2/2]

virtual CV_WRAP void cv::bioinspired::TransientAreasSegmentationModule::write ( String  fs) const
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

このクラス詳解は次のファイルから抽出されました: