Superpixel Benchmark
Superpixel benchmark, tools and algorithms.
|
Manhatten (i.e. L1) distance. More...
#include <graph_segmentation.h>
Public Member Functions | |
GraphSegmentationManhattenRGB () | |
Constructor; sets normalization constant. More... | |
virtual float | operator() (const ImageNode &n, const ImageNode &m) |
Compute the distance given 2 nodes. More... | |
Public Member Functions inherited from GraphSegmentationDistance | |
GraphSegmentationDistance () | |
Constructor. More... | |
virtual | ~GraphSegmentationDistance () |
Destructor. More... | |
Manhatten (i.e. L1) distance.
|
inline |
Constructor; sets normalization constant.
|
inlinevirtual |
Compute the distance given 2 nodes.
[in] | n | first node |
[in] | m | second node |
Implements GraphSegmentationDistance.