ITK  4.1.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Attributes | Private Attributes
itk::ParallelSparseFieldCityBlockNeighborList< TNeighborhoodType > Class Template Reference

#include <itkParallelSparseFieldLevelSetImageFilter.h>

+ Inheritance diagram for itk::ParallelSparseFieldCityBlockNeighborList< TNeighborhoodType >:
+ Collaboration diagram for itk::ParallelSparseFieldCityBlockNeighborList< TNeighborhoodType >:

List of all members.

Public Types

typedef TNeighborhoodType NeighborhoodType
typedef
NeighborhoodType::OffsetType 
OffsetType
typedef
NeighborhoodType::RadiusType 
RadiusType

Public Member Functions

const unsigned int & GetArrayIndex (unsigned int i) const
const OffsetTypeGetNeighborhoodOffset (unsigned int i) const
const RadiusTypeGetRadius () const
const unsigned int & GetSize () const
unsigned int GetStride (unsigned int i)
 ParallelSparseFieldCityBlockNeighborList ()
void Print (std::ostream &os) const
 ~ParallelSparseFieldCityBlockNeighborList ()

Static Public Attributes

static const unsigned int Dimension = NeighborhoodType::Dimension

Private Attributes

std::vector< unsigned int > m_ArrayIndex
std::vector< OffsetTypem_NeighborhoodOffset
char m_Pad1 [128]
char m_Pad2 [128]
RadiusType m_Radius
unsigned int m_Size
unsigned int m_StrideTable [Dimension]

Detailed Description

template<class TNeighborhoodType>
class itk::ParallelSparseFieldCityBlockNeighborList< TNeighborhoodType >

A convenience class for storing indicies which reference neighbor pixels within a neighborhood.

This class creates and stores indicies for use in finding neighbors within an itk::NeighborhoodIterator object. Both an array of unsigned integer indicies and an array of N dimensional offsets (from the center of the neighborhood) are created and stored. The indicies and offsets correspond to the "city-block" neighbors, that is, 4-neighbors in 2d, 6-neighbors in 3d, etc.
Order of reference is lowest index to highest index in the neighborhood. For example, for 4 connectivity, the indicies refer to the following neighbors:
  * 1 *
  2 * 3
  * 4 *

Definition at line 75 of file itkParallelSparseFieldLevelSetImageFilter.h.


Member Typedef Documentation

template<class TNeighborhoodType>
typedef TNeighborhoodType itk::ParallelSparseFieldCityBlockNeighborList< TNeighborhoodType >::NeighborhoodType

Definition at line 78 of file itkParallelSparseFieldLevelSetImageFilter.h.

template<class TNeighborhoodType>
typedef NeighborhoodType::OffsetType itk::ParallelSparseFieldCityBlockNeighborList< TNeighborhoodType >::OffsetType

Definition at line 79 of file itkParallelSparseFieldLevelSetImageFilter.h.

template<class TNeighborhoodType>
typedef NeighborhoodType::RadiusType itk::ParallelSparseFieldCityBlockNeighborList< TNeighborhoodType >::RadiusType

Definition at line 80 of file itkParallelSparseFieldLevelSetImageFilter.h.


Constructor & Destructor Documentation

template<class TNeighborhoodType>
itk::ParallelSparseFieldCityBlockNeighborList< TNeighborhoodType >::ParallelSparseFieldCityBlockNeighborList ( )
template<class TNeighborhoodType>
itk::ParallelSparseFieldCityBlockNeighborList< TNeighborhoodType >::~ParallelSparseFieldCityBlockNeighborList ( ) [inline]

Definition at line 111 of file itkParallelSparseFieldLevelSetImageFilter.h.


Member Function Documentation

template<class TNeighborhoodType>
const unsigned int& itk::ParallelSparseFieldCityBlockNeighborList< TNeighborhoodType >::GetArrayIndex ( unsigned int  i) const [inline]

Definition at line 89 of file itkParallelSparseFieldLevelSetImageFilter.h.

template<class TNeighborhoodType>
const OffsetType& itk::ParallelSparseFieldCityBlockNeighborList< TNeighborhoodType >::GetNeighborhoodOffset ( unsigned int  i) const [inline]

Definition at line 94 of file itkParallelSparseFieldLevelSetImageFilter.h.

template<class TNeighborhoodType>
const RadiusType& itk::ParallelSparseFieldCityBlockNeighborList< TNeighborhoodType >::GetRadius ( void  ) const [inline]

Definition at line 84 of file itkParallelSparseFieldLevelSetImageFilter.h.

template<class TNeighborhoodType>
const unsigned int& itk::ParallelSparseFieldCityBlockNeighborList< TNeighborhoodType >::GetSize ( void  ) const [inline]

Definition at line 99 of file itkParallelSparseFieldLevelSetImageFilter.h.

template<class TNeighborhoodType>
unsigned int itk::ParallelSparseFieldCityBlockNeighborList< TNeighborhoodType >::GetStride ( unsigned int  i) [inline]

Definition at line 104 of file itkParallelSparseFieldLevelSetImageFilter.h.

template<class TNeighborhoodType>
void itk::ParallelSparseFieldCityBlockNeighborList< TNeighborhoodType >::Print ( std::ostream &  os) const

Member Data Documentation

template<class TNeighborhoodType>
const unsigned int itk::ParallelSparseFieldCityBlockNeighborList< TNeighborhoodType >::Dimension = NeighborhoodType::Dimension [static]

Definition at line 82 of file itkParallelSparseFieldLevelSetImageFilter.h.

template<class TNeighborhoodType>
std::vector< unsigned int > itk::ParallelSparseFieldCityBlockNeighborList< TNeighborhoodType >::m_ArrayIndex [private]
template<class TNeighborhoodType>
std::vector< OffsetType > itk::ParallelSparseFieldCityBlockNeighborList< TNeighborhoodType >::m_NeighborhoodOffset [private]
template<class TNeighborhoodType>
char itk::ParallelSparseFieldCityBlockNeighborList< TNeighborhoodType >::m_Pad1[128] [private]

Definition at line 120 of file itkParallelSparseFieldLevelSetImageFilter.h.

template<class TNeighborhoodType>
char itk::ParallelSparseFieldCityBlockNeighborList< TNeighborhoodType >::m_Pad2[128] [private]

Definition at line 129 of file itkParallelSparseFieldLevelSetImageFilter.h.

template<class TNeighborhoodType>
RadiusType itk::ParallelSparseFieldCityBlockNeighborList< TNeighborhoodType >::m_Radius [private]
template<class TNeighborhoodType>
unsigned int itk::ParallelSparseFieldCityBlockNeighborList< TNeighborhoodType >::m_Size [private]
template<class TNeighborhoodType>
unsigned int itk::ParallelSparseFieldCityBlockNeighborList< TNeighborhoodType >::m_StrideTable[Dimension] [private]

An internal table for keeping track of stride lengths in a neighborhood, i.e. the memory offsets between pixels along each dimensional axis.

Definition at line 128 of file itkParallelSparseFieldLevelSetImageFilter.h.

Referenced by itk::ParallelSparseFieldCityBlockNeighborList< NeighborhoodIterator< OutputImageType > >::GetStride().


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