#include <itkreference.hpp>
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. |
Cuda::ItkReference< Type, Dim >::ItkReference | ( | typename ImageType::Pointer | image | ) | [inline] |
Constructor.
Creates an ItkReference by using an existing, already allocated ITK image!
image | ITK image to reference |
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.
_size | size of image | |
_spacing | spacing of image | |
image | ITK image to reference |
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.
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.