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

Class for sorting edges according to weight. More...

#include <image_graph.h>

Public Member Functions

bool operator() (const ImageEdge &g, const ImageEdge h)
 Compare to edges according to their weights. More...
 

Detailed Description

Class for sorting edges according to weight.

Author
David Stutz

Member Function Documentation

bool ImageEdgeSorter::operator() ( const ImageEdge g,
const ImageEdge  h 
)
inline

Compare to edges according to their weights.

Parameters
[in]gfirst edge
[in]hsecond edge
Returns
true if h.w greater than h.w

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