Cuda::ItkReference< Type, Dim > Class Template Reference

Reference to existing ITK image. More...

#include <itkreference.hpp>

Inheritance diagram for Cuda::ItkReference< Type, Dim >:

Inheritance graph
[legend]
Collaboration diagram for Cuda::ItkReference< Type, Dim >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ItkReference (typename ImageType::Pointer image)
 Constructor.
 ItkReference (const Size< Dim > &_size, const Spacing< Dim > &_spacing, typename ImageType::Pointer image)
 Constructor.
ImageType::Pointer getITKImagePointer ()
 Access to the ITK image pointer, useful for writing an image.

Public Attributes

Type min_orig_gray_value
 Minimum gray value in original ITK data.
Type max_orig_gray_value
 Maximum gray value in original ITK data.


Detailed Description

template<class Type, unsigned Dim>
class Cuda::ItkReference< Type, Dim >

Reference to existing ITK image.

Constructor & Destructor Documentation

template<class Type, unsigned Dim>
Cuda::ItkReference< Type, Dim >::ItkReference ( typename ImageType::Pointer  image  )  [inline]

Constructor.

Creates an ItkReference by using an existing, already allocated ITK image!

Parameters:
image ITK image to reference

template<class Type, unsigned Dim>
Cuda::ItkReference< Type, Dim >::ItkReference ( const Size< Dim > &  _size,
const Spacing< Dim > &  _spacing,
typename ImageType::Pointer  image 
) [inline]

Constructor.

Creates an ItkReference from an ITK image that has been constructed (Image::New() has been called) but has not been allocated with memory! This constructor allocates memory for the ITK image of the given size internally and also sets the spacing accordingly.

Parameters:
_size size of image
_spacing spacing of image
image ITK image to reference


Member Data Documentation

template<class Type, unsigned Dim>
Type Cuda::ItkReference< Type, Dim >::min_orig_gray_value

Minimum gray value in original ITK data.

Used for convenience to store original grayvalue range to be used during denormalization.

template<class Type, unsigned Dim>
Type Cuda::ItkReference< Type, Dim >::max_orig_gray_value

Maximum gray value in original ITK data.

Used for convenience to store original grayvalue range to be used during denormalization.


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

Generated on Sun Sep 13 00:55:19 2009 for cudatemplates by  doxygen 1.5.6