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

Represents a pixel in a video. Each pixel is represented by its color which is needed to compute the weights between pixels. More...

#include <image_graph.h>

Public Member Functions

 ImageNode ()
 Default constructor. More...
 

Public Attributes

unsigned char b
 Blue channel. More...
 
unsigned char g
 Green channel. More...
 
unsigned char r
 Red channel. More...
 
unsigned long int l
 The label of the pixel. More...
 
unsigned long int n
 Size of node after merging with other nodes. More...
 
unsigned long int id
 Id of the node. More...
 
float max_w
 Maximum weight. More...
 

Detailed Description

Represents a pixel in a video. Each pixel is represented by its color which is needed to compute the weights between pixels.

Author
David Stutz

Constructor & Destructor Documentation

ImageNode::ImageNode ( )
inline

Default constructor.

Member Data Documentation

unsigned char ImageNode::b

Blue channel.

unsigned char ImageNode::g

Green channel.

unsigned long int ImageNode::id

Id of the node.

unsigned long int ImageNode::l

The label of the pixel.

float ImageNode::max_w

Maximum weight.

unsigned long int ImageNode::n

Size of node after merging with other nodes.

unsigned char ImageNode::r

Red channel.


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