Superpixel Benchmark
Superpixel benchmark, tools and algorithms.
|
#include <graph_segmentation.h>
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... | |
The original criterion employed by [2].
|
inline |
Constructor; sets the threshold.
[in] | c | the threshold to use |
|
inlinevirtual |
Decide whether to merge the two segments corresponding to the given nodes or not.
[in] | S_n | node representing the first segment |
[in] | S_m | node representing the second segment |
[in] | e | the edge between the two segments true if merge |
Implements GraphSegmentationMagic.