#include <itkSparseImage.h>
Inheritance diagram for itk::SparseImage:


Public Types | |
| typedef SparseImage | Self |
| typedef Image< TNode *, VImageDimension > | Superclass |
| typedef SmartPointer< Self > | Pointer |
| typedef SmartPointer< const Self > | ConstPointer |
| typedef TNode | NodeType |
| typedef Superclass::IndexType | IndexType |
| typedef SparseFieldLayer< NodeType > | NodeListType |
| typedef ObjectStore< NodeType > | NodeStoreType |
Public Methods | |
| virtual const char * | GetClassName () const |
| itkStaticConstMacro (ImageDimension, unsigned int, Superclass::ImageDimension) | |
| NodeListType * | GetNodeList () |
| virtual void | Initialize () |
| NodeType * | AddNode (const IndexType &index) |
Static Public Methods | |
| Pointer | New () |
Protected Methods | |
| SparseImage () | |
| ~SparseImage () | |
| void | PrintSelf (std::ostream &os, Indent indent) const |
This class is derived from the Image class. It uses the base class image data for storing pointers to variables of type TNode. The node type must have a member variable m_Index. The node data is stored using the SparseFieldLayer and ObjectStore classes to allow sequential list access to the nodes. This functionality is used in filter classes that process the SparseImage class such as FiniteDifferenceSparseImageFilter.
This class provides the method AddNode which allocates a node variable, associates it with the image pixel index (sets m_Index in the node variable) and returns the pointer to the node variable. It is suggested that the user call the FillBuffer method to initialize the image to null pointers before any calls to AddNode. This would allow the user later to distinguish between valid and non-valid pixels.
Definition at line 51 of file itkSparseImage.h.
|
|||||
|
Reimplemented from itk::Image< TNode *, VImageDimension >. Definition at line 58 of file itkSparseImage.h. |
|
|||||
|
Types derived from the Superclass Reimplemented from itk::Image< TNode *, VImageDimension >. Definition at line 74 of file itkSparseImage.h. |
|
|||||
|
The list types for storing the active pixels. Definition at line 77 of file itkSparseImage.h. |
|
|||||
|
Definition at line 78 of file itkSparseImage.h. |
|
|||||
|
The actual sparse pixel type. Definition at line 71 of file itkSparseImage.h. |
|
|||||
|
Reimplemented from itk::Image< TNode *, VImageDimension >. Definition at line 57 of file itkSparseImage.h. |
|
|||||
|
Standard typedefs. Reimplemented from itk::Image< TNode *, VImageDimension >. Definition at line 55 of file itkSparseImage.h. |
|
|||||
|
Reimplemented from itk::Image< TNode *, VImageDimension >. Definition at line 56 of file itkSparseImage.h. |
|
|||||||||
|
|
|
|||||||||
|
Definition at line 105 of file itkSparseImage.h. References HardConnectedComponentImageFilter::PrintSelf(). |
|
||||||||||
|
This function should be used to allocate memory for a variable at the desired pixel location. Definition at line 82 of file itkSparseImage.h. References HardConnectedComponentImageFilter::IndexType. |
|
|||||||||
|
Run-time type information (and related methods). Reimplemented from itk::Image< TNode *, VImageDimension >. |
|
|||||||||
|
This function returns the allocated node list which can be used to iterate through the valid nodes. Definition at line 94 of file itkSparseImage.h. |
|
|||||||||
|
This function initializes the m_NodeList and m_NodeStore variables, and calls the superclass Initialize method. Reimplemented from itk::Image< TNode *, VImageDimension >. |
|
||||||||||||||||||||
|
Dimension of the image. |
|
|||||||||
|
Method for creation through the object factory. Reimplemented from itk::Image< TNode *, VImageDimension >. |
|
||||||||||||||||
|
Compute an offset from the beginning of the buffer for a pixel at the specified index. Reimplemented from itk::Image< TNode *, VImageDimension >. |
1.2.15 written by Dimitri van Heesch,
© 1997-2000