FourByteVolumePixelDataset Class Reference
[Datasets]

Pixel datasets with 3 dimensions and an internal pixel type of size four. More...

#include <four_byte_volume_pixel_dataset.h>

Inherits VolumePixelDataset.

Inheritance diagram for FourByteVolumePixelDataset:

Inheritance graph
[legend]
Collaboration diagram for FourByteVolumePixelDataset:

Collaboration graph
[legend]
List of all members.

Public Types

typedef volume_type type

Public Member Functions

 FourByteVolumePixelDataset (dataset_key_type dataset_key, volume_pointer_type volume=0)
virtual ~FourByteVolumePixelDataset ()
virtual external_data_pointer_type getData () const throw (NullPointerException)
void setDataset (volume_pointer_type dataset)
const_volume_pointer_type getDataset () const
volume_pointer_type getDataset ()
virtual void setIntensity (double window, double level)
double getIntensityWindow () const throw (NullPointerException)
double getIntensityLevel () const throw (NullPointerException)
external_data_pointer_type getSliceXY (index_type z_index) throw (NullPointerException, IndexOutOfBoundsException)
external_data_pointer_type getSliceXZ (index_type y_index) throw (NullPointerException, IndexOutOfBoundsException)
external_data_pointer_type getSliceYZ (index_type x_index) throw (NullPointerException, IndexOutOfBoundsException)
dataset_pointer_type getImageXY (index_type z_index, dataset_key_type image_key) throw (NullPointerException, IndexOutOfBoundsException)
dataset_pointer_type getImageXZ (index_type y_index, dataset_key_type image_key) throw (NullPointerException, IndexOutOfBoundsException)
dataset_pointer_type getImageYZ (index_type x_index, dataset_key_type image_key) throw (NullPointerException, IndexOutOfBoundsException)

Protected Types

typedef four_byte_volume_type volume_type
typedef four_byte_volume_pointer_type volume_pointer_type
typedef const_four_byte_volume_pointer_type const_volume_pointer_type
typedef const_four_byte_volume_iterator_type const_volume_iterator_type
typedef four_byte_image_type image_type
typedef four_byte_pixel_type pixel_type
typedef volume_type::RegionType region_type
typedef volume_type::SizeType region_size_type
typedef volume_type::IndexType region_index_type
typedef itk::ResampleImageFilter<
volume_type, volume_type,
double > 
resampling_filter_type
typedef itk::ExtractImageFilter<
volume_type, four_byte_image_type
slice_extractor_type
typedef itk::ExtractImageFilter<
volume_type, image_type
image_extractor_type
typedef itk::IntensityWindowingImageFilter<
volume_type, external_volume_type
volume_intensity_filter_type
typedef itk::IntensityWindowingImageFilter<
four_byte_image_type, external_image_type
image_intensity_filter_type

Protected Member Functions

 FourByteVolumePixelDataset (FourByteVolumePixelDataset const &src)
void setDatasetInternal (volume_pointer_type dataset)

Protected Attributes

volume_pointer_type dataset_
resampling_filter_type::Pointer resampling_filter_
slice_extractor_type::Pointer slice_extractor_
image_extractor_type::Pointer image_extractor_
volume_intensity_filter_type::Pointer volume_intensity_filter_
image_intensity_filter_type::Pointer image_intensity_filter_
region_type xy_region_to_extract_
region_type xz_region_to_extract_
region_type yz_region_to_extract_

Detailed Description

Pixel datasets with 3 dimensions and an internal pixel type of size four.

The implementation of the VolumePixelDataset interface for 3 dimensional voxel datasets with an internal pixel storage size of four bytes

Author:
Tobias Gross (tobias.gross@imedgine.org)

Christian Koerner (christian.koerner@imedgine.org)

Alexander Lex (alexander.lex@imedgine.org)

Marc Streit (marc.streit@imedgine.org)

Martin Reininger (martin.reininger@imedgine.org)

Definition at line 51 of file four_byte_volume_pixel_dataset.h.


Member Typedef Documentation

typedef const_four_byte_volume_iterator_type const_volume_iterator_type [protected]
 

The type for a read-only iterator through the volume

Definition at line 73 of file four_byte_volume_pixel_dataset.h.

typedef const_four_byte_volume_pointer_type const_volume_pointer_type [protected]
 

The type for a read-only pointer to the volume

Definition at line 68 of file four_byte_volume_pixel_dataset.h.

typedef itk::ExtractImageFilter<volume_type, image_type> image_extractor_type [protected]
 

The type for the image extractor

Definition at line 254 of file four_byte_volume_pixel_dataset.h.

typedef itk::IntensityWindowingImageFilter<four_byte_image_type, external_image_type> image_intensity_filter_type [protected]
 

The type for the intensity mapper in 2 dimensional datasets

Definition at line 266 of file four_byte_volume_pixel_dataset.h.

typedef four_byte_image_type image_type [protected]
 

The type for an sub-image of the volume

Definition at line 78 of file four_byte_volume_pixel_dataset.h.

typedef four_byte_pixel_type pixel_type [protected]
 

The type used to store one pixel

Definition at line 83 of file four_byte_volume_pixel_dataset.h.

typedef volume_type::IndexType region_index_type [protected]
 

The type for a x,y,z-position within the volume

Definition at line 239 of file four_byte_volume_pixel_dataset.h.

typedef volume_type::SizeType region_size_type [protected]
 

The type for a x,y,z-size of a region within the volume

Definition at line 234 of file four_byte_volume_pixel_dataset.h.

typedef volume_type::RegionType region_type [protected]
 

The type for a region (size and origin) within the volume

Definition at line 229 of file four_byte_volume_pixel_dataset.h.

typedef itk::ResampleImageFilter<volume_type, volume_type, double> resampling_filter_type [protected]
 

The type for the slice extractor

Definition at line 244 of file four_byte_volume_pixel_dataset.h.

typedef itk::ExtractImageFilter<volume_type, four_byte_image_type> slice_extractor_type [protected]
 

The type for the slice extractor

Definition at line 249 of file four_byte_volume_pixel_dataset.h.

typedef volume_type type
 

The type of the dataset for external scoping

Definition at line 90 of file four_byte_volume_pixel_dataset.h.

typedef itk::IntensityWindowingImageFilter<volume_type, external_volume_type> volume_intensity_filter_type [protected]
 

The type for the intensity mapper in 3 dimensional datasets

Definition at line 260 of file four_byte_volume_pixel_dataset.h.

typedef four_byte_volume_pointer_type volume_pointer_type [protected]
 

The type for a pointer to the volume

Definition at line 63 of file four_byte_volume_pixel_dataset.h.

typedef four_byte_volume_type volume_type [protected]
 

The type for the volume

Definition at line 58 of file four_byte_volume_pixel_dataset.h.


Constructor & Destructor Documentation

FourByteVolumePixelDataset dataset_key_type  dataset_key,
volume_pointer_type  volume = 0
 

Constructor

Parameters:
dataset_key The unique key of the dataset
dataset The volume dataset to manage

Definition at line 23 of file four_byte_volume_pixel_dataset.cpp.

References FourByteVolumePixelDataset::resampling_filter_, and VolumePixelDataset::transform_.

~FourByteVolumePixelDataset  )  [virtual]
 

Destructor

Definition at line 57 of file four_byte_volume_pixel_dataset.cpp.

FourByteVolumePixelDataset FourByteVolumePixelDataset const &  src  )  [protected]
 

Copy constructor

Definition at line 43 of file four_byte_volume_pixel_dataset.cpp.

References FourByteVolumePixelDataset::resampling_filter_, and VolumePixelDataset::transform_.


Member Function Documentation

external_data_pointer_type getData  )  const throw (NullPointerException) [virtual]
 

Returns a pointer to the raw data held by the dataset.

Returns:
A pointer to the dataset

Implements PixelDataset.

Definition at line 63 of file four_byte_volume_pixel_dataset.cpp.

References FourByteVolumePixelDataset::dataset_.

FourByteVolumePixelDataset::volume_pointer_type getDataset  ) 
 

Returns a pointer to the dataset internally managed.

Returns:
A pointer to the dataset

Definition at line 177 of file four_byte_volume_pixel_dataset.cpp.

References FourByteVolumePixelDataset::dataset_.

FourByteVolumePixelDataset::const_volume_pointer_type getDataset  )  const
 

Returns a read-only pointer to the volume dataset internally managed.

Returns:
A read-only pointer to the volume dataset

Definition at line 169 of file four_byte_volume_pixel_dataset.cpp.

References FourByteVolumePixelDataset::dataset_.

dataset_pointer_type getImageXY index_type  z_index,
dataset_key_type  image_key
throw (NullPointerException, IndexOutOfBoundsException) [virtual]
 

Return the image extending in x and y dimension at a given z index of the dataset.

Parameters:
z_index The z index of the requested image
image_key The unique key for the newly created image dataset
Returns:
A pointer to the requested image dataset

Implements VolumePixelDataset.

Definition at line 327 of file four_byte_volume_pixel_dataset.cpp.

dataset_pointer_type getImageXZ index_type  y_index,
dataset_key_type  image_key
throw (NullPointerException, IndexOutOfBoundsException) [virtual]
 

Return the image extending in x and z dimension at a given y index of the dataset.

Parameters:
y_index The y index of the requested image
image_key The unique key for the newly created image dataset
Returns:
A pointer to the requested image dataset

Implements VolumePixelDataset.

Definition at line 359 of file four_byte_volume_pixel_dataset.cpp.

dataset_pointer_type getImageYZ index_type  x_index,
dataset_key_type  image_key
throw (NullPointerException, IndexOutOfBoundsException) [virtual]
 

Return the image extending in y and z dimension at a given x index of the dataset.

Parameters:
x_index The x index of the requested image
image_key The unique key for the newly created image dataset
Returns:
A pointer to the requested image dataset

Implements VolumePixelDataset.

Definition at line 391 of file four_byte_volume_pixel_dataset.cpp.

double getIntensityLevel  )  const throw (NullPointerException) [virtual]
 

Return the intensity level of the dataset.

Returns:
The intensity level (pixel value in the center of the window)

Implements PixelDataset.

Definition at line 236 of file four_byte_volume_pixel_dataset.cpp.

References FourByteVolumePixelDataset::image_intensity_filter_.

double getIntensityWindow  )  const throw (NullPointerException) [virtual]
 

Return the intensity window of the dataset.

Returns:
The intensity window (pixel value range)

Implements PixelDataset.

Definition at line 224 of file four_byte_volume_pixel_dataset.cpp.

References FourByteVolumePixelDataset::image_intensity_filter_.

external_data_pointer_type getSliceXY index_type  z_index  )  throw (NullPointerException, IndexOutOfBoundsException) [virtual]
 

Return the slice extending in x and y dimension at a given z index of the dataset.

Parameters:
z_index The z index of the requested slice
Returns:
A pointer to the requested slice

Implements VolumePixelDataset.

Definition at line 248 of file four_byte_volume_pixel_dataset.cpp.

external_data_pointer_type getSliceXZ index_type  y_index  )  throw (NullPointerException, IndexOutOfBoundsException) [virtual]
 

Return the slice extending in x and z dimension at a given y index of the dataset.

Parameters:
y_index The y index of the requested slice
Returns:
A pointer to the requested slice

Implements VolumePixelDataset.

Definition at line 275 of file four_byte_volume_pixel_dataset.cpp.

external_data_pointer_type getSliceYZ index_type  x_index  )  throw (NullPointerException, IndexOutOfBoundsException) [virtual]
 

Return the slice extending in y and z dimension at a given x index of the dataset.

Parameters:
x_index The x index of the requested slice
Returns:
A pointer to the requested slice

Implements VolumePixelDataset.

Definition at line 301 of file four_byte_volume_pixel_dataset.cpp.

void setDataset volume_pointer_type  dataset  ) 
 

Sets the volume dataset to manage.

Parameters:
dataset The volume dataset to manage

Definition at line 82 of file four_byte_volume_pixel_dataset.cpp.

References Dataset::is_dirty_, and FourByteVolumePixelDataset::setDatasetInternal().

Here is the call graph for this function:

void setDatasetInternal volume_pointer_type  dataset  )  [protected]
 

Sets the image dataset internally

Parameters:
dataset The image dataset to manage

Definition at line 90 of file four_byte_volume_pixel_dataset.cpp.

References FourByteVolumePixelDataset::dataset_, Dataset::is_data_set_, PixelDataset::max_pixel_value_, and PixelDataset::min_pixel_value_.

Referenced by FourByteVolumePixelDataset::setDataset().

void setIntensity double  window,
double  level
[virtual]
 

Set the intensity window and level for the dataset.

Parameters:
window The window (pixel value range) to set
level The level (pixel value in the center of the window) to set

Implements PixelDataset.

Definition at line 185 of file four_byte_volume_pixel_dataset.cpp.

References FourByteVolumePixelDataset::image_intensity_filter_, and FourByteVolumePixelDataset::volume_intensity_filter_.


Member Data Documentation

volume_pointer_type dataset_ [protected]
 

The dataset used to store and access the image data

Definition at line 284 of file four_byte_volume_pixel_dataset.h.

Referenced by FourByteVolumePixelDataset::getData(), FourByteVolumePixelDataset::getDataset(), and FourByteVolumePixelDataset::setDatasetInternal().

image_extractor_type::Pointer image_extractor_ [protected]
 

The filter extracting sub-images from the volume

Definition at line 299 of file four_byte_volume_pixel_dataset.h.

image_intensity_filter_type::Pointer image_intensity_filter_ [protected]
 

The filter adapting the intensity of a slice to a given level and window

Definition at line 309 of file four_byte_volume_pixel_dataset.h.

Referenced by FourByteVolumePixelDataset::getIntensityLevel(), FourByteVolumePixelDataset::getIntensityWindow(), and FourByteVolumePixelDataset::setIntensity().

resampling_filter_type::Pointer resampling_filter_ [protected]
 

The dataset used to store and access the image data

Definition at line 289 of file four_byte_volume_pixel_dataset.h.

Referenced by FourByteVolumePixelDataset::FourByteVolumePixelDataset().

slice_extractor_type::Pointer slice_extractor_ [protected]
 

The filter extracting single slices from the volume

Definition at line 294 of file four_byte_volume_pixel_dataset.h.

volume_intensity_filter_type::Pointer volume_intensity_filter_ [protected]
 

The intensity filter for the whole volume

Definition at line 304 of file four_byte_volume_pixel_dataset.h.

Referenced by FourByteVolumePixelDataset::setIntensity().

region_type xy_region_to_extract_ [protected]
 

The region used by the slice extractor for getting x-y slices

Definition at line 314 of file four_byte_volume_pixel_dataset.h.

region_type xz_region_to_extract_ [protected]
 

The region used by the slice extractor for getting x-z slices

Definition at line 319 of file four_byte_volume_pixel_dataset.h.

region_type yz_region_to_extract_ [protected]
 

The region used by the slice extractor for getting y-z slices

Definition at line 324 of file four_byte_volume_pixel_dataset.h.


The documentation for this class was generated from the following files:
Generated on Sun Aug 13 18:20:02 2006 for iMEDgine by  doxygen 1.4.6