Superpixel Benchmark
Superpixel benchmark, tools and algorithms.
Public Member Functions | List of all members
GraphSegmentationMagic Class Referenceabstract

The magic part of the graph segmentation, i.e. s given two nodes decide whether to add an edge between them (i.e. merge the corresponding segments). See the paper by Felzenswalb and Huttenlocher for details. More...

#include <graph_segmentation.h>

Inheritance diagram for GraphSegmentationMagic:
GraphSegmentationMagicThreshold

Public Member Functions

 GraphSegmentationMagic ()
 Constructor. More...
 
virtual bool operator() (const ImageNode &S_n, const ImageNode &S_m, const ImageEdge &e)=0
 Decide whether to merge the two segments corresponding to the given nodes or not. More...
 

Detailed Description

The magic part of the graph segmentation, i.e. s given two nodes decide whether to add an edge between them (i.e. merge the corresponding segments). See the paper by Felzenswalb and Huttenlocher for details.

Author
David Stutz

Constructor & Destructor Documentation

GraphSegmentationMagic::GraphSegmentationMagic ( )
inline

Constructor.

Member Function Documentation

virtual bool GraphSegmentationMagic::operator() ( const ImageNode S_n,
const ImageNode S_m,
const ImageEdge e 
)
pure virtual

Decide whether to merge the two segments corresponding to the given nodes or not.

Parameters
[in]S_nnode representing the first segment
[in]S_mnode representing the second segment
[in]ethe edge between the two segments true if merge

Implemented in GraphSegmentationMagicThreshold.


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