FourByteImagePixelDataset Class Reference
[Datasets]

Datasets with 2 dimensions and a pixel type of size 4. More...

#include <four_byte_image_pixel_dataset.h>

Inherits ImagePixelDataset.

Inheritance diagram for FourByteImagePixelDataset:

Inheritance graph
[legend]
Collaboration diagram for FourByteImagePixelDataset:

Collaboration graph
[legend]
List of all members.

Public Types

typedef image_type type

Public Member Functions

 FourByteImagePixelDataset (dataset_key_type dataset_key, image_pointer_type image=0)
virtual ~FourByteImagePixelDataset ()
virtual external_data_pointer_type getData () const throw (NullPointerException)
void setDataset (image_pointer_type dataset)
image_pointer_type getDataset ()
const_image_pointer_type getDataset () const
virtual void setIntensity (double window, double level)
virtual double getIntensityWindow () const throw (NullPointerException)
virtual double getIntensityLevel () const throw (NullPointerException)

Protected Types

typedef four_byte_image_type image_type
typedef four_byte_image_pointer_type image_pointer_type
typedef const_four_byte_image_pointer_type const_image_pointer_type
typedef const_four_byte_image_iterator_type const_image_iterator_type
typedef four_byte_pixel_type pixel_type
typedef image_type::RegionType region_type
typedef image_type::SizeType region_size_type
typedef image_type::IndexType region_index_type
typedef itk::IntensityWindowingImageFilter<
image_type, external_image_type
image_intensity_filter_type

Protected Member Functions

 FourByteImagePixelDataset (FourByteImagePixelDataset const &src)
FourByteImagePixelDatasetoperator= (FourByteImagePixelDataset const &)
void setDatasetInternal (image_pointer_type dataset)

Protected Attributes

image_pointer_type dataset_
image_intensity_filter_type::Pointer image_intensity_filter_

Detailed Description

Datasets with 2 dimensions and a pixel type of size 4.

The implementation of the Dataset interface for 2 dimensional datasets with a pixel stride of one byte.

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 41 of file four_byte_image_pixel_dataset.h.


Member Typedef Documentation

typedef const_four_byte_image_iterator_type const_image_iterator_type [protected]
 

The type for a read-only iterator through the image

Definition at line 63 of file four_byte_image_pixel_dataset.h.

typedef const_four_byte_image_pointer_type const_image_pointer_type [protected]
 

The type for a read-only pointer to the image

Definition at line 58 of file four_byte_image_pixel_dataset.h.

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

The type for the intensity mapper in 2 dimensional datasets

Definition at line 168 of file four_byte_image_pixel_dataset.h.

typedef four_byte_image_pointer_type image_pointer_type [protected]
 

The type for a pointer to the image

Definition at line 53 of file four_byte_image_pixel_dataset.h.

typedef four_byte_image_type image_type [protected]
 

The type for the image

Definition at line 48 of file four_byte_image_pixel_dataset.h.

typedef four_byte_pixel_type pixel_type [protected]
 

The type used to store one pixel

Definition at line 68 of file four_byte_image_pixel_dataset.h.

typedef image_type::IndexType region_index_type [protected]
 

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

Definition at line 162 of file four_byte_image_pixel_dataset.h.

typedef image_type::SizeType region_size_type [protected]
 

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

Definition at line 157 of file four_byte_image_pixel_dataset.h.

typedef image_type::RegionType region_type [protected]
 

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

Definition at line 152 of file four_byte_image_pixel_dataset.h.

typedef image_type type
 

The type of the dataset for external scoping

Definition at line 75 of file four_byte_image_pixel_dataset.h.


Constructor & Destructor Documentation

FourByteImagePixelDataset dataset_key_type  dataset_key,
image_pointer_type  image = 0
 

Constructor

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

Definition at line 22 of file four_byte_image_pixel_dataset.cpp.

~FourByteImagePixelDataset  )  [virtual]
 

Destructor

Definition at line 43 of file four_byte_image_pixel_dataset.cpp.

FourByteImagePixelDataset FourByteImagePixelDataset const &  src  )  [protected]
 

Copy constructor

Definition at line 35 of file four_byte_image_pixel_dataset.cpp.


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 49 of file four_byte_image_pixel_dataset.cpp.

References FourByteImagePixelDataset::dataset_.

FourByteImagePixelDataset::const_image_pointer_type getDataset  )  const
 

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

Returns:
A read-only pointer to the image

Definition at line 77 of file four_byte_image_pixel_dataset.cpp.

References FourByteImagePixelDataset::dataset_.

FourByteImagePixelDataset::image_pointer_type getDataset  ) 
 

Returns a pointer to the image dataset internally managed.

Returns:
A pointer to the image

Definition at line 69 of file four_byte_image_pixel_dataset.cpp.

References FourByteImagePixelDataset::dataset_.

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 172 of file four_byte_image_pixel_dataset.cpp.

References FourByteImagePixelDataset::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 160 of file four_byte_image_pixel_dataset.cpp.

References FourByteImagePixelDataset::image_intensity_filter_.

FourByteImagePixelDataset& operator= FourByteImagePixelDataset const &   )  [inline, protected]
 

Assignment operator

Definition at line 180 of file four_byte_image_pixel_dataset.h.

void setDataset image_pointer_type  dataset  ) 
 

Sets the image dataset to manage.

Parameters:
dataset The image dataset to manage

Definition at line 84 of file four_byte_image_pixel_dataset.cpp.

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

Here is the call graph for this function:

void setDatasetInternal image_pointer_type  dataset  )  [protected]
 

Sets the image dataset internally

Parameters:
dataset The image dataset to manage

Definition at line 92 of file four_byte_image_pixel_dataset.cpp.

References FourByteImagePixelDataset::dataset_, Dataset::is_data_set_, and PixelDataset::max_pixel_value_.

Referenced by FourByteImagePixelDataset::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 127 of file four_byte_image_pixel_dataset.cpp.

References FourByteImagePixelDataset::image_intensity_filter_.


Member Data Documentation

image_pointer_type dataset_ [protected]
 

The dataset used to store and access the image data

Definition at line 192 of file four_byte_image_pixel_dataset.h.

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

image_intensity_filter_type::Pointer image_intensity_filter_ [protected]
 

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

Definition at line 197 of file four_byte_image_pixel_dataset.h.

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


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