ITK  5.2.0
Insight Toolkit
Public Attributes | List of all members
itk::watershed::Boundary< TScalar, TDimension >::face_pixel_t Struct Reference

#include <itkWatershedBoundary.h>

Public Attributes

short flow
 
IdentifierType label
 

Detailed Description

template<typename TScalar, unsigned int TDimension>
struct itk::watershed::Boundary< TScalar, TDimension >::face_pixel_t

Data type stored at each pixel in a face.

Definition at line 73 of file itkWatershedBoundary.h.

Member Data Documentation

◆ flow

template<typename TScalar , unsigned int TDimension>
short itk::watershed::Boundary< TScalar, 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 90 of file itkWatershedBoundary.h.

◆ label

template<typename TScalar , unsigned int TDimension>
IdentifierType itk::watershed::Boundary< TScalar, TDimension >::face_pixel_t::label

The label associated with this pixel.

Definition at line 93 of file itkWatershedBoundary.h.


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