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

#include <graph_segmentation.h>

Inheritance diagram for GraphSegmentationMagicThreshold:
GraphSegmentationMagic

Public Member Functions

 GraphSegmentationMagicThreshold (float c)
 Constructor; sets the threshold. More...
 
virtual bool operator() (const ImageNode &S_n, const ImageNode &S_m, const ImageEdge &e)
 Decide whether to merge the two segments corresponding to the given nodes or not. More...
 
- Public Member Functions inherited from GraphSegmentationMagic
 GraphSegmentationMagic ()
 Constructor. More...
 

Detailed Description

The original criterion employed by [2].

Constructor & Destructor Documentation

GraphSegmentationMagicThreshold::GraphSegmentationMagicThreshold ( float  c)
inline

Constructor; sets the threshold.

Parameters
[in]cthe threshold to use

Member Function Documentation

virtual bool GraphSegmentationMagicThreshold::operator() ( const ImageNode S_n,
const ImageNode S_m,
const ImageEdge e 
)
inlinevirtual

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

Implements GraphSegmentationMagic.


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