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

Efficient (multi-label) connected components algorithm. More...

#include <connected_components.h>

Public Member Functions

 ConnectedComponents (int soft_maxlabels)
 
void clear ()
 
template<class Tin , class Tlabel , class Comparator , class Boolean >
int connected (const Tin *img, Tlabel *out, int width, int height, Comparator, Boolean K8_connectivity)
 

Detailed Description

Efficient (multi-label) connected components algorithm.

Written and published by Ali Rahimi; see http://xenia.media.mit.edu/~rahimi/connected/.

See also
http://xenia.media.mit.edu/~rahimi/connected/
Author
Ali Rahimi

Constructor & Destructor Documentation

ConnectedComponents::ConnectedComponents ( int  soft_maxlabels)
inline

Member Function Documentation

void ConnectedComponents::clear ( )
inline
template<class Tin , class Tlabel , class Comparator , class Boolean >
int ConnectedComponents::connected ( const Tin *  img,
Tlabel *  out,
int  width,
int  height,
Comparator  SAME,
Boolean  K8_connectivity 
)

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