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

Euclidean RGB distance. More...

#include <graph_segmentation.h>

Inheritance diagram for GraphSegmentationEuclideanRGB:
GraphSegmentationDistance

Public Member Functions

 GraphSegmentationEuclideanRGB ()
 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

Euclidean RGB distance.

Author
David Stutz

Constructor & Destructor Documentation

GraphSegmentationEuclideanRGB::GraphSegmentationEuclideanRGB ( )
inline

Constructor; sets normalization constant.

Member Function Documentation

virtual float GraphSegmentationEuclideanRGB::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: