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

Manhatten (i.e. L1) distance. More...

#include <graph_segmentation.h>

Inheritance diagram for GraphSegmentationManhattenRGB:
GraphSegmentationDistance

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...
 

Detailed Description

Manhatten (i.e. L1) distance.

Author
David Stutz

Constructor & Destructor Documentation

GraphSegmentationManhattenRGB::GraphSegmentationManhattenRGB ( )
inline

Constructor; sets normalization constant.

Member Function Documentation

virtual float GraphSegmentationManhattenRGB::operator() ( const ImageNode n,
const ImageNode m 
)
inlinevirtual

Compute the distance given 2 nodes.

Parameters
[in]nfirst node
[in]msecond node

Implements GraphSegmentationDistance.


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