ITK  4.4.0
Insight Segmentation and Registration Toolkit
Public Attributes | List of all members
itk::watershed::Boundary< TScalarType, TDimension >::face_pixel_t Struct Reference

#include <itkWatershedBoundary.h>

Detailed Description

template<class TScalarType, unsigned int TDimension>
struct itk::watershed::Boundary< TScalarType, TDimension >::face_pixel_t

Data type stored at each pixel in a face.

Definition at line 73 of file itkWatershedBoundary.h.

Public Attributes

short flow
IdentifierType label

Member Data Documentation

template<class TScalarType , unsigned int TDimension>
short itk::watershed::Boundary< TScalarType, TDimension >::face_pixel_t::flow

Index of the direction of watershed flow through this pixel. A negative value indicates that the flow does not move out of the region. A positive value is the index into the pixel neighborhood of the facing chunk boundary into which flow moves.

Note that the range of values of the index depends on the the connectivity used by the watershed segmentation algorithm. If the WS algorithm uses city-block style connectivity (4-connectivity in 2D, 6-connectivity in 3D, etc) this could actually be a boolean value indicating inward or outward flow since there is only one valid neighbor to reference. For extensibility to other connectivities, this flow value can be used to index a number of different neighbors.

Definition at line 89 of file itkWatershedBoundary.h.

template<class TScalarType , unsigned int TDimension>
IdentifierType itk::watershed::Boundary< TScalarType, TDimension >::face_pixel_t::label

The label associated with this pixel.

Definition at line 92 of file itkWatershedBoundary.h.

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