Orfeo Toolbox  3.16
Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
itk::GDCMImageIO Class Reference

ImageIO class for reading and writing DICOM V3.0 and ACR/NEMA 1&2 uncompressed images This class is only an adaptor to the gdcm library (currently gdcm 1.2.x is used by default): More...

#include <itkGDCMImageIO.h>

+ Inheritance diagram for itk::GDCMImageIO:
+ Collaboration diagram for itk::GDCMImageIO:

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,
  CSHORT,
  CINT,
  CFLOAT,
  CDOUBLE
}
 
enum  IOPixelType {
  UNKNOWNPIXELTYPE,
  SCALAR,
  RGB,
  RGBA,
  OFFSET,
  VECTOR,
  POINT,
  COVARIANTVECTOR,
  SYMMETRICSECONDRANKTENSOR,
  DIFFUSIONTENSOR3D,
  COMPLEX,
  FIXEDARRAY,
  MATRIX
}
 
typedef SmartPointer< SelfPointer
 
typedef GDCMImageIO Self
 
typedef std::streamoff SizeType
 
typedef unsigned long SizeValueType
 
typedef ImageIOBase Superclass
 
enum  TCompressionType {
  JPEG = 0,
  JPEG2000
}
 

Public Member Functions

virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual bool CanReadFile (const char *)
 
virtual bool CanStreamRead ()
 
virtual bool CanStreamWrite ()
 
virtual bool CanWriteFile (const char *)
 
virtual ::itk::LightObject::Pointer CreateAnother (void) 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)
 
void GetBodyPart (char *part)
 
virtual ByteOrder GetByteOrder () const
 
std::string GetByteOrderAsString (ByteOrder) const
 
CommandGetCommand (unsigned long tag)
 
virtual unsigned int GetComponentSize () const
 
virtual IOComponentType GetComponentType () const
 
std::string GetComponentTypeAsString (IOComponentType) const
 
virtual const std::type_info & GetComponentTypeInfo () const
 
virtual TCompressionType GetCompressionType () const
 
bool GetDebug () const
 
virtual std::vector< double > GetDefaultDirection (unsigned int i) 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
 
std::string GetFileTypeAsString (FileType) const
 
virtual const char * GetFrameOfReferenceInstanceUID () const
 
SizeType GetImageSizeInBytes () const
 
SizeType GetImageSizeInComponents () const
 
SizeType GetImageSizeInPixels () const
 
void GetInstitution (char *ins)
 
virtual IOComponentType GetInternalComponentType () const
 
virtual const ImageIORegionGetIORegion ()
 
virtual bool GetKeepOriginalUID () const
 
virtual bool GetLoadPrivateTags () const
 
virtual bool GetLoadSequences () const
 
void GetManufacturer (char *manu)
 
MetaDataDictionaryGetMetaDataDictionary (void)
 
const MetaDataDictionaryGetMetaDataDictionary (void) const
 
void GetModality (char *modality)
 
void GetModel (char *model)
 
virtual unsigned long GetMTime () const
 
virtual const char * GetNameOfClass () const
 
virtual const unsigned int & GetNumberOfComponents ()
 
virtual unsigned int GetNumberOfDimensions () const
 
void GetNumberOfSeriesInStudy (char *series)
 
void GetNumberOfStudyRelatedSeries (char *series)
 
virtual double GetOrigin (unsigned int i) const
 
void GetPatientAge (char *age)
 
void GetPatientDOB (char *dob)
 
void GetPatientID (char *id)
 
void GetPatientName (char *name)
 
void GetPatientSex (char *sex)
 
virtual SizeType GetPixelStride () const
 
virtual IOPixelType GetPixelType () const
 
std::string GetPixelTypeAsString (IOPixelType) const
 
virtual const float & GetProgress ()
 
virtual int GetReferenceCount () const
 
virtual double GetRescaleIntercept () const
 
virtual double GetRescaleSlope () const
 
void GetScanOptions (char *options)
 
virtual const char * GetSeriesInstanceUID () const
 
virtual double GetSpacing (unsigned int i) const
 
virtual ImageIORegion GetSplitRegionForWriting (unsigned int ithPiece, unsigned int numberOfActualSplits, const ImageIORegion &pasteRegion, const ImageIORegion &largestPossibleRegion)
 
void GetStudyDate (char *date)
 
void GetStudyDescription (char *desc)
 
void GetStudyID (char *id)
 
virtual const char * GetStudyInstanceUID () const
 
const ArrayOfExtensionsTypeGetSupportedReadExtensions () const
 
const ArrayOfExtensionsTypeGetSupportedWriteExtensions () const
 
virtual const char * GetUIDPrefix () const
 
virtual bool GetUseCompression () const
 
virtual bool GetUseStreamedReading () const
 
virtual bool GetUseStreamedWriting () const
 
bool GetValueFromTag (const std::string &tag, std::string &value)
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void KeepOriginalUIDOff ()
 
virtual void KeepOriginalUIDOn ()
 
virtual void LoadPrivateTagsOff ()
 
virtual void LoadPrivateTagsOn ()
 
virtual void LoadSequencesOff ()
 
virtual void LoadSequencesOn ()
 
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)
 
virtual void SetByteOrder (const ByteOrder _arg)
 
void SetByteOrderToBigEndian ()
 
void SetByteOrderToLittleEndian ()
 
virtual void SetComponentType (const IOComponentType _arg)
 
virtual void SetCompressionType (const TCompressionType _arg)
 
void SetDebug (bool debugFlag) const
 
virtual void SetDimensions (unsigned int i, unsigned int dim)
 
virtual void SetDirection (unsigned int i, std::vector< double > &direction)
 
virtual void SetDirection (unsigned int i, vnl_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 SetKeepOriginalUID (bool _arg)
 
virtual void SetLoadPrivateTags (bool _arg)
 
virtual void SetLoadSequences (bool _arg)
 
virtual void SetMaxSizeLoadEntry (long _arg)
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
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 bool SetPixelTypeInfo (const std::type_info &ptype)
 
virtual void SetProgress (float _arg)
 
virtual void SetReferenceCount (int)
 
virtual void SetSpacing (unsigned int i, double spacing)
 
virtual void SetUIDPrefix (const char *_arg)
 
virtual void SetUseCompression (bool _arg)
 
virtual void SetUseStreamedReading (bool _arg)
 
virtual void SetUseStreamedWriting (bool _arg)
 
virtual bool SupportsDimension (unsigned long dim)
 
virtual void UnRegister () const
 
virtual void UpdateOutputData ()
 
void UpdateProgress (float amount)
 
virtual void UseCompressionOff ()
 
virtual void UseCompressionOn ()
 
virtual void UseStreamedReadingOff ()
 
virtual void UseStreamedReadingOn ()
 
virtual void UseStreamedWritingOff ()
 
virtual void UseStreamedWritingOn ()
 
virtual void Write (const void *buffer)
 
virtual void WriteImageInformation ()
 

Static Public Member Functions

static void BreakOnError ()
 
static bool GetGlobalWarningDisplay ()
 
static bool GetLabelFromTag (const std::string &tag, std::string &labelId)
 
static bool GetLoadPrivateTagsDefault ()
 
static bool GetLoadSequencesDefault ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static void LoadPrivateTagsDefaultOff ()
 
static void LoadPrivateTagsDefaultOn ()
 
static void LoadSequencesDefaultOff ()
 
static void LoadSequencesDefaultOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 
static void SetLoadPrivateTagsDefault (bool b)
 
static void SetLoadSequencesDefault (bool b)
 

Protected Types

typedef int InternalReferenceCountType
 

Protected Member Functions

 GDCMImageIO ()
 
 ~GDCMImageIO ()
 
void AddSupportedReadExtension (const char *extension)
 
void AddSupportedWriteExtension (const char *extension)
 
void ComputeStrides ()
 
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)
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
void PrintSelf (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (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
 

Private Member Functions

 GDCMImageIO (const Self &)
 
void operator= (const Self &)
 

Private Attributes

std::string m_BodyPart
 
TCompressionType m_CompressionType
 
InternalHeaderm_DICOMHeader
 
unsigned int m_GlobalNumberOfDimensions
 
std::string m_Institution
 
ImageIOBase::IOComponentType m_InternalComponentType
 
bool m_LoadPrivateTags
 
bool m_LoadSequences
 
std::string m_Manufacturer
 
std::string m_Modality
 
std::string m_Model
 
std::string m_NumberOfSeriesInStudy
 
std::string m_NumberOfStudyRelatedSeries
 
std::string m_PatientAge
 
std::string m_PatientDOB
 
std::string m_PatientID
 
std::string m_PatientName
 
std::string m_PatientSex
 
std::string m_ScanOptions
 
std::string m_StudyDate
 
std::string m_StudyDescription
 
std::string m_StudyID
 

Static Private Attributes

static bool m_LoadPrivateTagsDefault = true
 
static bool m_LoadSequencesDefault = true
 

Detailed Description

ImageIO class for reading and writing DICOM V3.0 and ACR/NEMA 1&2 uncompressed images This class is only an adaptor to the gdcm library (currently gdcm 1.2.x is used by default):

GDCM 1.2 can be found at: http://creatis-www.insa-lyon.fr/Public/Gdcm/

CREATIS INSA - Lyon 2003-2008 http://www.creatis.insa-lyon.fr

Using the CMake variable: ITK_USE_SYSTEM_GDCM it is now possible to use a system installed GDCM 2.x release. GDCM 2.x is now being developped on sourceforge.net :

    http://gdcm.sourceforge.net

Documentation:

Warning
There are several restrictions to this current writer:
  • Eventhough during the writing process you pass in a DICOM file as input The output file may not contains ALL DICOM field from the input file. In particular:
    • The SeQuence DICOM field (SQ).
    • Fields from Private Dictionary
  • Some very long (>0xfff) binary fields are not loaded (typically 0029|0010), you need to explicitely set the maximum length of elements to load to be bigger (see Get/SetMaxSizeLoadEntry)
  • GDCMImageIO was not handling rescale slope/intercept properly. This is fixed as of 11/12/2007
  • In DICOM some field are stored directly using there binary representation. When loaded into the MetaDataDict some fields are converted to ASCII (only VR: OB/OW/OF and UN are encoded as mime64).

Definition at line 68 of file itkGDCMImageIO.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 388 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 256 of file itkImageIOBase.h.

Definition at line 78 of file itkLightProcessObject.h.

typedef long itk::ImageIOBase::IndexValueType
inherited

Types for managing image size and image index components.

Definition at line 71 of file itkImageIOBase.h.

typedef int itk::LightObject::InternalReferenceCountType
protectedinherited

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

Definition at line 137 of file itkLightObject.h.

Definition at line 74 of file itkGDCMImageIO.h.

Standard class typedefs.

Definition at line 72 of file itkGDCMImageIO.h.

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

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

Definition at line 253 of file itkImageIOBase.h.

typedef unsigned long itk::ImageIOBase::SizeValueType
inherited

Definition at line 75 of file itkImageIOBase.h.

Definition at line 73 of file itkGDCMImageIO.h.

Member Enumeration Documentation

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 207 of file itkImageIOBase.h.

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

Enumerator
ASCII 
Binary 
TypeNotApplicable 

Definition at line 203 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 
CSHORT 
CINT 
CFLOAT 
CDOUBLE 

Definition at line 94 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 86 of file itkImageIOBase.h.

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

Enumerator
JPEG 
JPEG2000 

Definition at line 238 of file itkGDCMImageIO.h.

Constructor & Destructor Documentation

itk::GDCMImageIO::GDCMImageIO ( )
protected
itk::GDCMImageIO::~GDCMImageIO ( )
protected

Definition at line 242 of file itkGDCMImageIO.cxx.

References m_DICOMHeader, and itk::InternalHeader::m_Header.

itk::GDCMImageIO::GDCMImageIO ( const Self )
private

Member Function Documentation

virtual void itk::LightProcessObject::AbortGenerateDataOff ( )
virtualinherited
virtual void itk::LightProcessObject::AbortGenerateDataOn ( )
virtualinherited

Turn on and off the AbortGenerateData flag.

unsigned long itk::Object::AddObserver ( const EventObject event,
Command cmd 
)
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

Definition at line 389 of file itkObject.cxx.

References itk::SubjectImplementation::AddObserver().

Referenced by otb::StreamingImageVirtualWriter< TInputImage >::GenerateData(), itk::ProgressAccumulator::RegisterInternalFilter(), otb::ImageFileWriter< TInputImage >::Update(), and otb::WriterWatcherBase::WriterWatcherBase().

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

Definition at line 401 of file itkObject.cxx.

References itk::SubjectImplementation::AddObserver().

void itk::ImageIOBase::AddSupportedReadExtension ( const char *  extension)
protectedinherited
void itk::ImageIOBase::AddSupportedWriteExtension ( const char *  extension)
protectedinherited
void itk::LightObject::BreakOnError ( )
staticinherited

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

Definition at line 149 of file itkLightObject.cxx.

bool itk::GDCMImageIO::CanReadFile ( const char *  filename)
virtual

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

Implements itk::ImageIOBase.

Definition at line 323 of file itkGDCMImageIO.cxx.

References OpenGDCMFileForReading().

virtual bool itk::ImageIOBase::CanStreamRead ( void  )
inlinevirtualinherited

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

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

Definition at line 292 of file itkImageIOBase.h.

virtual bool itk::ImageIOBase::CanStreamWrite ( void  )
inlinevirtualinherited

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, and itk::StreamingImageIOBase.

Definition at line 316 of file itkImageIOBase.h.

Referenced by itk::ImageIOBase::GetActualNumberOfSplitsForWriting(), and itk::ImageIOBase::GetSplitRegionForWriting().

bool itk::GDCMImageIO::CanWriteFile ( const char *  name)
virtual

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

Implements itk::ImageIOBase.

Definition at line 1275 of file itkGDCMImageIO.cxx.

void itk::ImageIOBase::ComputeStrides ( )
protectedinherited

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.

Definition at line 540 of file itkImageIOBase.cxx.

References itk::ImageIOBase::GetComponentSize(), itk::ImageIOBase::m_Dimensions, itk::ImageIOBase::m_NumberOfComponents, itk::ImageIOBase::m_NumberOfDimensions, and itk::ImageIOBase::m_Strides.

Referenced by itk::MINC2ImageIO::ReadImageInformation(), itk::PhilipsRECImageIO::ReadImageInformation(), itk::AnalyzeImageIO::ReadImageInformation(), and itk::ImageIOBase::Resize().

virtual::itk::LightObject::Pointer itk::GDCMImageIO::CreateAnother ( void  ) const
virtual

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::LightProcessObject.

void itk::Object::DebugOff ( ) const
virtualinherited

Turn debugging output off.

Definition at line 253 of file itkObject.cxx.

void itk::Object::DebugOn ( ) const
virtualinherited

Turn debugging output on.

Definition at line 242 of file itkObject.cxx.

void itk::LightObject::Delete ( )
virtualinherited

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.

Delete a 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.

Definition at line 88 of file itkLightObject.cxx.

virtual void itk::LightProcessObject::GenerateData ( void  )
inlineprotectedvirtualinherited
ImageIORegion itk::ImageIOBase::GenerateStreamableReadRegionFromRequestedRegion ( const ImageIORegion requested) const
virtualinherited

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.

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 smaller than the LargestPossibleRegion and greater or equal to the RequestedRegion

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

Definition at line 1218 of file itkImageIOBase.cxx.

References itk::ImageIORegion::GetImageDimension(), itk::ImageIORegion::SetIndex(), and itk::ImageIORegion::SetSize().

virtual const bool& itk::LightProcessObject::GetAbortGenerateData ( )
virtualinherited

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

unsigned int itk::ImageIOBase::GetActualNumberOfSplitsForWriting ( unsigned int  numberOfRequestedSplits,
const ImageIORegion pasteRegion,
const ImageIORegion largestPossibleRegion 
)
virtualinherited

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, and itk::StreamingImageIOBase.

Definition at line 1122 of file itkImageIOBase.cxx.

References itk::ImageIOBase::CanStreamWrite(), itk::ImageIOBase::GetActualNumberOfSplitsForWritingCanStreamWrite(), and itk::ImageIOBase::GetFileName().

unsigned int itk::ImageIOBase::GetActualNumberOfSplitsForWritingCanStreamWrite ( unsigned int  numberOfRequestedSplits,
const ImageIORegion pasteRegion 
) const
protectedvirtualinherited
void itk::GDCMImageIO::GetBodyPart ( char *  part)

Definition at line 2284 of file itkGDCMImageIO.cxx.

References itk::Object::GetMetaDataDictionary(), and m_BodyPart.

Referenced by InternalReadImageInformation().

virtual ByteOrder itk::ImageIOBase::GetByteOrder ( ) const
virtualinherited

Referenced by itk::NrrdImageIO::Write().

std::string itk::ImageIOBase::GetByteOrderAsString ( ByteOrder  t) const
inherited

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

Definition at line 739 of file itkImageIOBase.cxx.

References itk::ImageIOBase::BigEndian, itk::ImageIOBase::LittleEndian, and itk::ImageIOBase::OrderNotApplicable.

Referenced by itk::ImageIOBase::PrintSelf().

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.

Definition at line 414 of file itkObject.cxx.

References itk::Object::GetCommand(), and NULL.

Referenced by itk::Object::GetCommand().

unsigned int itk::ImageIOBase::GetComponentSize ( ) const
virtualinherited
ImageIOBase::SizeType itk::ImageIOBase::GetComponentStride ( ) const
protectedinherited

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

Definition at line 584 of file itkImageIOBase.cxx.

virtual IOComponentType itk::ImageIOBase::GetComponentType ( ) const
virtualinherited
std::string itk::ImageIOBase::GetComponentTypeAsString ( IOComponentType  t) const
inherited
const std::type_info & itk::ImageIOBase::GetComponentTypeInfo ( ) const
virtualinherited
virtual TCompressionType itk::GDCMImageIO::GetCompressionType ( ) const
virtual
bool itk::Object::GetDebug ( ) const
inherited

Get the value of the debug flag.

Definition at line 264 of file itkObject.cxx.

Referenced by otb::ogr::ImageReference< double >::GetDebug().

std::vector< double > itk::ImageIOBase::GetDefaultDirection ( unsigned int  k) const
virtualinherited

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

Return the directions that this particular ImageIO would use by default in the case the recipient image dimension is smaller than the dimension of the image in file.

Reimplemented in itk::AnalyzeImageIO.

Definition at line 1276 of file itkImageIOBase.cxx.

Referenced by itk::AnalyzeImageIO::GetDefaultDirection().

virtual unsigned int itk::ImageIOBase::GetDimensions ( unsigned int  i) const
inlinevirtualinherited
virtual std::vector<double> itk::ImageIOBase::GetDirection ( unsigned int  i) const
inlinevirtualinherited
virtual const char* itk::ImageIOBase::GetFileName ( ) const
virtualinherited
virtual FileType itk::ImageIOBase::GetFileType ( ) const
virtualinherited
std::string itk::ImageIOBase::GetFileTypeAsString ( FileType  t) const
inherited

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

Definition at line 723 of file itkImageIOBase.cxx.

References itk::ImageIOBase::ASCII, itk::ImageIOBase::Binary, and itk::ImageIOBase::TypeNotApplicable.

Referenced by itk::ImageIOBase::PrintSelf().

virtual const char* itk::GDCMImageIO::GetFrameOfReferenceInstanceUID ( ) const
virtual
bool itk::Object::GetGlobalWarningDisplay ( )
staticinherited

Get the value of the global debug output control flag.

Definition at line 381 of file itkObject.cxx.

ImageIOBase::SizeType itk::ImageIOBase::GetImageSizeInBytes ( ) const
inherited
ImageIOBase::SizeType itk::ImageIOBase::GetImageSizeInComponents ( ) const
inherited
ImageIOBase::SizeType itk::ImageIOBase::GetImageSizeInPixels ( ) const
inherited

Return the number of pixels in the image.

Definition at line 555 of file itkImageIOBase.cxx.

Referenced by itk::MetaImageIO::Read(), itk::AnalyzeImageIO::Read(), itk::VTKImageIO::Write(), and itk::VTKImageIO2::WriteImageInformation().

void itk::GDCMImageIO::GetInstitution ( char *  ins)
virtual IOComponentType itk::GDCMImageIO::GetInternalComponentType ( ) const
virtual

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 ( )
virtualinherited
virtual bool itk::GDCMImageIO::GetKeepOriginalUID ( ) const
virtual
bool itk::GDCMImageIO::GetLabelFromTag ( const std::string &  tag,
std::string &  labelId 
)
static

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.

Definition at line 2354 of file itkGDCMImageIO.cxx.

virtual bool itk::GDCMImageIO::GetLoadPrivateTags ( ) const
virtual
static bool itk::GDCMImageIO::GetLoadPrivateTagsDefault ( )
inlinestatic

Definition at line 234 of file itkGDCMImageIO.h.

virtual bool itk::GDCMImageIO::GetLoadSequences ( ) const
virtual
static bool itk::GDCMImageIO::GetLoadSequencesDefault ( )
inlinestatic

Definition at line 217 of file itkGDCMImageIO.h.

void itk::GDCMImageIO::GetManufacturer ( char *  manu)
MetaDataDictionary & itk::Object::GetMetaDataDictionary ( void  )
inherited
Returns
A reference to this objects MetaDataDictionary.
Warning
This reference may be changed.

Definition at line 532 of file itkObject.cxx.

References NULL.

Referenced by otb::RenderingImageFilter< TInputImage, TOutputImage >::BeforeThreadedGenerateData(), itk::Brains2MaskImageIO::CanReadFile(), otb::DataNode< TPrecision, VDimension, TValuePrecision >::CopyFieldList(), otb::VectorImage< TPixel, VImageDimension >::CopyInformation(), otb::Image< TPixel, VImageDimension >::CopyInformation(), GetBodyPart(), GetInstitution(), GetManufacturer(), GetModality(), GetModel(), GetNumberOfSeriesInStudy(), GetNumberOfStudyRelatedSeries(), GetPatientAge(), GetPatientDOB(), GetPatientID(), GetPatientName(), GetPatientSex(), GetScanOptions(), GetStudyDate(), GetStudyDescription(), GetStudyID(), GetValueFromTag(), otb::GDALImageIO::InternalReadImageInformation(), InternalReadImageInformation(), otb::GDALImageIO::InternalWriteImageInformation(), otb::RAMDrivenAdaptativeStreamingManager< TImage >::PrepareStreaming(), itk::DICOMImageIO2::Read(), itk::DICOMImageIO2::ReadImageInformation(), itk::NrrdImageIO::ReadImageInformation(), otb::JPEG2000ImageIO::ReadImageInformation(), itk::MetaImageIO::ReadImageInformation(), itk::VoxBoCUBImageIO::ReadImageInformation(), itk::MRCImageIO::ReadImageInformation(), itk::IPLCommonImageIO::ReadImageInformation(), itk::PhilipsRECImageIO::ReadImageInformation(), itk::AnalyzeImageIO::ReadImageInformation(), itk::Bruker2DSEQImageIO::ReadImageInformation(), otb::ImageMetadataInterfaceBase::SetImage(), itk::NiftiImageIO::SetImageIOMetadataFromNIfTI(), otb::VectorDataToLabelImageFilter< TVectorData, TOutputImage >::SetOutputParametersFromImage(), itk::NrrdImageIO::Write(), Write(), and itk::PolygonGroupSpatialObjectXMLFileWriter::WriteFile().

const MetaDataDictionary & itk::Object::GetMetaDataDictionary ( void  ) const
inherited
Returns
A constant reference to this objects MetaDataDictionary.

Definition at line 543 of file itkObject.cxx.

References NULL.

void itk::GDCMImageIO::GetModality ( char *  modality)

Definition at line 2312 of file itkGDCMImageIO.cxx.

References itk::Object::GetMetaDataDictionary(), and m_Modality.

Referenced by InternalReadImageInformation().

void itk::GDCMImageIO::GetModel ( char *  model)

Definition at line 2333 of file itkGDCMImageIO.cxx.

References itk::Object::GetMetaDataDictionary(), and m_Model.

Referenced by InternalReadImageInformation().

unsigned long itk::Object::GetMTime ( void  ) const
virtualinherited

Return this objects modified time.

Return the modification for this object.

Reimplemented in itk::ImageAdaptor< TImage, TAccessor >, itk::ImageAdaptor< TImage, Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, otb::Accessor::VectorImageToASPixelAccessor< TImage::PixelType::ValueType > >, 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::ShiftScalePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, 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::ResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >, itk::ResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >, itk::SpatialObject< TDimension >, itk::SpatialObject< 3 >, itk::SpatialObject< ::itk::GetMeshDimension< TMesh >::PointDimension >, itk::MultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >, itk::ImageRegistrationMethod< TFixedImage, TMovingImage >, itk::VectorResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >, itk::ImageToSpatialObjectRegistrationMethod< TFixedImage, TMovingSpatialObject >, itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >, otb::InverseDeformationFieldImageFilter< TInputImage, TOutputImage >, itk::InverseDeformationFieldImageFilter< TInputImage, TOutputImage >, itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >, itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >, itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >, itk::DeformationFieldSource< TOutputImage >, itk::ImageSpatialObject< TDimension, TPixelType >, itk::ImageSpatialObject< TDimension, unsigned char >, itk::MeshSpatialObject< TMesh >, and itk::SceneSpatialObject< TSpaceDimension >.

Definition at line 286 of file itkObject.cxx.

Referenced by itk::DeformationFieldSource< TOutputImage >::GetMTime(), itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::GetMTime(), itk::InverseDeformationFieldImageFilter< TInputImage, TOutputImage >::GetMTime(), otb::InverseDeformationFieldImageFilter< TInputImage, TOutputImage >::GetMTime(), itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::GetMTime(), itk::VectorResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::GetMTime(), itk::SpatialObject< TDimension >::GetMTime(), itk::ResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::GetMTime(), itk::SpatialObject< ::itk::GetMeshDimension< TMesh >::PointDimension >::GetObjectMTime(), otb::Function::NoStretchRenderingFunction< TPixel, TRGBPixel, TPixelRepresentationFunction, TTransferFunction >::Initialize(), otb::Function::StandardRenderingFunction< TPixel, TRGBPixel, TPixelRepresentationFunction, TTransferFunction >::Initialize(), itk::VTKImageExportBase::PipelineModifiedCallback(), and itk::ProcessObject::UpdateOutputInformation().

virtual const char* itk::GDCMImageIO::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::ImageIOBase.

Reimplemented in itk::DicomImageIO.

virtual const unsigned int& itk::ImageIOBase::GetNumberOfComponents ( )
virtualinherited
virtual unsigned int itk::ImageIOBase::GetNumberOfDimensions ( ) const
virtualinherited
void itk::GDCMImageIO::GetNumberOfSeriesInStudy ( char *  series)
void itk::GDCMImageIO::GetNumberOfStudyRelatedSeries ( char *  series)
virtual double itk::ImageIOBase::GetOrigin ( unsigned int  i) const
inlinevirtualinherited
void itk::GDCMImageIO::GetPatientAge ( char *  age)
void itk::GDCMImageIO::GetPatientDOB ( char *  dob)
void itk::GDCMImageIO::GetPatientID ( char *  id)

Definition at line 2242 of file itkGDCMImageIO.cxx.

References itk::Object::GetMetaDataDictionary(), and m_PatientID.

Referenced by InternalReadImageInformation().

void itk::GDCMImageIO::GetPatientName ( char *  name)

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

Definition at line 2235 of file itkGDCMImageIO.cxx.

References itk::Object::GetMetaDataDictionary(), and m_PatientName.

Referenced by InternalReadImageInformation().

void itk::GDCMImageIO::GetPatientSex ( char *  sex)
unsigned int itk::ImageIOBase::GetPixelSize ( ) const
protectedvirtualinherited
ImageIOBase::SizeType itk::ImageIOBase::GetPixelStride ( ) const
virtualinherited

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.

Definition at line 591 of file itkImageIOBase.cxx.

virtual IOPixelType itk::ImageIOBase::GetPixelType ( ) const
virtualinherited
std::string itk::ImageIOBase::GetPixelTypeAsString ( IOPixelType  t) const
inherited
virtual const float& itk::LightProcessObject::GetProgress ( )
virtualinherited

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
inlinevirtualinherited

Gets the reference count on this object.

Definition at line 105 of file itkLightObject.h.

virtual double itk::GDCMImageIO::GetRescaleIntercept ( ) const
virtual
virtual double itk::GDCMImageIO::GetRescaleSlope ( ) const
virtual

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

ImageIOBase::SizeType itk::ImageIOBase::GetRowStride ( ) const
protectedinherited

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

Definition at line 598 of file itkImageIOBase.cxx.

void itk::GDCMImageIO::GetScanOptions ( char *  options)
virtual const char* itk::GDCMImageIO::GetSeriesInstanceUID ( ) const
virtual
ImageIOBase::SizeType itk::ImageIOBase::GetSliceStride ( ) const
protectedinherited

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

Definition at line 605 of file itkImageIOBase.cxx.

virtual double itk::ImageIOBase::GetSpacing ( unsigned int  i) const
inlinevirtualinherited
ImageIORegion itk::ImageIOBase::GetSplitRegionForWriting ( unsigned int  ithPiece,
unsigned int  numberOfActualSplits,
const ImageIORegion pasteRegion,
const ImageIORegion largestPossibleRegion 
)
virtualinherited

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.

Definition at line 1200 of file itkImageIOBase.cxx.

References itk::ImageIOBase::CanStreamWrite(), and itk::ImageIOBase::GetSplitRegionForWritingCanStreamWrite().

ImageIORegion itk::ImageIOBase::GetSplitRegionForWritingCanStreamWrite ( unsigned int  ithPiece,
unsigned int  numberOfActualSplits,
const ImageIORegion pasteRegion 
) const
protectedvirtualinherited
void itk::GDCMImageIO::GetStudyDate ( char *  date)

Definition at line 2305 of file itkGDCMImageIO.cxx.

References itk::Object::GetMetaDataDictionary(), and m_StudyDate.

Referenced by InternalReadImageInformation().

void itk::GDCMImageIO::GetStudyDescription ( char *  desc)
void itk::GDCMImageIO::GetStudyID ( char *  id)

Definition at line 2263 of file itkGDCMImageIO.cxx.

References itk::Object::GetMetaDataDictionary(), and m_StudyID.

Referenced by InternalReadImageInformation().

virtual const char* itk::GDCMImageIO::GetStudyInstanceUID ( ) const
virtual

Access the generated DICOM UID's.

const ImageIOBase::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.

Definition at line 73 of file itkImageIOBase.cxx.

References itk::ImageIOBase::m_SupportedReadExtensions.

const ImageIOBase::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.

Definition at line 67 of file itkImageIOBase.cxx.

References itk::ImageIOBase::m_SupportedWriteExtensions.

virtual const char* itk::GDCMImageIO::GetUIDPrefix ( ) const
virtual

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
virtualinherited
virtual bool itk::ImageIOBase::GetUseStreamedReading ( ) const
virtualinherited
virtual bool itk::ImageIOBase::GetUseStreamedWriting ( ) const
virtualinherited
bool itk::GDCMImageIO::GetValueFromTag ( const std::string &  tag,
std::string &  value 
)

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)

Definition at line 2347 of file itkGDCMImageIO.cxx.

References itk::Object::GetMetaDataDictionary().

static void itk::Object::GlobalWarningDisplayOff ( )
inlinestaticinherited
static void itk::Object::GlobalWarningDisplayOn ( )
inlinestaticinherited

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.

Definition at line 467 of file itkObject.cxx.

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

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

Definition at line 457 of file itkObject.cxx.

virtual void itk::GDCMImageIO::KeepOriginalUIDOff ( )
virtual
virtual void itk::GDCMImageIO::KeepOriginalUIDOn ( )
virtual
static void itk::GDCMImageIO::LoadPrivateTagsDefaultOff ( )
inlinestatic

Definition at line 232 of file itkGDCMImageIO.h.

static void itk::GDCMImageIO::LoadPrivateTagsDefaultOn ( )
inlinestatic

Definition at line 230 of file itkGDCMImageIO.h.

virtual void itk::GDCMImageIO::LoadPrivateTagsOff ( )
virtual
virtual void itk::GDCMImageIO::LoadPrivateTagsOn ( )
virtual
static void itk::GDCMImageIO::LoadSequencesDefaultOff ( )
inlinestatic

Definition at line 215 of file itkGDCMImageIO.h.

static void itk::GDCMImageIO::LoadSequencesDefaultOn ( )
inlinestatic

Definition at line 213 of file itkGDCMImageIO.h.

virtual void itk::GDCMImageIO::LoadSequencesOff ( )
virtual
virtual void itk::GDCMImageIO::LoadSequencesOn ( )
virtual
void itk::Object::Modified ( void  ) const
virtualinherited

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

Make sure this object's modified time is greater than all others.

Reimplemented in otb::SVMModel< TValue, TLabel >, otb::SurfaceAdjacencyEffect6SCorrectionSchemeFilter< TInputImage, TOutputImage >, itk::ImageAdaptor< TImage, TAccessor >, itk::ImageAdaptor< TImage, Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, otb::Accessor::VectorImageToASPixelAccessor< TImage::PixelType::ValueType > >, 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::ShiftScalePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, 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 > >, otb::GenericRSTransform< TScalarType, NInputDimensions, NOutputDimensions >, otb::MeanShiftImageFilter< TInputImage, TOutputImage, TLabeledOutput, TBufferConverter >, otb::MeanShiftImageFilter< TInputImage, TOutputImage, TLabeledOutput, MeanShift::VectorBufferConverter >, otb::GCPsToRPCSensorModelImageFilter< TImage >, otb::Polygon< TValue >, otb::ImageRegionAdaptativeSplitter< VImageDimension >, otb::GenericInterpolateImageFunction< TInputImage, TFunction, TBoundaryCondition, TCoordRep >, itk::GrayscaleDilateImageFilter< TInputImage, TOutputImage, TKernel >, otb::PolyLineParametricPathWithValue< TValue, VDimension >, itk::GrayscaleErodeImageFilter< TInputImage, TOutputImage, TKernel >, otb::PolyLineParametricPathWithValue< TValue, 2 >, itk::MorphologicalGradientImageFilter< TInputImage, TOutputImage, TKernel >, itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >, itk::GrayscaleMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >, otb::PhysicalToRPCSensorModelImageFilter< TImage >, itk::MiniPipelineSeparableImageFilter< TInputImage, TOutputImage, TFilter >, itk::MiniPipelineSeparableImageFilter< TInputImage, TOutputImage, RankImageFilter< TInputImage, TInputImage, FlatStructuringElement< ::itk::GetImageDimension< TInputImage >::ImageDimension > > >, itk::NormalizeImageFilter< TInputImage, TOutputImage >, and otb::StatisticsXMLFileReader< TMeasurementVector >.

Definition at line 297 of file itkObject.cxx.

Referenced by otb::Wrapper::InputImageListParameter::AddFromFileName(), otb::Wrapper::InputVectorDataListParameter::AddFromFileName(), otb::Wrapper::InputFilenameListParameter::AddFromFileName(), otb::Wrapper::InputImageListParameter::AddImage(), otb::Wrapper::InputVectorDataListParameter::AddNullElement(), otb::Wrapper::InputImageListParameter::AddNullElement(), otb::Wrapper::InputFilenameListParameter::AddNullElement(), otb::Wrapper::StringListParameter::AddNullElement(), otb::VectorDataModel::AddPointToGeometry(), otb::Wrapper::InputVectorDataListParameter::AddVectorData(), otb::Wrapper::InputFilenameListParameter::ClearValue(), otb::Wrapper::InputVectorDataListParameter::ClearValue(), otb::Wrapper::InputImageListParameter::ClearValue(), otb::VectorDataModel::DeleteGeometry(), otb::VectorDataModel::EndGeometry(), otb::Wrapper::InputFilenameListParameter::Erase(), otb::Wrapper::InputVectorDataListParameter::Erase(), otb::Wrapper::InputImageListParameter::Erase(), itk::NarrowBandImageFilterBase< TInputImage, Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >::InsertNarrowBandNode(), otb::ImageWidget< TInputImage >::LinearInterpolationOff(), otb::ImageWidget< TInputImage >::LinearInterpolationOn(), itk::MatrixOffsetTransformBase< TScalarType, NInputDimensions, NOutputDimensions >::MatrixOffsetTransformBase(), otb::ogr::ImageReference< double >::Modified(), otb::Function::StandardRenderingFunction< TPixel, TRGBPixel, TPixelRepresentationFunction, TTransferFunction >::SetAutoMinMax(), otb::BlendingImageFilter< TInputImage1, TInputImage2, TOutputImage >::SetBlendingFunction(), otb::ImageLayerGenerator< TImageLayer >::SetBlendingFunction(), otb::TileMapImageIO::SetCacheDirectory(), itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >::SetCenter(), otb::Function::StandardRenderingFunction< TPixel, TRGBPixel, TPixelRepresentationFunction, TTransferFunction >::SetChannelList(), itk::LBFGSBOptimizer::SetCostFunction(), itk::MINC2ImageIO::SetDimensionName(), itk::ImageIOBase::SetDimensions(), otb::ImageIOBase::SetDimensions(), itk::ImageIOBase::SetDirection(), otb::ImageIOBase::SetDirection(), otb::Wrapper::InputImageListParameter::SetImageList(), itk::GDCMSeriesFileNames::SetInputDirectory(), otb::HistogramStatisticsFunction< TInputHistogram, TOutput >::SetInputHistogram(), otb::ImageToGenericRSOutputParameters< TImage >::SetInputKeywordList(), otb::Wrapper::InputImageListParameter::SetListFromFileName(), otb::Wrapper::InputVectorDataListParameter::SetListFromFileName(), otb::Wrapper::InputFilenameListParameter::SetListFromFileName(), otb::Function::RenderingFunction< TPixel, TRGBPixel >::SetListSample(), 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(), otb::Wrapper::InputVectorDataListParameter::SetNthFileName(), otb::Wrapper::InputImageListParameter::SetNthFileName(), otb::Wrapper::InputFilenameListParameter::SetNthFileName(), otb::ImageIOBase::SetNumberOfDimensions(), itk::ImageIOBase::SetNumberOfDimensions(), itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >::SetOffset(), itk::ImageIOBase::SetOrigin(), otb::ImageIOBase::SetOrigin(), otb::ImageToGenericRSOutputParameters< TImage >::SetOutputProjectionRef(), otb::MapProjectionAdapter::SetParameter(), otb::Function::GaussianRenderingFunction< TPixel, TRGBPixel, TPixelRepresentationFunction, TTransferFunction >::SetParameters(), otb::Function::StandardRenderingFunction< TPixel, TRGBPixel, TPixelRepresentationFunction, TTransferFunction >::SetParameters(), itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::SetRealThresholds(), otb::ImageLayerGenerator< TImageLayer >::SetRenderingFunction(), otb::RenderingImageFilter< TInputImage, TOutputImage >::SetRenderingFunction(), otb::ImageIOBase::SetSpacing(), itk::ImageIOBase::SetSpacing(), itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::SetThresholds(), itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >::SetTotalObservedScale(), itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >::SetTranslation(), otb::Wrapper::InputFilenameParameter::SetValue(), otb::Wrapper::OutputFilenameParameter::SetValue(), otb::Wrapper::ListViewParameter::SetValue(), otb::Wrapper::ChoiceParameter::SetValue(), otb::Wrapper::InputVectorDataListParameter::SetVectorDataList(), and otb::MapProjectionAdapter::SetWkt().

static Pointer itk::GDCMImageIO::New ( )
static

Method for creation through the object factory.

bool itk::GDCMImageIO::OpenGDCMFileForReading ( std::ifstream &  os,
const char *  filename 
)
protected

Definition at line 251 of file itkGDCMImageIO.cxx.

Referenced by CanReadFile(), and InternalReadImageInformation().

bool itk::GDCMImageIO::OpenGDCMFileForWriting ( std::ofstream &  os,
const char *  filename 
)
protected

Definition at line 281 of file itkGDCMImageIO.cxx.

Referenced by Write().

void itk::GDCMImageIO::operator= ( const Self )
private
void itk::LightObject::Print ( std::ostream &  os,
Indent  indent = 0 
) const
inherited

Cause the object to print itself out.

Avoid DLL boundary problems. This function will be common to all itk objects. It just calls the header/self/trailer virtual print methods, which can be overriden by subclasses (any itk object).

Definition at line 135 of file itkLightObject.cxx.

References itk::Indent::GetNextIndent().

Referenced by itk::operator<<().

void itk::LightObject::PrintHeader ( std::ostream &  os,
Indent  indent 
) const
protectedvirtualinherited

Define a default print header for all objects.

Definition at line 320 of file itkLightObject.cxx.

bool itk::Object::PrintObservers ( std::ostream &  os,
Indent  indent 
) const
protectedinherited

Definition at line 478 of file itkObject.cxx.

void itk::GDCMImageIO::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protectedvirtual

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.

Chaining method to print an object's instance variables, as well as its superclasses.

Reimplemented from itk::LightProcessObject.

Definition at line 2395 of file itkGDCMImageIO.cxx.

References itk::ImageIOBase::GetComponentTypeAsString(), m_BodyPart, m_CompressionType, m_FrameOfReferenceInstanceUID, m_Institution, m_InternalComponentType, m_KeepOriginalUID, m_LoadPrivateTags, m_LoadSequences, m_Manufacturer, m_MaxSizeLoadEntry, m_Modality, m_Model, m_NumberOfSeriesInStudy, m_NumberOfStudyRelatedSeries, m_PatientAge, m_PatientDOB, m_PatientID, m_PatientName, m_PatientSex, m_RescaleIntercept, m_RescaleSlope, m_ScanOptions, m_SeriesInstanceUID, m_StudyDate, m_StudyDescription, m_StudyID, m_StudyInstanceUID, m_UIDPrefix, and itk::ImageIOBase::PrintSelf().

void itk::LightObject::PrintTrailer ( std::ostream &  os,
Indent  indent 
) const
protectedvirtualinherited

Define a default print trailer for all objects.

Definition at line 331 of file itkLightObject.cxx.

void itk::GDCMImageIO::Read ( void *  buffer)
virtual
void itk::ImageIOBase::ReadBufferAsASCII ( std::istream &  os,
void *  buffer,
IOComponentType  ctype,
ImageIOBase::SizeType  numComp 
)
protectedinherited
bool itk::ImageIOBase::ReadBufferAsBinary ( std::istream &  os,
void *  buffer,
ImageIOBase::SizeType  num 
)
protectedinherited

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

Definition at line 645 of file itkImageIOBase.cxx.

Referenced by itk::AnalyzeImageIO::CanReadFile(), itk::BioRadImageIO::Read(), itk::StimulateImageIO::Read(), itk::IPLCommonImageIO::Read(), and itk::AnalyzeImageIO::ReadImageInformation().

void itk::GDCMImageIO::ReadImageInformation ( void  )
virtual

Set the spacing and dimesion information for the current filename.

Implements itk::ImageIOBase.

Definition at line 1268 of file itkGDCMImageIO.cxx.

References InternalReadImageInformation().

void itk::Object::Register ( ) const
virtualinherited

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

Reimplemented from itk::LightObject.

Definition at line 309 of file itkObject.cxx.

Referenced by itk::ObjectFactoryBase::RegisterFactory().

void itk::Object::RemoveAllObservers ( )
inherited

Remove all observers .

Definition at line 435 of file itkObject.cxx.

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

Remove the observer with this tag value.

Definition at line 425 of file itkObject.cxx.

Referenced by otb::StreamingImageVirtualWriter< TInputImage >::GenerateData(), and otb::ImageFileWriter< TInputImage >::Update().

void itk::ImageIOBase::Reset ( const bool  freeDynamic = true)
protectedvirtualinherited
void itk::ImageIOBase::Resize ( const unsigned int  numDimensions,
const unsigned int *  dimensions 
)
protectedinherited

Resize the ImageIOBase object to new dimensions.

Definition at line 88 of file itkImageIOBase.cxx.

References itk::ImageIOBase::ComputeStrides(), itk::ImageIOBase::m_Dimensions, itk::ImageIOBase::m_NumberOfDimensions, and NULL.

virtual void itk::LightProcessObject::SetAbortGenerateData ( bool  _arg)
virtualinherited

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)
virtualinherited

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.

Referenced by itk::NrrdImageIO::ReadImageInformation().

void itk::ImageIOBase::SetByteOrderToBigEndian ( )
inlineinherited
void itk::ImageIOBase::SetByteOrderToLittleEndian ( )
inlineinherited
virtual void itk::ImageIOBase::SetComponentType ( const IOComponentType  _arg)
virtualinherited
virtual void itk::GDCMImageIO::SetCompressionType ( const TCompressionType  _arg)
virtual
void itk::Object::SetDebug ( bool  debugFlag) const
inherited

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

Definition at line 275 of file itkObject.cxx.

void itk::ImageIOBase::SetDimensions ( unsigned int  i,
unsigned int  dim 
)
virtualinherited
void itk::ImageIOBase::SetDirection ( unsigned int  i,
std::vector< double > &  direction 
)
virtualinherited
void itk::ImageIOBase::SetDirection ( unsigned int  i,
vnl_vector< double > &  direction 
)
virtualinherited

Definition at line 162 of file itkImageIOBase.cxx.

References itk::ImageIOBase::m_Direction, and itk::Object::Modified().

virtual void itk::ImageIOBase::SetFileName ( const char *  _arg)
virtualinherited

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

Referenced by itk::SiemensVisionImageIO::CanReadFile().

virtual void itk::ImageIOBase::SetFileType ( const FileType  _arg)
virtualinherited

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

Referenced by itk::MetaImageIO::ReadImageInformation().

void itk::ImageIOBase::SetFileTypeToASCII ( )
inlineinherited
void itk::ImageIOBase::SetFileTypeToBinary ( )
inlineinherited
void itk::Object::SetGlobalWarningDisplay ( bool  val)
staticinherited

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

Set the value of the global debug output control flag.

Definition at line 370 of file itkObject.cxx.

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

virtual void itk::ImageIOBase::SetIORegion ( ImageIORegion  _arg)
virtualinherited

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

Preserve the original DICOM UID of the input files

virtual void itk::GDCMImageIO::SetLoadPrivateTags ( bool  _arg)
virtual

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)
inlinestatic

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 228 of file itkGDCMImageIO.h.

virtual void itk::GDCMImageIO::SetLoadSequences ( bool  _arg)
virtual

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)
inlinestatic

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 211 of file itkGDCMImageIO.h.

virtual void itk::GDCMImageIO::SetMaxSizeLoadEntry ( long  _arg)
virtual

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
virtual void itk::ImageIOBase::SetNumberOfComponents ( unsigned int  _arg)
virtualinherited
void itk::ImageIOBase::SetNumberOfDimensions ( unsigned int  dim)
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.

Definition at line 610 of file itkImageIOBase.cxx.

References itk::ImageIOBase::m_Dimensions, itk::ImageIOBase::m_Direction, itk::ImageIOBase::m_NumberOfDimensions, itk::ImageIOBase::m_Origin, itk::ImageIOBase::m_Spacing, itk::ImageIOBase::m_Strides, itk::Object::Modified(), itk::ImageIOBase::SetDirection(), itk::ImageIOBase::SetOrigin(), and itk::ImageIOBase::SetSpacing().

Referenced by itk::AnalyzeImageIO::AnalyzeImageIO(), itk::BioRadImageIO::BioRadImageIO(), itk::BMPImageIO::BMPImageIO(), itk::Brains2MaskImageIO::Brains2MaskImageIO(), itk::Bruker2DSEQImageIO::Bruker2DSEQImageIO(), itk::Brains2MaskImageIO::CanReadFile(), itk::DICOMImageIO2::DICOMImageIO2(), GDCMImageIO(), itk::VTKImageIO::InternalReadImageInformation(), itk::BioRadImageIO::InternalReadImageInformation(), itk::VTKImageIO2::InternalReadImageInformation(), itk::StimulateImageIO::InternalReadImageInformation(), itk::JPEGImageIO::JPEGImageIO(), itk::MRCImageIO::MRCImageIO(), itk::NiftiImageIO::NiftiImageIO(), itk::PhilipsRECImageIO::PhilipsRECImageIO(), itk::PNGImageIO::PNGImageIO(), itk::RawImageIO< TPixel, VImageDimension >::RawImageIO(), itk::TIFFImageIO::ReadImageInformation(), itk::BMPImageIO::ReadImageInformation(), itk::GiplImageIO::ReadImageInformation(), itk::PNGImageIO::ReadImageInformation(), itk::JPEGImageIO::ReadImageInformation(), itk::NrrdImageIO::ReadImageInformation(), itk::MetaImageIO::ReadImageInformation(), itk::VoxBoCUBImageIO::ReadImageInformation(), itk::MINC2ImageIO::ReadImageInformation(), itk::IPLCommonImageIO::ReadImageInformation(), itk::PhilipsRECImageIO::ReadImageInformation(), itk::AnalyzeImageIO::ReadImageInformation(), itk::StimulateImageIO::StimulateImageIO(), itk::TIFFImageIO::TIFFImageIO(), itk::VTKImageIO::VTKImageIO(), and itk::VTKImageIO2::VTKImageIO2().

void itk::ImageIOBase::SetOrigin ( unsigned int  i,
double  origin 
)
virtualinherited
virtual void itk::ImageIOBase::SetPixelType ( const IOPixelType  _arg)
virtualinherited

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.

Referenced by itk::VTKImageIO::InternalReadImageInformation(), itk::VTKImageIO2::InternalReadImageInformation(), itk::StimulateImageIO::InternalReadImageInformation(), InternalReadImageInformation(), itk::itkSetPixelType(), itk::DICOMImageIO2::ReadImageInformation(), itk::TIFFImageIO::ReadImageInformation(), itk::NrrdImageIO::ReadImageInformation(), itk::MetaImageIO::ReadImageInformation(), itk::MRCImageIO::ReadImageInformation(), itk::MINC2ImageIO::ReadImageInformation(), and itk::ImageIOBase::SetPixelTypeInfo().

bool itk::ImageIOBase::SetPixelTypeInfo ( const std::type_info &  ptype)
virtualinherited
virtual void itk::LightProcessObject::SetProgress ( float  _arg)
virtualinherited

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.

void itk::Object::SetReferenceCount ( int  ref)
virtualinherited

Sets the reference count (use with care)

If there is a delete method, invoke it.

Reimplemented from itk::LightObject.

Definition at line 347 of file itkObject.cxx.

void itk::ImageIOBase::SetSpacing ( unsigned int  i,
double  spacing 
)
virtualinherited
virtual void itk::GDCMImageIO::SetUIDPrefix ( const char *  _arg)
virtual
virtual void itk::ImageIOBase::SetUseCompression ( bool  _arg)
virtualinherited

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

virtual void itk::ImageIOBase::SetUseStreamedReading ( bool  _arg)
virtualinherited

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

virtual void itk::ImageIOBase::SetUseStreamedWriting ( bool  _arg)
virtualinherited

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

virtual bool itk::ImageIOBase::SupportsDimension ( unsigned long  dim)
inlinevirtualinherited

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::RawImageIO< TPixel, VImageDimension >, itk::MetaImageIO, and itk::NrrdImageIO.

Definition at line 337 of file itkImageIOBase.h.

void itk::Object::UnRegister ( ) const
virtualinherited

Decrease the reference count (release by another object).

If there is a delete method, invoke it.

Reimplemented from itk::LightObject.

Definition at line 324 of file itkObject.cxx.

Referenced by itk::Object::New(), and itk::ObjectFactoryBase::UnRegisterFactory().

void itk::LightProcessObject::UpdateOutputData ( void  )
virtualinherited

Actually generate new output.

GenerateData this object - we have not aborted yet, and our progress before we start to execute is 0.0.

If we ended due to aborting, push the progress up to 1.0 (since it probably didn't end there)

Definition at line 77 of file itkLightProcessObject.cxx.

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).

Definition at line 51 of file itkLightProcessObject.cxx.

virtual void itk::ImageIOBase::UseCompressionOff ( )
virtualinherited
virtual void itk::ImageIOBase::UseCompressionOn ( )
virtualinherited
virtual void itk::ImageIOBase::UseStreamedReadingOff ( )
virtualinherited
virtual void itk::ImageIOBase::UseStreamedReadingOn ( )
virtualinherited
virtual void itk::ImageIOBase::UseStreamedWritingOff ( )
virtualinherited
virtual void itk::ImageIOBase::UseStreamedWritingOn ( )
virtualinherited
void itk::GDCMImageIO::Write ( const void *  buffer)
virtual
void itk::ImageIOBase::WriteBufferAsASCII ( std::ostream &  os,
const void *  buffer,
IOComponentType  ctype,
ImageIOBase::SizeType  numComp 
)
protectedinherited
void itk::GDCMImageIO::WriteImageInformation ( void  )
virtual

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

Implements itk::ImageIOBase.

Definition at line 1316 of file itkGDCMImageIO.cxx.

Member Data Documentation

std::string itk::GDCMImageIO::m_BodyPart
private

Definition at line 270 of file itkGDCMImageIO.h.

Referenced by GetBodyPart(), and PrintSelf().

ByteOrder itk::ImageIOBase::m_ByteOrder
protectedinherited
IOComponentType itk::ImageIOBase::m_ComponentType
protectedinherited

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

Definition at line 413 of file itkImageIOBase.h.

Referenced by itk::AnalyzeImageIO::AnalyzeImageIO(), itk::BioRadImageIO::BioRadImageIO(), itk::BMPImageIO::BMPImageIO(), itk::Brains2MaskImageIO::Brains2MaskImageIO(), itk::Bruker2DSEQImageIO::Bruker2DSEQImageIO(), itk::Brains2MaskImageIO::CanReadFile(), itk::AnalyzeImageIO::DefineHeaderObjectDataType(), itk::DICOMImageIO2::DICOMImageIO2(), itk::TIFFImageIO::EvaluateImageAt(), itk::ImageIOBase::GetComponentSize(), itk::ImageIOBase::GetComponentTypeInfo(), itk::ImageIOBase::GetPixelSize(), InternalReadImageInformation(), itk::JPEGImageIO::JPEGImageIO(), itk::PhilipsRECImageIO::PhilipsRECImageIO(), itk::PNGImageIO::PNGImageIO(), itk::ImageIOBase::PrintSelf(), itk::NrrdImageIO::Read(), itk::NiftiImageIO::Read(), Read(), itk::TIFFImageIO::ReadGenericImage(), itk::TIFFImageIO::ReadImageInformation(), itk::GiplImageIO::ReadImageInformation(), itk::PNGImageIO::ReadImageInformation(), itk::VoxBoCUBImageIO::ReadImageInformation(), itk::PhilipsRECImageIO::ReadImageInformation(), itk::AnalyzeImageIO::ReadImageInformation(), itk::Bruker2DSEQImageIO::ReadImageInformation(), itk::TIFFImageIO::ReadTwoSamplesPerPixelImage(), itk::TIFFImageIO::ReadVolume(), itk::PhilipsRECImageIO::SwapBytesIfNecessary(), itk::AnalyzeImageIO::SwapBytesIfNecessary(), itk::Bruker2DSEQImageIO::SwapBytesIfNecessary(), itk::TIFFImageIO::TIFFImageIO(), itk::VTKImageIO::Write(), itk::NrrdImageIO::Write(), Write(), and itk::VTKImageIO2::WriteImageInformation().

TCompressionType itk::GDCMImageIO::m_CompressionType
private

Definition at line 290 of file itkGDCMImageIO.h.

Referenced by GDCMImageIO(), PrintSelf(), and Write().

InternalHeader* itk::GDCMImageIO::m_DICOMHeader
private

Definition at line 293 of file itkGDCMImageIO.h.

Referenced by GDCMImageIO(), InternalReadImageInformation(), Read(), and ~GDCMImageIO().

std::vector< SizeValueType > itk::ImageIOBase::m_Dimensions
protectedinherited
std::vector<std::vector<double> > itk::ImageIOBase::m_Direction
protectedinherited

The arrays which store the direction cosines of the image.

Definition at line 456 of file itkImageIOBase.h.

Referenced by InternalReadImageInformation(), itk::ImageIOBase::SetDirection(), itk::ImageIOBase::SetNumberOfDimensions(), itk::MINC2ImageIO::Write(), and Write().

std::string itk::ImageIOBase::m_FileName
protectedinherited

Filename to read

Definition at line 423 of file itkImageIOBase.h.

Referenced by itk::Brains2MaskImageIO::CanWriteFile(), itk::StreamingImageIOBase::GetActualNumberOfSplitsForWriting(), itk::MetaImageIO::GetActualNumberOfSplitsForWriting(), itk::BioRadImageIO::InternalReadImageInformation(), itk::VTKImageIO::InternalReadImageInformation(), itk::VTKImageIO2::InternalReadImageInformation(), itk::StimulateImageIO::InternalReadImageInformation(), itk::MRCImageIO::InternalReadImageInformation(), InternalReadImageInformation(), itk::TIFFImageIO::InternalWrite(), itk::StreamingImageIOBase::OpenFileForWriting(), itk::ImageIOBase::PrintSelf(), itk::DICOMImageIO2::Read(), itk::BMPImageIO::Read(), itk::BioRadImageIO::Read(), itk::VTKImageIO2::Read(), itk::MetaImageIO::Read(), itk::StimulateImageIO::Read(), itk::MINC2ImageIO::Read(), Read(), itk::PhilipsRECImageIO::Read(), itk::AnalyzeImageIO::Read(), itk::Bruker2DSEQImageIO::Read(), itk::StreamingImageIOBase::ReadBufferAsBinary(), itk::VTKImageIO2::ReadHeaderSize(), itk::DICOMImageIO2::ReadImageInformation(), itk::TIFFImageIO::ReadImageInformation(), itk::BMPImageIO::ReadImageInformation(), itk::GiplImageIO::ReadImageInformation(), itk::PNGImageIO::ReadImageInformation(), itk::JPEGImageIO::ReadImageInformation(), itk::MetaImageIO::ReadImageInformation(), itk::VoxBoCUBImageIO::ReadImageInformation(), itk::MINC2ImageIO::ReadImageInformation(), itk::Brains2MaskImageIO::ReadImageInformation(), itk::PhilipsRECImageIO::ReadImageInformation(), itk::AnalyzeImageIO::ReadImageInformation(), itk::Bruker2DSEQImageIO::ReadImageInformation(), itk::ImageIOBase::Reset(), itk::StreamingImageIOBase::StreamWriteBufferAsBinary(), itk::LSMImageIO::Write(), itk::VTKImageIO::Write(), itk::BioRadImageIO::Write(), itk::VTKImageIO2::Write(), itk::PNGImageIO::Write(), itk::JPEGImageIO::Write(), itk::StimulateImageIO::Write(), itk::MINC2ImageIO::Write(), Write(), itk::StreamingImageIOBase::WriteBufferAsBinary(), itk::VTKImageIO2::WriteImageInformation(), itk::MRCImageIO::WriteImageInformation(), and itk::MINC2ImageIO::XYZFromDirectionCosines().

FileType itk::ImageIOBase::m_FileType
protectedinherited
std::string itk::GDCMImageIO::m_FrameOfReferenceInstanceUID
protected

Definition at line 257 of file itkGDCMImageIO.h.

Referenced by GDCMImageIO(), PrintSelf(), and Write().

unsigned int itk::GDCMImageIO::m_GlobalNumberOfDimensions
private

defines whether this image is a 2D out of a 2D image or a 2D out of a 3D image.

Definition at line 289 of file itkGDCMImageIO.h.

Referenced by GDCMImageIO(), and Write().

bool itk::ImageIOBase::m_Initialized
protectedinherited

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

Definition at line 420 of file itkImageIOBase.h.

Referenced by itk::ImageIOBase::Reset().

std::string itk::GDCMImageIO::m_Institution
private

Definition at line 278 of file itkGDCMImageIO.h.

Referenced by GetInstitution(), and PrintSelf().

ImageIOBase::IOComponentType itk::GDCMImageIO::m_InternalComponentType
private

Definition at line 292 of file itkGDCMImageIO.h.

Referenced by GDCMImageIO(), InternalReadImageInformation(), PrintSelf(), Read(), and Write().

ImageIORegion itk::ImageIOBase::m_IORegion
protectedinherited

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

Definition at line 443 of file itkImageIOBase.h.

Referenced by itk::ImageIOBase::PrintSelf(), itk::MetaImageIO::Read(), and itk::StreamingImageIOBase::StreamWriteBufferAsBinary().

bool itk::GDCMImageIO::m_KeepOriginalUID
protected

Definition at line 258 of file itkGDCMImageIO.h.

Referenced by GDCMImageIO(), PrintSelf(), and Write().

bool itk::GDCMImageIO::m_LoadPrivateTags
private

Definition at line 283 of file itkGDCMImageIO.h.

Referenced by InternalReadImageInformation(), and PrintSelf().

bool itk::GDCMImageIO::m_LoadPrivateTagsDefault = true
staticprivate

Definition at line 285 of file itkGDCMImageIO.h.

bool itk::GDCMImageIO::m_LoadSequences
private

Definition at line 282 of file itkGDCMImageIO.h.

Referenced by InternalReadImageInformation(), and PrintSelf().

bool itk::GDCMImageIO::m_LoadSequencesDefault = true
staticprivate

Definition at line 284 of file itkGDCMImageIO.h.

std::string itk::GDCMImageIO::m_Manufacturer
private

Definition at line 277 of file itkGDCMImageIO.h.

Referenced by GetManufacturer(), and PrintSelf().

long itk::GDCMImageIO::m_MaxSizeLoadEntry
protected

Definition at line 259 of file itkGDCMImageIO.h.

Referenced by GDCMImageIO(), InternalReadImageInformation(), and PrintSelf().

std::string itk::GDCMImageIO::m_Modality
private

Definition at line 276 of file itkGDCMImageIO.h.

Referenced by GetModality(), and PrintSelf().

std::string itk::GDCMImageIO::m_Model
private

Definition at line 279 of file itkGDCMImageIO.h.

Referenced by GetModel(), and PrintSelf().

unsigned int itk::ImageIOBase::m_NumberOfComponents
protectedinherited

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 427 of file itkImageIOBase.h.

Referenced by itk::BioRadImageIO::BioRadImageIO(), itk::ImageIOBase::ComputeStrides(), itk::LSMImageIO::FillZeissStruct(), itk::ImageIOBase::PrintSelf(), Read(), itk::MetaImageIO::ReadImageInformation(), itk::ImageIOBase::Reset(), and Write().

unsigned int itk::ImageIOBase::m_NumberOfDimensions
protectedinherited
std::string itk::GDCMImageIO::m_NumberOfSeriesInStudy
private

Definition at line 271 of file itkGDCMImageIO.h.

Referenced by GetNumberOfSeriesInStudy(), and PrintSelf().

std::string itk::GDCMImageIO::m_NumberOfStudyRelatedSeries
private

Definition at line 272 of file itkGDCMImageIO.h.

Referenced by GetNumberOfStudyRelatedSeries(), and PrintSelf().

std::vector<double> itk::ImageIOBase::m_Origin
protectedinherited
std::string itk::GDCMImageIO::m_PatientAge
private

Definition at line 274 of file itkGDCMImageIO.h.

Referenced by GetPatientAge(), and PrintSelf().

std::string itk::GDCMImageIO::m_PatientDOB
private

Definition at line 267 of file itkGDCMImageIO.h.

Referenced by GetPatientDOB(), and PrintSelf().

std::string itk::GDCMImageIO::m_PatientID
private

Definition at line 266 of file itkGDCMImageIO.h.

Referenced by GetPatientID(), and PrintSelf().

std::string itk::GDCMImageIO::m_PatientName
private

Definition at line 265 of file itkGDCMImageIO.h.

Referenced by GetPatientName(), and PrintSelf().

std::string itk::GDCMImageIO::m_PatientSex
private

Definition at line 273 of file itkGDCMImageIO.h.

Referenced by GetPatientSex(), and PrintSelf().

IOPixelType itk::ImageIOBase::m_PixelType
protectedinherited
InternalReferenceCountType itk::LightObject::m_ReferenceCount
mutableprotectedinherited

Number of uses of this object by other objects.

Definition at line 141 of file itkLightObject.h.

SimpleFastMutexLock itk::LightObject::m_ReferenceCountLock
mutableprotectedinherited

Mutex lock to protect modification to the reference count

Definition at line 144 of file itkLightObject.h.

double itk::GDCMImageIO::m_RescaleIntercept
protected

Definition at line 252 of file itkGDCMImageIO.h.

Referenced by GDCMImageIO(), InternalReadImageInformation(), PrintSelf(), Read(), and Write().

double itk::GDCMImageIO::m_RescaleSlope
protected

Definition at line 251 of file itkGDCMImageIO.h.

Referenced by GDCMImageIO(), InternalReadImageInformation(), PrintSelf(), Read(), and Write().

std::string itk::GDCMImageIO::m_ScanOptions
private

Definition at line 280 of file itkGDCMImageIO.h.

Referenced by GetScanOptions(), and PrintSelf().

std::string itk::GDCMImageIO::m_SeriesInstanceUID
protected

Definition at line 256 of file itkGDCMImageIO.h.

Referenced by GDCMImageIO(), PrintSelf(), and Write().

std::vector<double> itk::ImageIOBase::m_Spacing
protectedinherited
std::vector< SizeType > itk::ImageIOBase::m_Strides
protectedinherited

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

Definition at line 460 of file itkImageIOBase.h.

Referenced by itk::ImageIOBase::ComputeStrides(), itk::ImageIOBase::Reset(), itk::ImageIOBase::SetNumberOfDimensions(), and itk::MINC2ImageIO::Write().

std::string itk::GDCMImageIO::m_StudyDate
private

Definition at line 275 of file itkGDCMImageIO.h.

Referenced by GetStudyDate(), and PrintSelf().

std::string itk::GDCMImageIO::m_StudyDescription
private

Definition at line 269 of file itkGDCMImageIO.h.

Referenced by GetStudyDescription(), and PrintSelf().

std::string itk::GDCMImageIO::m_StudyID
private

Definition at line 268 of file itkGDCMImageIO.h.

Referenced by GetStudyID(), and PrintSelf().

std::string itk::GDCMImageIO::m_StudyInstanceUID
protected

Definition at line 255 of file itkGDCMImageIO.h.

Referenced by GDCMImageIO(), PrintSelf(), and Write().

std::string itk::GDCMImageIO::m_UIDPrefix
protected

Definition at line 254 of file itkGDCMImageIO.h.

Referenced by GDCMImageIO(), PrintSelf(), and Write().

bool itk::ImageIOBase::m_UseCompression
protectedinherited
bool itk::ImageIOBase::m_UseStreamedReading
protectedinherited
bool itk::ImageIOBase::m_UseStreamedWriting
protectedinherited

Should we use streaming for writing

Definition at line 439 of file itkImageIOBase.h.

Referenced by itk::ImageIOBase::PrintSelf(), and itk::ImageIOBase::Reset().


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

Generated at Sun May 19 2013 01:47:23 for Orfeo Toolbox with doxygen 1.8.3.1