Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::DicomImageIO Class Reference
[Input and Output Filters]

Read DicomImage file format. More...

#include <itkDicomImageIO.h>

Inheritance diagram for itk::DicomImageIO:
Inheritance graph
[legend]
Collaboration diagram for itk::DicomImageIO:
Collaboration graph
[legend]

List of all members.

Public Types

typedef std::vector< std::string > ArrayOfExtensionsType
typedef vcl_size_t BufferSizeType
enum  ByteOrder {
  BigEndian,
  LittleEndian,
  OrderNotApplicable
}
typedef SmartPointer< const SelfConstPointer
enum  FileType {
  ASCII,
  Binary,
  TypeNotApplicable
}
typedef long IndexValueType
enum  IOComponentType {
  UNKNOWNCOMPONENTTYPE,
  UCHAR,
  CHAR,
  USHORT,
  SHORT,
  UINT,
  INT,
  ULONG,
  LONG,
  FLOAT,
  DOUBLE
}
enum  IOPixelType {
  UNKNOWNPIXELTYPE,
  SCALAR,
  RGB,
  RGBA,
  OFFSET,
  VECTOR,
  POINT,
  COVARIANTVECTOR,
  SYMMETRICSECONDRANKTENSOR,
  DIFFUSIONTENSOR3D,
  COMPLEX,
  FIXEDARRAY,
  MATRIX
}
typedef SmartPointer< SelfPointer
typedef DicomImageIO Self
typedef std::streamoff SizeType
typedef unsigned long SizeValueType
typedef GDCMImageIO Superclass

Public Member Functions

virtual void AbortGenerateDataOff ()
virtual void AbortGenerateDataOn ()
virtual bool CanReadFile (const char *)
virtual bool CanStreamRead ()
virtual bool CanStreamWrite ()
virtual bool CanWriteFile (const char *)
virtual LightObject::Pointer CreateAnother () const
virtual void DebugOff () const
virtual void DebugOn () const
virtual void Delete ()
virtual ImageIORegion GenerateStreamableReadRegionFromRequestedRegion (const ImageIORegion &requested) const
virtual const bool & GetAbortGenerateData ()
virtual unsigned int GetActualNumberOfSplitsForWriting (unsigned int numberOfRequestedSplits, const ImageIORegion &pasteRegion, const ImageIORegion &largestPossibleRegion)
std::string GetByteOrderAsString (ByteOrder) const
CommandGetCommand (unsigned long tag)
virtual unsigned int GetComponentSize () const
std::string GetComponentTypeAsString (IOComponentType) const
bool GetDebug () const
virtual std::vector< double > GetDefaultDirection (unsigned int i) const
std::string GetFileTypeAsString (FileType) const
SizeType GetImageSizeInBytes () const
SizeType GetImageSizeInComponents () const
SizeType GetImageSizeInPixels () const
virtual IOComponentType GetInternalComponentType () const
const MetaDataDictionaryGetMetaDataDictionary (void) const
MetaDataDictionaryGetMetaDataDictionary (void)
virtual unsigned long GetMTime () const
virtual const char * GetNameOfClass () const
virtual SizeType GetPixelStride () const
std::string GetPixelTypeAsString (IOPixelType) const
virtual int GetReferenceCount () const
virtual ImageIORegion GetSplitRegionForWriting (unsigned int ithPiece, unsigned int numberOfActualSplits, const ImageIORegion &pasteRegion, const ImageIORegion &largestPossibleRegion)
const ArrayOfExtensionsTypeGetSupportedReadExtensions () const
const ArrayOfExtensionsTypeGetSupportedWriteExtensions () const
bool GetValueFromTag (const std::string &tag, std::string &value)
bool HasObserver (const EventObject &event) const
void InvokeEvent (const EventObject &) const
void InvokeEvent (const EventObject &)
virtual void Modified () const
void Print (std::ostream &os, Indent indent=0) const
virtual void Read (void *buffer)
virtual void ReadImageInformation ()
virtual void Register () const
void RemoveAllObservers ()
void RemoveObserver (unsigned long tag)
virtual void SetAbortGenerateData (bool _arg)
void SetDebug (bool debugFlag) const
virtual void SetMaxSizeLoadEntry (long _arg)
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
virtual bool SetPixelTypeInfo (const std::type_info &ptype)
virtual void SetReferenceCount (int)
virtual bool SupportsDimension (unsigned long dim)
virtual void UnRegister () const
virtual void UpdateOutputData ()
void UpdateProgress (float amount)
virtual void Write (const void *buffer)
virtual void WriteImageInformation ()



virtual ByteOrder GetByteOrder () const
virtual IOComponentType GetComponentType () const
virtual const std::type_info & GetComponentTypeInfo () const
virtual unsigned int GetDimensions (unsigned int i) const
virtual std::vector< double > GetDirection (unsigned int i) const
virtual const char * GetFileName () const
virtual FileType GetFileType () const
virtual const ImageIORegionGetIORegion ()
virtual const unsigned int & GetNumberOfComponents ()
virtual unsigned int GetNumberOfDimensions () const
virtual double GetOrigin (unsigned int i) const
virtual IOPixelType GetPixelType () const
virtual double GetSpacing (unsigned int i) const
virtual bool GetUseCompression () const
virtual bool GetUseStreamedReading () const
virtual bool GetUseStreamedWriting () const
virtual void SetByteOrder (const ByteOrder _arg)
void SetByteOrderToBigEndian ()
void SetByteOrderToLittleEndian ()
virtual void SetComponentType (const IOComponentType _arg)
virtual void SetDimensions (unsigned int i, unsigned int dim)
virtual void SetDirection (unsigned int i, vnl_vector< double > &direction)
virtual void SetDirection (unsigned int i, std::vector< double > &direction)
virtual void SetFileName (const char *_arg)
virtual void SetFileType (const FileType _arg)
void SetFileTypeToASCII ()
void SetFileTypeToBinary ()
virtual void SetIORegion (ImageIORegion _arg)
virtual void SetNumberOfComponents (unsigned int _arg)
void SetNumberOfDimensions (unsigned int)
virtual void SetOrigin (unsigned int i, double origin)
virtual void SetPixelType (const IOPixelType _arg)
virtual void SetSpacing (unsigned int i, double spacing)
virtual void SetUseCompression (bool _arg)
virtual void SetUseStreamedReading (bool _arg)
virtual void SetUseStreamedWriting (bool _arg)
virtual void UseCompressionOff ()
virtual void UseCompressionOn ()
virtual void UseStreamedReadingOff ()
virtual void UseStreamedReadingOn ()
virtual void UseStreamedWritingOff ()
virtual void UseStreamedWritingOn ()



virtual const float & GetProgress ()
virtual void SetProgress (float _arg)

Static Public Member Functions

static void BreakOnError ()
static bool GetLabelFromTag (const std::string &tag, std::string &labelId)
static Pointer New ()

Protected Member Functions

void AddSupportedReadExtension (const char *extension)
void AddSupportedWriteExtension (const char *extension)
void ComputeStrides ()
 DicomImageIO ()
virtual void GenerateData ()
virtual unsigned int GetActualNumberOfSplitsForWritingCanStreamWrite (unsigned int numberOfRequestedSplits, const ImageIORegion &pasteRegion) const
SizeType GetComponentStride () const
virtual unsigned int GetPixelSize () const
SizeType GetRowStride () const
SizeType GetSliceStride () const
virtual ImageIORegion GetSplitRegionForWritingCanStreamWrite (unsigned int ithPiece, unsigned int numberOfActualSplits, const ImageIORegion &pasteRegion) const
void InternalReadImageInformation (std::ifstream &file)
bool OpenGDCMFileForReading (std::ifstream &os, const char *filename)
bool OpenGDCMFileForWriting (std::ofstream &os, const char *filename)
bool PrintObservers (std::ostream &os, Indent indent) const
void PrintSelf (std::ostream &os, Indent indent) const
void ReadBufferAsASCII (std::istream &os, void *buffer, IOComponentType ctype, SizeType numberOfBytesToBeRead)
bool ReadBufferAsBinary (std::istream &os, void *buffer, SizeType numberOfBytesToBeRead)
virtual void Reset (const bool freeDynamic=true)
void Resize (const unsigned int numDimensions, const unsigned int *dimensions)
void WriteBufferAsASCII (std::ostream &os, const void *buffer, IOComponentType ctype, SizeType numberOfBytesToWrite)

Protected Attributes

ByteOrder m_ByteOrder
IOComponentType m_ComponentType
std::vector< SizeValueTypem_Dimensions
std::vector< std::vector
< double > > 
m_Direction
std::string m_FileName
FileType m_FileType
std::string m_FrameOfReferenceInstanceUID
bool m_Initialized
ImageIORegion m_IORegion
bool m_KeepOriginalUID
long m_MaxSizeLoadEntry
unsigned int m_NumberOfComponents
unsigned int m_NumberOfDimensions
std::vector< double > m_Origin
IOPixelType m_PixelType
InternalReferenceCountType m_ReferenceCount
SimpleFastMutexLock m_ReferenceCountLock
double m_RescaleIntercept
double m_RescaleSlope
std::string m_SeriesInstanceUID
std::vector< double > m_Spacing
std::vector< SizeTypem_Strides
std::string m_StudyInstanceUID
std::string m_UIDPrefix
bool m_UseCompression
bool m_UseStreamedReading
bool m_UseStreamedWriting



enum  TCompressionType {
  JPEG = 0,
  JPEG2000
}
static bool GetLoadPrivateTagsDefault ()
static bool GetLoadSequencesDefault ()
static void LoadPrivateTagsDefaultOff ()
static void LoadPrivateTagsDefaultOn ()
static void LoadSequencesDefaultOff ()
static void LoadSequencesDefaultOn ()
static void SetLoadPrivateTagsDefault (bool b)
static void SetLoadSequencesDefault (bool b)
void GetBodyPart (char *part)
virtual TCompressionType GetCompressionType () const
virtual const char * GetFrameOfReferenceInstanceUID () const
void GetInstitution (char *ins)
virtual bool GetKeepOriginalUID () const
virtual bool GetLoadPrivateTags () const
virtual bool GetLoadSequences () const
void GetManufacturer (char *manu)
void GetModality (char *modality)
void GetModel (char *model)
void GetNumberOfSeriesInStudy (char *series)
void GetNumberOfStudyRelatedSeries (char *series)
void GetPatientAge (char *age)
void GetPatientDOB (char *dob)
void GetPatientID (char *id)
void GetPatientName (char *name)
void GetPatientSex (char *sex)
virtual double GetRescaleIntercept () const
virtual double GetRescaleSlope () const
void GetScanOptions (char *options)
virtual const char * GetSeriesInstanceUID () const
void GetStudyDate (char *date)
void GetStudyDescription (char *desc)
void GetStudyID (char *id)
virtual const char * GetStudyInstanceUID () const
virtual const char * GetUIDPrefix () const
virtual void KeepOriginalUIDOff ()
virtual void KeepOriginalUIDOn ()
virtual void LoadPrivateTagsOff ()
virtual void LoadPrivateTagsOn ()
virtual void LoadSequencesOff ()
virtual void LoadSequencesOn ()
virtual void SetCompressionType (const TCompressionType _arg)
virtual void SetKeepOriginalUID (bool _arg)
virtual void SetLoadPrivateTags (bool _arg)
virtual void SetLoadSequences (bool _arg)
virtual void SetUIDPrefix (const char *_arg)



static bool GetGlobalWarningDisplay ()
static void GlobalWarningDisplayOff ()
static void GlobalWarningDisplayOn ()
static void SetGlobalWarningDisplay (bool flag)
unsigned long AddObserver (const EventObject &event, Command *) const
unsigned long AddObserver (const EventObject &event, Command *)



virtual void PrintHeader (std::ostream &os, Indent indent) const
virtual void PrintTrailer (std::ostream &os, Indent indent) const
typedef int InternalReferenceCountType

Detailed Description

Read DicomImage file format.

Deprecated:
Warning:
NOTE: This reader has been replaced with GDCMImageIO

Definition at line 40 of file itkDicomImageIO.h.


Member Typedef Documentation

typedef std::vector< std::string > itk::ImageIOBase::ArrayOfExtensionsType [inherited]

Type for the list of strings to be used for extensions.

Definition at line 403 of file itkImageIOBase.h.

typedef vcl_size_t itk::ImageIOBase::BufferSizeType [inherited]

Type for representing size of bytes, and or positions along a memory buffer

Definition at line 271 of file itkImageIOBase.h.

Reimplemented from itk::Object.

Reimplemented in itk::ImageClassifierBase< TInputImage, TClassifiedImage >, itk::ImageGaussianModelEstimator< TInputImage, TMembershipFunction, TTrainingImage >, itk::ImageKmeansModelEstimator< TInputImage, TMembershipFunction >, itk::ImageModelEstimatorBase< TInputImage, TMembershipFunction >, itk::LevelSetNeighborhoodExtractor< TLevelSet >, itk::LevelSetVelocityNeighborhoodExtractor< TLevelSet, TAuxValue, VAuxDimension >, itk::MetaArrayReader, itk::MetaArrayWriter, itk::Statistics::BackPropagationLayer< TMeasurementVector, TTargetVector >, itk::Statistics::BatchSupervisedTrainingFunction< TSample, TTargetVector, ScalarType >, itk::Statistics::CompletelyConnectedWeightSet< TMeasurementVector, TTargetVector >, itk::Statistics::ErrorBackPropagationLearningFunctionBase< LayerType, TTargetVector >, itk::Statistics::ErrorBackPropagationLearningWithMomentum< LayerType, TTargetVector >, itk::Statistics::IterativeSupervisedTrainingFunction< TSample, TTargetVector, ScalarType >, itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >, itk::Statistics::LearningFunctionBase< LayerType, TTargetVector >, itk::Statistics::QuickPropLearningRule< LayerType, TTargetVector >, itk::Statistics::RBFBackPropagationLearningFunction< LayerType, TTargetVector >, itk::Statistics::RBFLayer< TMeasurementVector, TTargetVector >, itk::Statistics::TrainingFunctionBase< TSample, TTargetVector, ScalarType >, itk::Statistics::WeightSetBase< TMeasurementVector, TTargetVector >, itk::Statistics::SampleClassifier< TSample >, itk::Statistics::SampleClassifierWithMask< TSample, TMaskSample >, and itk::Statistics::LearningFunctionBase< LayerType::LayerInterfaceType, TTargetVector >.

Definition at line 78 of file itkLightProcessObject.h.

typedef long itk::ImageIOBase::IndexValueType [inherited]

Types for managing image size and image index components.

Reimplemented in itk::PhilipsRECImageIO.

Definition at line 71 of file itkImageIOBase.h.

typedef int itk::LightObject::InternalReferenceCountType [protected, inherited]

Define the type of the reference count according to the target. This allows the use of atomic operations

Definition at line 139 of file itkLightObject.h.

Reimplemented from itk::GDCMImageIO.

Definition at line 46 of file itkDicomImageIO.h.

Standard class typedefs.

Reimplemented from itk::GDCMImageIO.

Definition at line 44 of file itkDicomImageIO.h.

typedef std::streamoff itk::ImageIOBase::SizeType [inherited]

Type for representing size of bytes, and or positions along a file

Definition at line 268 of file itkImageIOBase.h.

typedef unsigned long itk::ImageIOBase::SizeValueType [inherited]

Definition at line 76 of file itkImageIOBase.h.

Reimplemented from itk::GDCMImageIO.

Definition at line 45 of file itkDicomImageIO.h.


Member Enumeration Documentation

enum itk::ImageIOBase::ByteOrder [inherited]

Enums used to specify byte order; whether Big Endian or Little Endian. Some subclasses use this, some ignore it.

Enumerator:
BigEndian 
LittleEndian 
OrderNotApplicable 

Definition at line 220 of file itkImageIOBase.h.

enum itk::ImageIOBase::FileType [inherited]

Enums used to specify write style: whether binary or ASCII. Some subclasses use this, some ignore it.

Enumerator:
ASCII 
Binary 
TypeNotApplicable 

Definition at line 216 of file itkImageIOBase.h.

Enums used to manipulate the component type. The component type refers to the actual storage class associated with either a SCALAR pixel type or elements of a compound pixel.

Enumerator:
UNKNOWNCOMPONENTTYPE 
UCHAR 
CHAR 
USHORT 
SHORT 
UINT 
INT 
ULONG 
LONG 
FLOAT 
DOUBLE 

Definition at line 95 of file itkImageIOBase.h.

Enums used to manipulate the pixel type. The pixel type provides context for automatic data conversions (for instance, RGB to SCALAR, VECTOR to SCALAR).

Enumerator:
UNKNOWNPIXELTYPE 
SCALAR 
RGB 
RGBA 
OFFSET 
VECTOR 
POINT 
COVARIANTVECTOR 
SYMMETRICSECONDRANKTENSOR 
DIFFUSIONTENSOR3D 
COMPLEX 
FIXEDARRAY 
MATRIX 

Definition at line 87 of file itkImageIOBase.h.

Set/Get a boolean to use the JPEG2000 compression or not.

Enumerator:
JPEG 
JPEG2000 

Definition at line 247 of file itkGDCMImageIO.h.


Constructor & Destructor Documentation

itk::DicomImageIO::DicomImageIO (  )  [inline, protected]

Definition at line 55 of file itkDicomImageIO.h.

References itkWarningMacro.


Member Function Documentation

virtual void itk::LightProcessObject::AbortGenerateDataOff (  )  [virtual, inherited]
virtual void itk::LightProcessObject::AbortGenerateDataOn (  )  [virtual, inherited]

Turn on and off the AbortGenerateData flag.

unsigned long itk::Object::AddObserver ( const EventObject event,
Command  
) const [inherited]

This is a global flag that controls whether any debug, warning or error messages are displayed.

unsigned long itk::Object::AddObserver ( const EventObject event,
Command  
) [inherited]

Allow people to add/remove/invoke observers (callbacks) to any ITK object. This is an implementation of the subject/observer design pattern. An observer is added by specifying an event to respond to and an itk::Command to execute. It returns an unsigned long tag which can be used later to remove the event or retrieve the command. The memory for the Command becomes the responsibility of this object, so don't pass the same instance of a command to two different objects

void itk::ImageIOBase::AddSupportedReadExtension ( const char *  extension  )  [protected, inherited]

Insert an extension to the list of supported extensions for reading.

void itk::ImageIOBase::AddSupportedWriteExtension ( const char *  extension  )  [protected, inherited]

Insert an extension to the list of supported extensions for writing.

static void itk::LightObject::BreakOnError (  )  [static, inherited]

This method is called when itkExceptionMacro executes. It allows the debugger to break on error.

virtual bool itk::GDCMImageIO::CanReadFile ( const char *   )  [virtual, inherited]

Determine the file type. Returns true if this ImageIO can read the file specified.

Implements itk::ImageIOBase.

virtual bool itk::ImageIOBase::CanStreamRead (  )  [inline, virtual, inherited]

Determine if the ImageIO can stream reading from this file. Default is false.

Reimplemented in itk::MetaImageIO.

Definition at line 307 of file itkImageIOBase.h.

virtual bool itk::ImageIOBase::CanStreamWrite (  )  [inline, virtual, inherited]

Determine if the ImageIO can stream writing to this file. Default is false.

There are two types of non exclusive streaming: pasteing subregions, and iterative If true then

Reimplemented in itk::MetaImageIO.

Definition at line 331 of file itkImageIOBase.h.

virtual bool itk::GDCMImageIO::CanWriteFile ( const char *   )  [virtual, inherited]

Determine the file type. Returns true if this ImageIO can write the file specified. GDCM triggers on ".dcm" and ".dicom".

Implements itk::ImageIOBase.

void itk::ImageIOBase::ComputeStrides (  )  [protected, inherited]

Calculates the different strides (distance from one thing to the next). Upon return, strides[0] = bytes to get to the next component of a pixel, strides[1] = bytes to get to the next pixel in x direction, strides[2] = bytes to get to the next row in y direction, strides[3] = bytes to get to the next slice in z direction, etc.

virtual LightObject::Pointer itk::Object::CreateAnother (  )  const [virtual, inherited]
virtual void itk::Object::DebugOff (  )  const [virtual, inherited]

Turn debugging output off.

virtual void itk::Object::DebugOn (  )  const [virtual, inherited]

Turn debugging output on.

virtual void itk::LightObject::Delete (  )  [virtual, inherited]

Delete an itk object. This method should always be used to delete an object when the new operator was used to create it. Using the C delete method will not work with reference counting.

virtual void itk::LightProcessObject::GenerateData ( void   )  [inline, protected, virtual, inherited]
virtual ImageIORegion itk::ImageIOBase::GenerateStreamableReadRegionFromRequestedRegion ( const ImageIORegion requested  )  const [virtual, inherited]

Method for supporting streaming. Given a requested region, determine what could be the region that we can read from the file. This is called the streamable region, which will be equal or smaller than the LargestPossibleRegion (unless it was dimensionaly clipped) and greater or equal to the RequestedRegion

the resulting IORegion may be a greater dimensions the the requested IORegion, if the the derived class is unable to read the requested region. For example if the file has a size of [ 10, 10, 10] but the requested region is [10, 10] the return may be 3 dimensions.

Reimplemented in itk::MetaImageIO, and itk::NiftiImageIO.

virtual const bool& itk::LightProcessObject::GetAbortGenerateData (  )  [virtual, inherited]

Get the AbortGenerateData flag for the process object. Process objects may handle premature termination of execution in different ways.

virtual unsigned int itk::ImageIOBase::GetActualNumberOfSplitsForWriting ( unsigned int  numberOfRequestedSplits,
const ImageIORegion pasteRegion,
const ImageIORegion largestPossibleRegion 
) [virtual, inherited]

Before this method is called all the configuration will be done, that is Streaming/PasteRegion/Compression/Filename etc If pasting is being used the number of requested splits is for that region not the largest. The derived ImageIO class should verify that the file is capable of being writen with this configuration. If pasted is enabled and is not support or does not work with the file, then an excepetion should be thrown.

The default implementation depends on CanStreamWrite. If false then 1 is returned (unless pasting is indicated), so that the whole file will be updated in one region. If true then its assumed that any arbitrary region can be writen to any file. So the users request will be respected. If a derived class has more restictive conditions then they should be checked

Reimplemented in itk::MetaImageIO.

virtual unsigned int itk::ImageIOBase::GetActualNumberOfSplitsForWritingCanStreamWrite ( unsigned int  numberOfRequestedSplits,
const ImageIORegion pasteRegion 
) const [protected, virtual, inherited]

an implementation of ImageRegionSplitter:GetNumberOfSplits

void itk::GDCMImageIO::GetBodyPart ( char *  part  )  [inherited]

Set/Get a boolean to use the JPEG2000 compression or not.

virtual ByteOrder itk::ImageIOBase::GetByteOrder (  )  const [virtual, inherited]

These methods indicate the byte ordering of the file you are trying to read in. These methods will then either swap or not swap the bytes depending on the byte ordering of the machine it is being run on. For example, reading in a BigEndian file on a BigEndian machine will result in no swapping. Trying to read the same file on a LittleEndian machine will result in swapping. Note: most UNIX machines are BigEndian while PC's and VAX's are LittleEndian. So if the file you are reading in was generated on a VAX or PC, SetByteOrderToLittleEndian() otherwise SetByteOrderToBigEndian(). Some ImageIOBase subclasses ignore these methods.

std::string itk::ImageIOBase::GetByteOrderAsString ( ByteOrder   )  const [inherited]

Convenience method returns the ByteOrder as a string. This can be used for writing output files.

Command* itk::Object::GetCommand ( unsigned long  tag  )  [inherited]

Get the command associated with the given tag. NOTE: This returns a pointer to a Command, but it is safe to asign this to a Command::Pointer. Since Command inherits from LightObject, at this point in the code, only a pointer or a reference to the Command can be used.

virtual unsigned int itk::ImageIOBase::GetComponentSize (  )  const [virtual, inherited]

Compute the size (in bytes) of the components of a pixel. For example, and RGB pixel of unsigned char would have a component size of 1 byte. This method can be invoked only after the component type is set.

Reimplemented in itk::IPLCommonImageIO.

SizeType itk::ImageIOBase::GetComponentStride (  )  const [protected, inherited]

Convenient method for accessing number of bytes to get to the next pixel component. Returns m_Strides[0].

virtual IOComponentType itk::ImageIOBase::GetComponentType (  )  const [virtual, inherited]

These methods indicate the byte ordering of the file you are trying to read in. These methods will then either swap or not swap the bytes depending on the byte ordering of the machine it is being run on. For example, reading in a BigEndian file on a BigEndian machine will result in no swapping. Trying to read the same file on a LittleEndian machine will result in swapping. Note: most UNIX machines are BigEndian while PC's and VAX's are LittleEndian. So if the file you are reading in was generated on a VAX or PC, SetByteOrderToLittleEndian() otherwise SetByteOrderToBigEndian(). Some ImageIOBase subclasses ignore these methods.

std::string itk::ImageIOBase::GetComponentTypeAsString ( IOComponentType   )  const [inherited]

Convenience method returns the IOComponentType as a string. This can be used for writing output files.

virtual const std::type_info& itk::ImageIOBase::GetComponentTypeInfo (  )  const [virtual, inherited]

These methods indicate the byte ordering of the file you are trying to read in. These methods will then either swap or not swap the bytes depending on the byte ordering of the machine it is being run on. For example, reading in a BigEndian file on a BigEndian machine will result in no swapping. Trying to read the same file on a LittleEndian machine will result in swapping. Note: most UNIX machines are BigEndian while PC's and VAX's are LittleEndian. So if the file you are reading in was generated on a VAX or PC, SetByteOrderToLittleEndian() otherwise SetByteOrderToBigEndian(). Some ImageIOBase subclasses ignore these methods.

Reimplemented in itk::IPLCommonImageIO.

virtual TCompressionType itk::GDCMImageIO::GetCompressionType (  )  const [virtual, inherited]

Set/Get a boolean to use the JPEG2000 compression or not.

bool itk::Object::GetDebug (  )  const [inherited]

Get the value of the debug flag.

virtual std::vector<double> itk::ImageIOBase::GetDefaultDirection ( unsigned int  i  )  const [virtual, inherited]

Return the directions to be assigned by default to recipient images whose dimension is smaller than the image dimension in file.

Reimplemented in itk::AnalyzeImageIO.

virtual unsigned int itk::ImageIOBase::GetDimensions ( unsigned int  i  )  const [inline, virtual, inherited]

These methods indicate the byte ordering of the file you are trying to read in. These methods will then either swap or not swap the bytes depending on the byte ordering of the machine it is being run on. For example, reading in a BigEndian file on a BigEndian machine will result in no swapping. Trying to read the same file on a LittleEndian machine will result in swapping. Note: most UNIX machines are BigEndian while PC's and VAX's are LittleEndian. So if the file you are reading in was generated on a VAX or PC, SetByteOrderToLittleEndian() otherwise SetByteOrderToBigEndian(). Some ImageIOBase subclasses ignore these methods.

Definition at line 109 of file itkImageIOBase.h.

virtual std::vector<double> itk::ImageIOBase::GetDirection ( unsigned int  i  )  const [inline, virtual, inherited]

These methods indicate the byte ordering of the file you are trying to read in. These methods will then either swap or not swap the bytes depending on the byte ordering of the machine it is being run on. For example, reading in a BigEndian file on a BigEndian machine will result in no swapping. Trying to read the same file on a LittleEndian machine will result in swapping. Note: most UNIX machines are BigEndian while PC's and VAX's are LittleEndian. So if the file you are reading in was generated on a VAX or PC, SetByteOrderToLittleEndian() otherwise SetByteOrderToBigEndian(). Some ImageIOBase subclasses ignore these methods.

Reimplemented in itk::AnalyzeImageIO.

Definition at line 135 of file itkImageIOBase.h.

virtual const char* itk::ImageIOBase::GetFileName (  )  const [virtual, inherited]

These methods indicate the byte ordering of the file you are trying to read in. These methods will then either swap or not swap the bytes depending on the byte ordering of the machine it is being run on. For example, reading in a BigEndian file on a BigEndian machine will result in no swapping. Trying to read the same file on a LittleEndian machine will result in swapping. Note: most UNIX machines are BigEndian while PC's and VAX's are LittleEndian. So if the file you are reading in was generated on a VAX or PC, SetByteOrderToLittleEndian() otherwise SetByteOrderToBigEndian(). Some ImageIOBase subclasses ignore these methods.

virtual FileType itk::ImageIOBase::GetFileType (  )  const [virtual, inherited]

These methods indicate the byte ordering of the file you are trying to read in. These methods will then either swap or not swap the bytes depending on the byte ordering of the machine it is being run on. For example, reading in a BigEndian file on a BigEndian machine will result in no swapping. Trying to read the same file on a LittleEndian machine will result in swapping. Note: most UNIX machines are BigEndian while PC's and VAX's are LittleEndian. So if the file you are reading in was generated on a VAX or PC, SetByteOrderToLittleEndian() otherwise SetByteOrderToBigEndian(). Some ImageIOBase subclasses ignore these methods.

std::string itk::ImageIOBase::GetFileTypeAsString ( FileType   )  const [inherited]

Convenience method returns the FileType as a string. This can be used for writing output files.

virtual const char* itk::GDCMImageIO::GetFrameOfReferenceInstanceUID (  )  const [virtual, inherited]

Set/Get a boolean to use the JPEG2000 compression or not.

static bool itk::Object::GetGlobalWarningDisplay (  )  [static, inherited]

This is a global flag that controls whether any debug, warning or error messages are displayed.

SizeType itk::ImageIOBase::GetImageSizeInBytes (  )  const [inherited]

Return the number of bytes in the image.

SizeType itk::ImageIOBase::GetImageSizeInComponents (  )  const [inherited]

Return the number of pixels times the number of components in the image.

SizeType itk::ImageIOBase::GetImageSizeInPixels (  )  const [inherited]

Return the number of pixels in the image.

void itk::GDCMImageIO::GetInstitution ( char *  ins  )  [inherited]

Set/Get a boolean to use the JPEG2000 compression or not.

virtual IOComponentType itk::GDCMImageIO::GetInternalComponentType (  )  const [virtual, inherited]

Get the original component type of the image. This differs from ComponentType which may change as a function of rescale slope and intercept.

virtual const ImageIORegion& itk::ImageIOBase::GetIORegion (  )  [virtual, inherited]

These methods indicate the byte ordering of the file you are trying to read in. These methods will then either swap or not swap the bytes depending on the byte ordering of the machine it is being run on. For example, reading in a BigEndian file on a BigEndian machine will result in no swapping. Trying to read the same file on a LittleEndian machine will result in swapping. Note: most UNIX machines are BigEndian while PC's and VAX's are LittleEndian. So if the file you are reading in was generated on a VAX or PC, SetByteOrderToLittleEndian() otherwise SetByteOrderToBigEndian(). Some ImageIOBase subclasses ignore these methods.

virtual bool itk::GDCMImageIO::GetKeepOriginalUID (  )  const [virtual, inherited]

Set/Get a boolean to use the JPEG2000 compression or not.

static bool itk::GDCMImageIO::GetLabelFromTag ( const std::string &  tag,
std::string &  labelId 
) [static, inherited]

Method for consulting the DICOM dictionary and recovering the text description of a field using its numeric tag represented as a string. If the tagkey is not found in the dictionary then this static method return false and the value "Unknown " in the labelId. If the tagkey is found then this static method returns true and the actual string descriptor of the tagkey is returned in the variable labelId.

virtual bool itk::GDCMImageIO::GetLoadPrivateTags (  )  const [virtual, inherited]

Set/Get a boolean to use the JPEG2000 compression or not.

static bool itk::GDCMImageIO::GetLoadPrivateTagsDefault (  )  [inline, static, inherited]

Set/Get a boolean to use the JPEG2000 compression or not.

Definition at line 242 of file itkGDCMImageIO.h.

virtual bool itk::GDCMImageIO::GetLoadSequences (  )  const [virtual, inherited]

Set/Get a boolean to use the JPEG2000 compression or not.

static bool itk::GDCMImageIO::GetLoadSequencesDefault (  )  [inline, static, inherited]

Set/Get a boolean to use the JPEG2000 compression or not.

Definition at line 224 of file itkGDCMImageIO.h.

void itk::GDCMImageIO::GetManufacturer ( char *  manu  )  [inherited]

Set/Get a boolean to use the JPEG2000 compression or not.

const MetaDataDictionary& itk::Object::GetMetaDataDictionary ( void   )  const [inherited]
Returns:
A constant reference to this objects MetaDataDictionary.
MetaDataDictionary& itk::Object::GetMetaDataDictionary ( void   )  [inherited]
Returns:
A reference to this objects MetaDataDictionary.
Warning:
This reference may be changed.
void itk::GDCMImageIO::GetModality ( char *  modality  )  [inherited]

Set/Get a boolean to use the JPEG2000 compression or not.

void itk::GDCMImageIO::GetModel ( char *  model  )  [inherited]

Set/Get a boolean to use the JPEG2000 compression or not.

virtual unsigned long itk::Object::GetMTime (  )  const [virtual, inherited]

Return this objects modified time.

Reimplemented in itk::ImageRegistrationMethod< TFixedImage, TMovingImage >, itk::ImageToSpatialObjectRegistrationMethod< TFixedImage, TMovingSpatialObject >, itk::MultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >, itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >, itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >, itk::DeformationFieldSource< TOutputImage >, itk::InverseDeformationFieldImageFilter< TInputImage, TOutputImage >, itk::ResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >, itk::VectorResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >, itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >, itk::ImageAdaptor< TImage, TAccessor >, itk::ResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >, itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >, itk::ImageSpatialObject< TDimension, TPixelType >, itk::MeshSpatialObject< TMesh >, itk::SceneSpatialObject< TSpaceDimension >, itk::SpatialObject< TDimension >, itk::ImageAdaptor< TImage, Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::TanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::CosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToModulusPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AbsPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, PixelAccessor >, itk::ImageAdaptor< TImage, Accessor::LogPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToPhasePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< VectorImage< TPixelType, Dimension >, Accessor::VectorImageToImagePixelAccessor< TPixelType > >, itk::ImageAdaptor< TImage, Accessor::Log10PixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AtanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToRealPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToImaginaryPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpNegativePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AcosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AddPixelAccessor< TImage::PixelType > >, itk::ImageSpatialObject< TDimension, unsigned char >, itk::SpatialObject< 3 >, and itk::SpatialObject< ::itk::GetMeshDimension< TMesh >::PointDimension >.

Referenced by itk::SpatialObject< ::itk::GetMeshDimension< TMesh >::PointDimension >::GetObjectMTime().

virtual const char* itk::DicomImageIO::GetNameOfClass (  )  const [virtual]

Run-time type information (and related methods).

Reimplemented from itk::GDCMImageIO.

virtual const unsigned int& itk::ImageIOBase::GetNumberOfComponents (  )  [virtual, inherited]

These methods indicate the byte ordering of the file you are trying to read in. These methods will then either swap or not swap the bytes depending on the byte ordering of the machine it is being run on. For example, reading in a BigEndian file on a BigEndian machine will result in no swapping. Trying to read the same file on a LittleEndian machine will result in swapping. Note: most UNIX machines are BigEndian while PC's and VAX's are LittleEndian. So if the file you are reading in was generated on a VAX or PC, SetByteOrderToLittleEndian() otherwise SetByteOrderToBigEndian(). Some ImageIOBase subclasses ignore these methods.

virtual unsigned int itk::ImageIOBase::GetNumberOfDimensions (  )  const [virtual, inherited]

These methods indicate the byte ordering of the file you are trying to read in. These methods will then either swap or not swap the bytes depending on the byte ordering of the machine it is being run on. For example, reading in a BigEndian file on a BigEndian machine will result in no swapping. Trying to read the same file on a LittleEndian machine will result in swapping. Note: most UNIX machines are BigEndian while PC's and VAX's are LittleEndian. So if the file you are reading in was generated on a VAX or PC, SetByteOrderToLittleEndian() otherwise SetByteOrderToBigEndian(). Some ImageIOBase subclasses ignore these methods.

void itk::GDCMImageIO::GetNumberOfSeriesInStudy ( char *  series  )  [inherited]

Set/Get a boolean to use the JPEG2000 compression or not.

void itk::GDCMImageIO::GetNumberOfStudyRelatedSeries ( char *  series  )  [inherited]

Set/Get a boolean to use the JPEG2000 compression or not.

virtual double itk::ImageIOBase::GetOrigin ( unsigned int  i  )  const [inline, virtual, inherited]

These methods indicate the byte ordering of the file you are trying to read in. These methods will then either swap or not swap the bytes depending on the byte ordering of the machine it is being run on. For example, reading in a BigEndian file on a BigEndian machine will result in no swapping. Trying to read the same file on a LittleEndian machine will result in swapping. Note: most UNIX machines are BigEndian while PC's and VAX's are LittleEndian. So if the file you are reading in was generated on a VAX or PC, SetByteOrderToLittleEndian() otherwise SetByteOrderToBigEndian(). Some ImageIOBase subclasses ignore these methods.

Definition at line 116 of file itkImageIOBase.h.

void itk::GDCMImageIO::GetPatientAge ( char *  age  )  [inherited]

Set/Get a boolean to use the JPEG2000 compression or not.

void itk::GDCMImageIO::GetPatientDOB ( char *  dob  )  [inherited]

Set/Get a boolean to use the JPEG2000 compression or not.

void itk::GDCMImageIO::GetPatientID ( char *  id  )  [inherited]

Set/Get a boolean to use the JPEG2000 compression or not.

void itk::GDCMImageIO::GetPatientName ( char *  name  )  [inherited]

Convenience methods to query patient information and scanner information. These methods are here for compatibility with the DICOMImageIO2 class and as such should not be used in any new code. They rely on properly preallocated buffer, which is not a good practice. Instead user are encourage to use directly the GetValueFromTag function

void itk::GDCMImageIO::GetPatientSex ( char *  sex  )  [inherited]

Set/Get a boolean to use the JPEG2000 compression or not.

virtual unsigned int itk::ImageIOBase::GetPixelSize (  )  const [protected, virtual, inherited]

Compute the size (in bytes) of the pixel. For example, and RGB pixel of unsigned char would have size 3 bytes.

virtual SizeType itk::ImageIOBase::GetPixelStride (  )  const [virtual, inherited]

Convenient method for accessing the number of bytes to get to the next pixel. Returns m_Strides[1];

Please note that this methods depends the private methods ComputeStrides being called, otherwise this is the incorrect value.

virtual IOPixelType itk::ImageIOBase::GetPixelType (  )  const [virtual, inherited]

These methods indicate the byte ordering of the file you are trying to read in. These methods will then either swap or not swap the bytes depending on the byte ordering of the machine it is being run on. For example, reading in a BigEndian file on a BigEndian machine will result in no swapping. Trying to read the same file on a LittleEndian machine will result in swapping. Note: most UNIX machines are BigEndian while PC's and VAX's are LittleEndian. So if the file you are reading in was generated on a VAX or PC, SetByteOrderToLittleEndian() otherwise SetByteOrderToBigEndian(). Some ImageIOBase subclasses ignore these methods.

std::string itk::ImageIOBase::GetPixelTypeAsString ( IOPixelType   )  const [inherited]

Convenience method returns the IOPixelType as a string. This can be used for writing output files.

virtual const float& itk::LightProcessObject::GetProgress (  )  [virtual, inherited]

Get the execution progress of a process object. The progress is a floating number between (0,1), 0 meaning no progress; 1 meaning the filter has completed execution.

virtual int itk::LightObject::GetReferenceCount (  )  const [inline, virtual, inherited]

Gets the reference count on this object.

Definition at line 106 of file itkLightObject.h.

virtual double itk::GDCMImageIO::GetRescaleIntercept (  )  const [virtual, inherited]

Set/Get a boolean to use the JPEG2000 compression or not.

virtual double itk::GDCMImageIO::GetRescaleSlope (  )  const [virtual, inherited]

Macro to access Rescale Slope and Rescale Intercept. Which are needed to rescale properly image when needed. User then need to Always check those value when access value from the DICOM header

SizeType itk::ImageIOBase::GetRowStride (  )  const [protected, inherited]

Convenient method for accessing the number of bytes to get to the next row. Returns m_Strides[2].

void itk::GDCMImageIO::GetScanOptions ( char *  options  )  [inherited]

Set/Get a boolean to use the JPEG2000 compression or not.

virtual const char* itk::GDCMImageIO::GetSeriesInstanceUID (  )  const [virtual, inherited]

Set/Get a boolean to use the JPEG2000 compression or not.

SizeType itk::ImageIOBase::GetSliceStride (  )  const [protected, inherited]

Convenient method for accessing the number of bytes to get to the next slice. Returns m_Strides[3].

virtual double itk::ImageIOBase::GetSpacing ( unsigned int  i  )  const [inline, virtual, inherited]

These methods indicate the byte ordering of the file you are trying to read in. These methods will then either swap or not swap the bytes depending on the byte ordering of the machine it is being run on. For example, reading in a BigEndian file on a BigEndian machine will result in no swapping. Trying to read the same file on a LittleEndian machine will result in swapping. Note: most UNIX machines are BigEndian while PC's and VAX's are LittleEndian. So if the file you are reading in was generated on a VAX or PC, SetByteOrderToLittleEndian() otherwise SetByteOrderToBigEndian(). Some ImageIOBase subclasses ignore these methods.

Definition at line 125 of file itkImageIOBase.h.

virtual ImageIORegion itk::ImageIOBase::GetSplitRegionForWriting ( unsigned int  ithPiece,
unsigned int  numberOfActualSplits,
const ImageIORegion pasteRegion,
const ImageIORegion largestPossibleRegion 
) [virtual, inherited]

returns the ith IORegion

numberOfActualSplits should be the value returned from GetActualNumberOfSplitsForWriting with the same parameters

Derieved classes should overload this method to return a compatible region

Reimplemented in itk::MetaImageIO.

virtual ImageIORegion itk::ImageIOBase::GetSplitRegionForWritingCanStreamWrite ( unsigned int  ithPiece,
unsigned int  numberOfActualSplits,
const ImageIORegion pasteRegion 
) const [protected, virtual, inherited]

an implementation of ImageRegionSplitter:GetSplit

void itk::GDCMImageIO::GetStudyDate ( char *  date  )  [inherited]

Set/Get a boolean to use the JPEG2000 compression or not.

void itk::GDCMImageIO::GetStudyDescription ( char *  desc  )  [inherited]

Set/Get a boolean to use the JPEG2000 compression or not.

void itk::GDCMImageIO::GetStudyID ( char *  id  )  [inherited]

Set/Get a boolean to use the JPEG2000 compression or not.

virtual const char* itk::GDCMImageIO::GetStudyInstanceUID (  )  const [virtual, inherited]

Access the generated DICOM UID's.

const ArrayOfExtensionsType& itk::ImageIOBase::GetSupportedReadExtensions (  )  const [inherited]

This method returns an array with the list of filename extensions supported for reading by this ImageIO class. This is intended to facilitate GUI and application level integration.

const ArrayOfExtensionsType& itk::ImageIOBase::GetSupportedWriteExtensions (  )  const [inherited]

This method returns an array with the list of filename extensions supported for writing by this ImageIO class. This is intended to facilitate GUI and application level integration.

virtual const char* itk::GDCMImageIO::GetUIDPrefix (  )  const [virtual, inherited]

Macro to access the DICOM UID prefix. By default this is the ITK root id. This default can be overriden if the exam is for example part of an existing study.

virtual bool itk::ImageIOBase::GetUseCompression (  )  const [virtual, inherited]

These methods indicate the byte ordering of the file you are trying to read in. These methods will then either swap or not swap the bytes depending on the byte ordering of the machine it is being run on. For example, reading in a BigEndian file on a BigEndian machine will result in no swapping. Trying to read the same file on a LittleEndian machine will result in swapping. Note: most UNIX machines are BigEndian while PC's and VAX's are LittleEndian. So if the file you are reading in was generated on a VAX or PC, SetByteOrderToLittleEndian() otherwise SetByteOrderToBigEndian(). Some ImageIOBase subclasses ignore these methods.

virtual bool itk::ImageIOBase::GetUseStreamedReading (  )  const [virtual, inherited]

These methods indicate the byte ordering of the file you are trying to read in. These methods will then either swap or not swap the bytes depending on the byte ordering of the machine it is being run on. For example, reading in a BigEndian file on a BigEndian machine will result in no swapping. Trying to read the same file on a LittleEndian machine will result in swapping. Note: most UNIX machines are BigEndian while PC's and VAX's are LittleEndian. So if the file you are reading in was generated on a VAX or PC, SetByteOrderToLittleEndian() otherwise SetByteOrderToBigEndian(). Some ImageIOBase subclasses ignore these methods.

virtual bool itk::ImageIOBase::GetUseStreamedWriting (  )  const [virtual, inherited]

These methods indicate the byte ordering of the file you are trying to read in. These methods will then either swap or not swap the bytes depending on the byte ordering of the machine it is being run on. For example, reading in a BigEndian file on a BigEndian machine will result in no swapping. Trying to read the same file on a LittleEndian machine will result in swapping. Note: most UNIX machines are BigEndian while PC's and VAX's are LittleEndian. So if the file you are reading in was generated on a VAX or PC, SetByteOrderToLittleEndian() otherwise SetByteOrderToBigEndian(). Some ImageIOBase subclasses ignore these methods.

bool itk::GDCMImageIO::GetValueFromTag ( const std::string &  tag,
std::string &  value 
) [inherited]

More general method to retrieve an arbitrary DICOM value based on a DICOM Tag (eg "0123|4567"). WARNING: You need to use the lower case for hex 0x[a-f], for instance: "0020|000d" instead of "0020|000D" (the latter won't work)

static void itk::Object::GlobalWarningDisplayOff (  )  [inline, static, inherited]

This is a global flag that controls whether any debug, warning or error messages are displayed.

Definition at line 100 of file itkObject.h.

References itk::Object::SetGlobalWarningDisplay().

static void itk::Object::GlobalWarningDisplayOn (  )  [inline, static, inherited]

This is a global flag that controls whether any debug, warning or error messages are displayed.

Definition at line 98 of file itkObject.h.

References itk::Object::SetGlobalWarningDisplay().

bool itk::Object::HasObserver ( const EventObject event  )  const [inherited]

Return true if an observer is registered for this event.

void itk::GDCMImageIO::InternalReadImageInformation ( std::ifstream &  file  )  [protected, inherited]
void itk::Object::InvokeEvent ( const EventObject  )  const [inherited]

Call Execute on all the Commands observing this event id. The actions triggered by this call doesn't modify this object.

void itk::Object::InvokeEvent ( const EventObject  )  [inherited]

Call Execute on all the Commands observing this event id.

virtual void itk::GDCMImageIO::KeepOriginalUIDOff (  )  [virtual, inherited]

Set/Get a boolean to use the JPEG2000 compression or not.

virtual void itk::GDCMImageIO::KeepOriginalUIDOn (  )  [virtual, inherited]

Set/Get a boolean to use the JPEG2000 compression or not.

static void itk::GDCMImageIO::LoadPrivateTagsDefaultOff (  )  [inline, static, inherited]

Set/Get a boolean to use the JPEG2000 compression or not.

Definition at line 240 of file itkGDCMImageIO.h.

static void itk::GDCMImageIO::LoadPrivateTagsDefaultOn (  )  [inline, static, inherited]

Set/Get a boolean to use the JPEG2000 compression or not.

Definition at line 238 of file itkGDCMImageIO.h.

virtual void itk::GDCMImageIO::LoadPrivateTagsOff (  )  [virtual, inherited]

Set/Get a boolean to use the JPEG2000 compression or not.

virtual void itk::GDCMImageIO::LoadPrivateTagsOn (  )  [virtual, inherited]

Set/Get a boolean to use the JPEG2000 compression or not.

static void itk::GDCMImageIO::LoadSequencesDefaultOff (  )  [inline, static, inherited]

Set/Get a boolean to use the JPEG2000 compression or not.

Definition at line 222 of file itkGDCMImageIO.h.

static void itk::GDCMImageIO::LoadSequencesDefaultOn (  )  [inline, static, inherited]

Set/Get a boolean to use the JPEG2000 compression or not.

Definition at line 220 of file itkGDCMImageIO.h.

virtual void itk::GDCMImageIO::LoadSequencesOff (  )  [virtual, inherited]

Set/Get a boolean to use the JPEG2000 compression or not.

virtual void itk::GDCMImageIO::LoadSequencesOn (  )  [virtual, inherited]

Set/Get a boolean to use the JPEG2000 compression or not.

virtual void itk::Object::Modified (  )  const [virtual, inherited]

Update the modification time for this object. Many filters rely on the modification time to determine if they need to recompute their data.

Reimplemented in itk::NormalizeImageFilter< TInputImage, TOutputImage >, itk::ImageAdaptor< TImage, TAccessor >, itk::MiniPipelineSeparableImageFilter< TInputImage, TOutputImage, TFilter >, itk::GrayscaleDilateImageFilter< TInputImage, TOutputImage, TKernel >, itk::GrayscaleErodeImageFilter< TInputImage, TOutputImage, TKernel >, itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >, itk::GrayscaleMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >, itk::MorphologicalGradientImageFilter< TInputImage, TOutputImage, TKernel >, itk::ImageAdaptor< TImage, Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::TanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::CosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToModulusPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AbsPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, PixelAccessor >, itk::ImageAdaptor< TImage, Accessor::LogPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToPhasePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< VectorImage< TPixelType, Dimension >, Accessor::VectorImageToImagePixelAccessor< TPixelType > >, itk::ImageAdaptor< TImage, Accessor::Log10PixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AtanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToRealPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToImaginaryPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpNegativePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AcosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AddPixelAccessor< TImage::PixelType > >, and itk::MiniPipelineSeparableImageFilter< TInputImage, TOutputImage, RankImageFilter< TInputImage, TInputImage, FlatStructuringElement< ::itk::GetImageDimension< TInputImage >::ImageDimension > > >.

Referenced by itk::NarrowBandImageFilterBase< TInputImage, Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >::InsertNarrowBandNode(), itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >::SetCenter(), itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >::SetMatrix(), itk::NarrowBandImageFilterBase< TInputImage, Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >::SetNarrowBand(), itk::NarrowBandImageFilterBase< TInputImage, Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >::SetNarrowBandInnerRadius(), itk::NarrowBandImageFilterBase< TInputImage, Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >::SetNarrowBandTotalRadius(), itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >::SetOffset(), itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::SetRealThresholds(), itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::SetThresholds(), itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >::SetTotalObservedScale(), and itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >::SetTranslation().

static Pointer itk::DicomImageIO::New (  )  [static]

Method for creation through the object factory.

Reimplemented from itk::GDCMImageIO.

bool itk::GDCMImageIO::OpenGDCMFileForReading ( std::ifstream &  os,
const char *  filename 
) [protected, inherited]
bool itk::GDCMImageIO::OpenGDCMFileForWriting ( std::ofstream &  os,
const char *  filename 
) [protected, inherited]
void itk::LightObject::Print ( std::ostream &  os,
Indent  indent = 0 
) const [inherited]

Cause the object to print itself out.

Referenced by itk::WeakPointer< ProcessObject >::Print().

virtual void itk::LightObject::PrintHeader ( std::ostream &  os,
Indent  indent 
) const [protected, virtual, inherited]

Define the type of the reference count according to the target. This allows the use of atomic operations

bool itk::Object::PrintObservers ( std::ostream &  os,
Indent  indent 
) const [protected, inherited]
void itk::GDCMImageIO::PrintSelf ( std::ostream &  os,
Indent  indent 
) const [protected, virtual, inherited]

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::ImageIOBase.

virtual void itk::LightObject::PrintTrailer ( std::ostream &  os,
Indent  indent 
) const [protected, virtual, inherited]

Define the type of the reference count according to the target. This allows the use of atomic operations

virtual void itk::GDCMImageIO::Read ( void *  buffer  )  [virtual, inherited]

Reads the data from disk into the memory buffer provided.

Implements itk::ImageIOBase.

void itk::ImageIOBase::ReadBufferAsASCII ( std::istream &  os,
void *  buffer,
IOComponentType  ctype,
SizeType  numberOfBytesToBeRead 
) [protected, inherited]

Convenient method to read a buffer as ASCII text.

bool itk::ImageIOBase::ReadBufferAsBinary ( std::istream &  os,
void *  buffer,
SizeType  numberOfBytesToBeRead 
) [protected, inherited]

Convenient method to read a buffer as binary. Return true on success.

virtual void itk::GDCMImageIO::ReadImageInformation (  )  [virtual, inherited]

Set the spacing and dimesion information for the current filename.

Implements itk::ImageIOBase.

virtual void itk::Object::Register (  )  const [virtual, inherited]

Increase the reference count (mark as used by another object).

Reimplemented from itk::LightObject.

void itk::Object::RemoveAllObservers (  )  [inherited]

Remove all observers .

void itk::Object::RemoveObserver ( unsigned long  tag  )  [inherited]

Remove the observer with this tag value.

virtual void itk::ImageIOBase::Reset ( const bool  freeDynamic = true  )  [protected, virtual, inherited]

Return the object to an initialized state, ready to be used

void itk::ImageIOBase::Resize ( const unsigned int  numDimensions,
const unsigned int *  dimensions 
) [protected, inherited]

Resize the ImageIOBase object to new dimensions.

virtual void itk::LightProcessObject::SetAbortGenerateData ( bool  _arg  )  [virtual, inherited]

Set the AbortGenerateData flag for the process object. Process objects may handle premature termination of execution in different ways.

virtual void itk::ImageIOBase::SetByteOrder ( const ByteOrder  _arg  )  [virtual, inherited]

These methods indicate the byte ordering of the file you are trying to read in. These methods will then either swap or not swap the bytes depending on the byte ordering of the machine it is being run on. For example, reading in a BigEndian file on a BigEndian machine will result in no swapping. Trying to read the same file on a LittleEndian machine will result in swapping. Note: most UNIX machines are BigEndian while PC's and VAX's are LittleEndian. So if the file you are reading in was generated on a VAX or PC, SetByteOrderToLittleEndian() otherwise SetByteOrderToBigEndian(). Some ImageIOBase subclasses ignore these methods.

void itk::ImageIOBase::SetByteOrderToBigEndian (  )  [inline, inherited]

These methods indicate the byte ordering of the file you are trying to read in. These methods will then either swap or not swap the bytes depending on the byte ordering of the machine it is being run on. For example, reading in a BigEndian file on a BigEndian machine will result in no swapping. Trying to read the same file on a LittleEndian machine will result in swapping. Note: most UNIX machines are BigEndian while PC's and VAX's are LittleEndian. So if the file you are reading in was generated on a VAX or PC, SetByteOrderToLittleEndian() otherwise SetByteOrderToBigEndian(). Some ImageIOBase subclasses ignore these methods.

Definition at line 249 of file itkImageIOBase.h.

void itk::ImageIOBase::SetByteOrderToLittleEndian (  )  [inline, inherited]

These methods indicate the byte ordering of the file you are trying to read in. These methods will then either swap or not swap the bytes depending on the byte ordering of the machine it is being run on. For example, reading in a BigEndian file on a BigEndian machine will result in no swapping. Trying to read the same file on a LittleEndian machine will result in swapping. Note: most UNIX machines are BigEndian while PC's and VAX's are LittleEndian. So if the file you are reading in was generated on a VAX or PC, SetByteOrderToLittleEndian() otherwise SetByteOrderToBigEndian(). Some ImageIOBase subclasses ignore these methods.

Definition at line 253 of file itkImageIOBase.h.

virtual void itk::ImageIOBase::SetComponentType ( const IOComponentType  _arg  )  [virtual, inherited]

Set/Get the component type of the image. This is always a native type.

virtual void itk::GDCMImageIO::SetCompressionType ( const TCompressionType  _arg  )  [virtual, inherited]

Set/Get a boolean to use the JPEG2000 compression or not.

void itk::Object::SetDebug ( bool  debugFlag  )  const [inherited]

Set the value of the debug flag. A non-zero value turns debugging on.

virtual void itk::ImageIOBase::SetDimensions ( unsigned int  i,
unsigned int  dim 
) [virtual, inherited]

Set/Get the image dimensions in the x, y, z, etc. directions. GetDimensions() is typically used after reading the data; the SetDimensions() is used prior to writing the data.

virtual void itk::ImageIOBase::SetDirection ( unsigned int  i,
vnl_vector< double > &  direction 
) [virtual, inherited]

These methods indicate the byte ordering of the file you are trying to read in. These methods will then either swap or not swap the bytes depending on the byte ordering of the machine it is being run on. For example, reading in a BigEndian file on a BigEndian machine will result in no swapping. Trying to read the same file on a LittleEndian machine will result in swapping. Note: most UNIX machines are BigEndian while PC's and VAX's are LittleEndian. So if the file you are reading in was generated on a VAX or PC, SetByteOrderToLittleEndian() otherwise SetByteOrderToBigEndian(). Some ImageIOBase subclasses ignore these methods.

virtual void itk::ImageIOBase::SetDirection ( unsigned int  i,
std::vector< double > &  direction 
) [virtual, inherited]

Set/Get the image direction on an axis-by-axis basis. The SetDirection() method is required when writing the image.

virtual void itk::ImageIOBase::SetFileName ( const char *  _arg  )  [virtual, inherited]

Set/Get the name of the file to be read.

virtual void itk::ImageIOBase::SetFileType ( const FileType  _arg  )  [virtual, inherited]

These methods control whether the file is written binary or ASCII. Many file formats (i.e., subclasses) ignore this flag.

void itk::ImageIOBase::SetFileTypeToASCII (  )  [inline, inherited]

These methods indicate the byte ordering of the file you are trying to read in. These methods will then either swap or not swap the bytes depending on the byte ordering of the machine it is being run on. For example, reading in a BigEndian file on a BigEndian machine will result in no swapping. Trying to read the same file on a LittleEndian machine will result in swapping. Note: most UNIX machines are BigEndian while PC's and VAX's are LittleEndian. So if the file you are reading in was generated on a VAX or PC, SetByteOrderToLittleEndian() otherwise SetByteOrderToBigEndian(). Some ImageIOBase subclasses ignore these methods.

Definition at line 226 of file itkImageIOBase.h.

void itk::ImageIOBase::SetFileTypeToBinary (  )  [inline, inherited]

These methods indicate the byte ordering of the file you are trying to read in. These methods will then either swap or not swap the bytes depending on the byte ordering of the machine it is being run on. For example, reading in a BigEndian file on a BigEndian machine will result in no swapping. Trying to read the same file on a LittleEndian machine will result in swapping. Note: most UNIX machines are BigEndian while PC's and VAX's are LittleEndian. So if the file you are reading in was generated on a VAX or PC, SetByteOrderToLittleEndian() otherwise SetByteOrderToBigEndian(). Some ImageIOBase subclasses ignore these methods.

Definition at line 230 of file itkImageIOBase.h.

static void itk::Object::SetGlobalWarningDisplay ( bool  flag  )  [static, inherited]

This is a global flag that controls whether any debug, warning or error messages are displayed.

Referenced by itk::Object::GlobalWarningDisplayOff(), and itk::Object::GlobalWarningDisplayOn().

virtual void itk::ImageIOBase::SetIORegion ( ImageIORegion  _arg  )  [virtual, inherited]

Specify the region of the image data to either read or write. The IORegion specifies the part of the image to read or write. Regions are defined with an index and a size vector. These vectors define the start (lower-left corner) and length of the region within the image. Make sure that the IORegion lies within the image.

virtual void itk::GDCMImageIO::SetKeepOriginalUID ( bool  _arg  )  [virtual, inherited]

Preserve the original DICOM UID of the input files

virtual void itk::GDCMImageIO::SetLoadPrivateTags ( bool  _arg  )  [virtual, inherited]

Parse any private tags in the DICOM file. Defaults to the value of LoadPrivateTagsDefault. Loading DICOM files is faster when private tags are not needed.

Warning:
this is a GDCM 1.x only option, no effect on GDCM 2.x
static void itk::GDCMImageIO::SetLoadPrivateTagsDefault ( bool  b  )  [inline, static, inherited]

Global method to define the default value for LoadPrivateTags. When instances of GDCMImageIO are created, the ivar LoadPrivateTags is initialized to the value of LoadPrivateTagsDefault. This method is useful when relying on the IO factory mechanism to load images rather than specifying a particular ImageIO object on the readers. Default is false.

Warning:
this is a GDCM 1.x only option, no effect on GDCM 2.x

Definition at line 236 of file itkGDCMImageIO.h.

virtual void itk::GDCMImageIO::SetLoadSequences ( bool  _arg  )  [virtual, inherited]

Parse any sequences in the DICOM file. Defaults to the value of LoadSequencesDefault. Loading DICOM files is faster when sequences are not needed.

Warning:
this is a GDCM 1.x only option, no effect on GDCM 2.x
static void itk::GDCMImageIO::SetLoadSequencesDefault ( bool  b  )  [inline, static, inherited]

Global method to define the default value for LoadSequences. When instances of GDCMImageIO are created, the ivar LoadSequences is initialized to the value of LoadSequencesDefault. This method is useful when relying on the IO factory mechanism to load images rather than specifying a particular ImageIO object on the readers. Default is false.

Warning:
this is a GDCM 1.x only option, no effect on GDCM 2.x

Definition at line 218 of file itkGDCMImageIO.h.

virtual void itk::GDCMImageIO::SetMaxSizeLoadEntry ( long  _arg  )  [virtual, inherited]

A DICOM file can contains multiple binary stream that can be very long For example an Overlay on the image. Most of the time user do not want to load this binary structure in memory since it can consume lot of memory. Therefore any field that is bigger than the default value 0xfff is discarded and just seek'd This method allow advanced user to force the reading of such field

Warning:
this is a GDCM 1.x only option, no effect on GDCM 2.x
void itk::Object::SetMetaDataDictionary ( const MetaDataDictionary rhs  )  [inherited]
Returns:
Set the MetaDataDictionary
virtual void itk::ImageIOBase::SetNumberOfComponents ( unsigned int  _arg  )  [virtual, inherited]

Set/Get the number of components per pixel in the image. This may be set by the reading process. For SCALAR pixel types, NumberOfComponents will be 1. For other pixel types, NumberOfComponents will be greater than or equal to one.

void itk::ImageIOBase::SetNumberOfDimensions ( unsigned  int  )  [inherited]

Set/Get the number of independent variables (dimensions) in the image being read or written. Note this is not necessarily what is written, rather the IORegion controls that.

virtual void itk::ImageIOBase::SetOrigin ( unsigned int  i,
double  origin 
) [virtual, inherited]

Set/Get the image origin on a axis-by-axis basis. The SetOrigin() method is required when writing the image.

virtual void itk::ImageIOBase::SetPixelType ( const IOPixelType  _arg  )  [virtual, inherited]

Set/Get the type of the pixel. The PixelTypes provides context to the IO mechanisms for data conversions. PixelTypes can be SCALAR, RGB, RGBA, VECTOR, COVARIANTVECTOR, POINT, INDEX. If the PIXELTYPE is SCALAR, then the NumberOfComponents should be 1. Anyother of PIXELTYPE will have more than one component.

virtual bool itk::ImageIOBase::SetPixelTypeInfo ( const std::type_info &  ptype  )  [virtual, inherited]

SetPixelTypeInfo is used by writers to convert from an ITK strongly typed pixel to a ImageIO (weaker) typed pixel. This function sets these PixelType, ComponentType, and NumberOfComponents based on RTTI type_info structure passed in. The function returns false if the pixel type is not supported.

virtual void itk::LightProcessObject::SetProgress ( float  _arg  )  [virtual, inherited]

Set the execution progress of a process object. The progress is a floating number between (0,1), 0 meaning no progress; 1 meaning the filter has completed execution.

virtual void itk::Object::SetReferenceCount ( int   )  [virtual, inherited]

Sets the reference count (use with care)

Reimplemented from itk::LightObject.

virtual void itk::ImageIOBase::SetSpacing ( unsigned int  i,
double  spacing 
) [virtual, inherited]

Set/Get the image spacing on an axis-by-axis basis. The SetSpacing() method is required when writing the image.

virtual void itk::GDCMImageIO::SetUIDPrefix ( const char *  _arg  )  [virtual, inherited]

Set/Get a boolean to use the JPEG2000 compression or not.

virtual void itk::ImageIOBase::SetUseCompression ( bool  _arg  )  [virtual, inherited]

Set/Get a boolean to use the compression or not.

virtual void itk::ImageIOBase::SetUseStreamedReading ( bool  _arg  )  [virtual, inherited]

Set/Get a boolean to use streaming while reading or not.

virtual void itk::ImageIOBase::SetUseStreamedWriting ( bool  _arg  )  [virtual, inherited]

Set/Get a boolean to use streaming while writing or not.

virtual bool itk::ImageIOBase::SupportsDimension ( unsigned long  dim  )  [inline, virtual, inherited]

The different types of ImageIO's can support data of varying dimensionality. For example, some file formats are strictly 2D while others can support 2D, 3D, or even n-D. This method returns true/false as to whether the ImageIO can support the dimension indicated.

Reimplemented in itk::MetaImageIO, itk::NrrdImageIO, and itk::RawImageIO< TPixel, VImageDimension >.

Definition at line 352 of file itkImageIOBase.h.

virtual void itk::Object::UnRegister (  )  const [virtual, inherited]

Decrease the reference count (release by another object).

Reimplemented from itk::LightObject.

virtual void itk::LightProcessObject::UpdateOutputData (  )  [virtual, inherited]

Actually generate new output.

void itk::LightProcessObject::UpdateProgress ( float  amount  )  [inherited]

Update the progress of the process object. If a ProgressMethod exists, executes it. Then set the Progress ivar to amount. The parameter amount should range between (0,1).

virtual void itk::ImageIOBase::UseCompressionOff (  )  [virtual, inherited]

These methods indicate the byte ordering of the file you are trying to read in. These methods will then either swap or not swap the bytes depending on the byte ordering of the machine it is being run on. For example, reading in a BigEndian file on a BigEndian machine will result in no swapping. Trying to read the same file on a LittleEndian machine will result in swapping. Note: most UNIX machines are BigEndian while PC's and VAX's are LittleEndian. So if the file you are reading in was generated on a VAX or PC, SetByteOrderToLittleEndian() otherwise SetByteOrderToBigEndian(). Some ImageIOBase subclasses ignore these methods.

virtual void itk::ImageIOBase::UseCompressionOn (  )  [virtual, inherited]

These methods indicate the byte ordering of the file you are trying to read in. These methods will then either swap or not swap the bytes depending on the byte ordering of the machine it is being run on. For example, reading in a BigEndian file on a BigEndian machine will result in no swapping. Trying to read the same file on a LittleEndian machine will result in swapping. Note: most UNIX machines are BigEndian while PC's and VAX's are LittleEndian. So if the file you are reading in was generated on a VAX or PC, SetByteOrderToLittleEndian() otherwise SetByteOrderToBigEndian(). Some ImageIOBase subclasses ignore these methods.

virtual void itk::ImageIOBase::UseStreamedReadingOff (  )  [virtual, inherited]

These methods indicate the byte ordering of the file you are trying to read in. These methods will then either swap or not swap the bytes depending on the byte ordering of the machine it is being run on. For example, reading in a BigEndian file on a BigEndian machine will result in no swapping. Trying to read the same file on a LittleEndian machine will result in swapping. Note: most UNIX machines are BigEndian while PC's and VAX's are LittleEndian. So if the file you are reading in was generated on a VAX or PC, SetByteOrderToLittleEndian() otherwise SetByteOrderToBigEndian(). Some ImageIOBase subclasses ignore these methods.

virtual void itk::ImageIOBase::UseStreamedReadingOn (  )  [virtual, inherited]

These methods indicate the byte ordering of the file you are trying to read in. These methods will then either swap or not swap the bytes depending on the byte ordering of the machine it is being run on. For example, reading in a BigEndian file on a BigEndian machine will result in no swapping. Trying to read the same file on a LittleEndian machine will result in swapping. Note: most UNIX machines are BigEndian while PC's and VAX's are LittleEndian. So if the file you are reading in was generated on a VAX or PC, SetByteOrderToLittleEndian() otherwise SetByteOrderToBigEndian(). Some ImageIOBase subclasses ignore these methods.

virtual void itk::ImageIOBase::UseStreamedWritingOff (  )  [virtual, inherited]

These methods indicate the byte ordering of the file you are trying to read in. These methods will then either swap or not swap the bytes depending on the byte ordering of the machine it is being run on. For example, reading in a BigEndian file on a BigEndian machine will result in no swapping. Trying to read the same file on a LittleEndian machine will result in swapping. Note: most UNIX machines are BigEndian while PC's and VAX's are LittleEndian. So if the file you are reading in was generated on a VAX or PC, SetByteOrderToLittleEndian() otherwise SetByteOrderToBigEndian(). Some ImageIOBase subclasses ignore these methods.

virtual void itk::ImageIOBase::UseStreamedWritingOn (  )  [virtual, inherited]

These methods indicate the byte ordering of the file you are trying to read in. These methods will then either swap or not swap the bytes depending on the byte ordering of the machine it is being run on. For example, reading in a BigEndian file on a BigEndian machine will result in no swapping. Trying to read the same file on a LittleEndian machine will result in swapping. Note: most UNIX machines are BigEndian while PC's and VAX's are LittleEndian. So if the file you are reading in was generated on a VAX or PC, SetByteOrderToLittleEndian() otherwise SetByteOrderToBigEndian(). Some ImageIOBase subclasses ignore these methods.

virtual void itk::GDCMImageIO::Write ( const void *  buffer  )  [virtual, inherited]

Writes the data to disk from the memory buffer provided. Make sure that the IORegion has been set properly.

Implements itk::ImageIOBase.

void itk::ImageIOBase::WriteBufferAsASCII ( std::ostream &  os,
const void *  buffer,
IOComponentType  ctype,
SizeType  numberOfBytesToWrite 
) [protected, inherited]

Convenient method to write a buffer as ASCII text.

virtual void itk::GDCMImageIO::WriteImageInformation (  )  [virtual, inherited]

Writes the spacing and dimentions of the image. Assumes SetFileName has been called with a valid file name.

Implements itk::ImageIOBase.


Member Data Documentation

ByteOrder itk::ImageIOBase::m_ByteOrder [protected, inherited]

Big or Little Endian, and the type of the file. (May be ignored.)

Definition at line 431 of file itkImageIOBase.h.

Used internally to keep track of the type of the component. It is set when ComputeStrides() is invoked.

Definition at line 428 of file itkImageIOBase.h.

std::vector< SizeValueType > itk::ImageIOBase::m_Dimensions [protected, inherited]

The array which stores the number of pixels in the x, y, z directions.

Definition at line 461 of file itkImageIOBase.h.

std::vector<std::vector<double> > itk::ImageIOBase::m_Direction [protected, inherited]

The arrays which store the direction cosines of the image.

Definition at line 471 of file itkImageIOBase.h.

std::string itk::ImageIOBase::m_FileName [protected, inherited]

Filename to read

Definition at line 438 of file itkImageIOBase.h.

FileType itk::ImageIOBase::m_FileType [protected, inherited]

Definition at line 432 of file itkImageIOBase.h.

std::string itk::GDCMImageIO::m_FrameOfReferenceInstanceUID [protected, inherited]

Definition at line 267 of file itkGDCMImageIO.h.

bool itk::ImageIOBase::m_Initialized [protected, inherited]

Does the ImageIOBase object have enough info to be of use?

Definition at line 435 of file itkImageIOBase.h.

The region to read or write. The region contains information about the data within the region to read or write.

Definition at line 458 of file itkImageIOBase.h.

bool itk::GDCMImageIO::m_KeepOriginalUID [protected, inherited]

Definition at line 268 of file itkGDCMImageIO.h.

long itk::GDCMImageIO::m_MaxSizeLoadEntry [protected, inherited]

Definition at line 269 of file itkGDCMImageIO.h.

unsigned int itk::ImageIOBase::m_NumberOfComponents [protected, inherited]

Stores the number of components per pixel. This will be 1 for grayscale images, 3 for RGBPixel images, and 4 for RGBPixelA images.

Definition at line 442 of file itkImageIOBase.h.

unsigned int itk::ImageIOBase::m_NumberOfDimensions [protected, inherited]

The number of independent dimensions in the image.

Definition at line 445 of file itkImageIOBase.h.

std::vector<double> itk::ImageIOBase::m_Origin [protected, inherited]

The array which stores the origin of the image.

Definition at line 468 of file itkImageIOBase.h.

Used internally to keep track of the type of the pixel.

Definition at line 424 of file itkImageIOBase.h.

Number of uses of this object by other objects.

Definition at line 144 of file itkLightObject.h.

Mutex lock to protect modification to the reference count

Definition at line 147 of file itkLightObject.h.

double itk::GDCMImageIO::m_RescaleIntercept [protected, inherited]

Definition at line 262 of file itkGDCMImageIO.h.

double itk::GDCMImageIO::m_RescaleSlope [protected, inherited]

Definition at line 261 of file itkGDCMImageIO.h.

std::string itk::GDCMImageIO::m_SeriesInstanceUID [protected, inherited]

Definition at line 266 of file itkGDCMImageIO.h.

std::vector<double> itk::ImageIOBase::m_Spacing [protected, inherited]

The array which stores the spacing of pixels in the x, y, z directions.

Definition at line 465 of file itkImageIOBase.h.

std::vector< SizeType > itk::ImageIOBase::m_Strides [protected, inherited]

Stores the number of bytes it takes to get to the next 'thing' e.g. component, pixel, row, slice, etc.

Definition at line 475 of file itkImageIOBase.h.

std::string itk::GDCMImageIO::m_StudyInstanceUID [protected, inherited]

Definition at line 265 of file itkGDCMImageIO.h.

std::string itk::GDCMImageIO::m_UIDPrefix [protected, inherited]

Definition at line 264 of file itkGDCMImageIO.h.

bool itk::ImageIOBase::m_UseCompression [protected, inherited]

Should we compress the data?

Definition at line 448 of file itkImageIOBase.h.

bool itk::ImageIOBase::m_UseStreamedReading [protected, inherited]

Should we use streaming for reading

Definition at line 451 of file itkImageIOBase.h.

bool itk::ImageIOBase::m_UseStreamedWriting [protected, inherited]

Should we use streaming for writing

Definition at line 454 of file itkImageIOBase.h.


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

Generated at Fri Apr 16 21:27:23 2010 for ITK by doxygen 1.6.1 written by Dimitri van Heesch, © 1997-2000