Orfeo Toolbox  4.2
Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
otb::MSTARImageIO Class Reference

ImageIO object for reading and writing MSTAR images. More...

#include <otbMSTARImageIO.h>

+ Inheritance diagram for otb::MSTARImageIO:
+ Collaboration diagram for otb::MSTARImageIO:

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 itk::SmartPointer< SelfPointer
 
typedef MSTARImageIO Self
 
typedef std::streamoff SizeType
 
typedef unsigned long SizeValueType
 
typedef otb::ImageIOBase Superclass
 

Public Member Functions

 MSTARImageIO ()
 
virtual ~MSTARImageIO ()
 
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 itk::ImageIORegion GenerateStreamableReadRegionFromRequestedRegion (const itk::ImageIORegion &requested) const
 
virtual const bool & GetAbortGenerateData ()
 
virtual unsigned int GetActualNumberOfSplitsForWriting (unsigned int numberOfRequestedSplits, const itk::ImageIORegion &pasteRegion, const itk::ImageIORegion &largestPossibleRegion)
 
virtual ByteOrder GetByteOrder () const
 
std::string GetByteOrderAsString (ByteOrder) const
 
Command * GetCommand (unsigned long tag)
 
virtual unsigned int GetComponentSize () const
 
virtual IOComponentType GetComponentType () const
 
std::string GetComponentTypeAsString (IOComponentType) const
 
virtual const std::type_info & GetComponentTypeInfo () 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
 
SizeType GetImageSizeInBytes () const
 
SizeType GetImageSizeInComponents () const
 
SizeType GetImageSizeInPixels () const
 
virtual const itk::ImageIORegionGetIORegion ()
 
MetaDataDictionary & GetMetaDataDictionary (void)
 
const MetaDataDictionary & GetMetaDataDictionary (void) const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const char * GetNameOfClass () const
 
virtual const unsigned int & GetNumberOfComponents ()
 
virtual unsigned int GetNumberOfDimensions () const
 
virtual const std::string & GetObjectName ()
 
virtual double GetOrigin (unsigned int i) const
 
virtual SizeType GetPixelStride () const
 
virtual IOPixelType GetPixelType () const
 
std::string GetPixelTypeAsString (IOPixelType) const
 
virtual const float & GetProgress ()
 
virtual int GetReferenceCount () const
 
virtual double GetSpacing (unsigned int i) const
 
virtual itk::ImageIORegion GetSplitRegionForWriting (unsigned int ithPiece, unsigned int numberOfActualSplits, const itk::ImageIORegion &pasteRegion, const itk::ImageIORegion &largestPossibleRegion)
 
const ArrayOfExtensionsTypeGetSupportedReadExtensions () const
 
const ArrayOfExtensionsTypeGetSupportedWriteExtensions () const
 
virtual const TimeStamp & GetTimeStamp () const
 
virtual bool GetUseCompression () const
 
virtual bool GetUseStreamedReading () const
 
virtual bool GetUseStreamedWriting () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
 itkCloneMacro (Self)
 
virtual void Modified () const
 
void Print (std::ostream &os, Indent indent=0) const
 
void PrintSelf (std::ostream &os, itk::Indent indent) const
 
virtual void Read (void *buffer)
 
virtual void ReadImageInformation ()
 
virtual void Register () const ITK_OVERRIDE
 
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)
 
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 (itk::ImageIORegion _arg)
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetNumberOfComponents (unsigned int _arg)
 
void SetNumberOfDimensions (unsigned int)
 
virtual void SetObjectName (std::string _arg)
 
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) ITK_OVERRIDE
 
virtual void SetSpacing (unsigned int i, double spacing)
 
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 ITK_OVERRIDE
 
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 void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 

Protected Types

typedef int InternalReferenceCountType
 

Protected Member Functions

void AddSupportedReadExtension (const char *extension)
 
void AddSupportedWriteExtension (const char *extension)
 
void ComputeStrides ()
 
virtual void GenerateData ()
 
virtual unsigned int GetActualNumberOfSplitsForWritingCanStreamWrite (unsigned int numberOfRequestedSplits, const itk::ImageIORegion &pasteRegion) const
 
SizeType GetComponentStride () const
 
virtual unsigned int GetPixelSize () const
 
SizeType GetRowStride () const
 
SizeType GetSliceStride () const
 
virtual itk::ImageIORegion GetSplitRegionForWritingCanStreamWrite (unsigned int ithPiece, unsigned int numberOfActualSplits, const itk::ImageIORegion &pasteRegion) const
 
virtual LightObject::Pointer InternalClone () const
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
bool PrintObservers (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)
 
virtual void SetTimeStamp (const TimeStamp &time)
 
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
 
bool m_Initialized
 
itk::ImageIORegion m_IORegion
 
unsigned int m_NumberOfComponents
 
unsigned int m_NumberOfDimensions
 
std::vector< double > m_Origin
 
IOPixelType m_PixelType
 
InternalReferenceCountType m_ReferenceCount
 
SimpleFastMutexLock m_ReferenceCountLock
 
std::vector< double > m_Spacing
 
std::vector< SizeTypem_Strides
 
bool m_UseCompression
 
bool m_UseStreamedReading
 
bool m_UseStreamedWriting
 

Private Member Functions

 MSTARImageIO (const Self &)
 
float byteswap_SR_IR (unsigned char *pointer)
 
unsigned short byteswap_SUS_IUS (unsigned char *pointer)
 
int CheckByteOrder (void)
 
void operator= (const Self &)
 

Private Attributes

unsigned char bigfloatbuf [4]
 
unsigned char bigushortbuf [2]
 
int byteorder
 
long bytesPerImage
 
float * CHIPdata
 
unsigned short * FSCENEdata
 
FILE * HDRfp
 
char HDRname [80]
 
int i
 
int j
 
float littlefloatval
 
unsigned short littleushortval
 
int m_BytePerPixel
 
long magloc
 
FILE * MSTARfp
 
const char * MSTARname
 
int mstartype
 
int n
 
long nchunks
 
int nhlen
 
int numcols
 
int numgot
 
int numrows
 
int outOpt
 
char * phdr
 
int phlen
 
FILE * RAWfp
 
char RAWname [80]
 
int rv
 
char tbuff [1024]
 
long totchunks
 
char * tptr
 

Detailed Description

ImageIO object for reading and writing MSTAR images.

The streaming read/write are implemented.

Definition at line 35 of file otbMSTARImageIO.h.

Member Typedef Documentation

typedef std::vector< std::string > otb::ImageIOBase::ArrayOfExtensionsType
inherited

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

Definition at line 387 of file otbImageIOBase.h.

typedef vcl_size_t otb::ImageIOBase::BufferSizeType
inherited

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

Definition at line 256 of file otbImageIOBase.h.

typedef SmartPointer< const Self > itk::LightProcessObject::ConstPointer
inherited

Definition at line 79 of file itkLightProcessObject.h.

typedef long otb::ImageIOBase::IndexValueType
inherited

Types for managing image size and image index components.

Definition at line 71 of file otbImageIOBase.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 152 of file itkLightObject.h.

Definition at line 41 of file otbMSTARImageIO.h.

Standard class typedefs.

Definition at line 39 of file otbMSTARImageIO.h.

typedef std::streamoff otb::ImageIOBase::SizeType
inherited

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

Definition at line 253 of file otbImageIOBase.h.

typedef unsigned long otb::ImageIOBase::SizeValueType
inherited

Definition at line 75 of file otbImageIOBase.h.

Definition at line 40 of file otbMSTARImageIO.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 otbImageIOBase.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 otbImageIOBase.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 otbImageIOBase.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 otbImageIOBase.h.

Constructor & Destructor Documentation

otb::MSTARImageIO::MSTARImageIO ( )
otb::MSTARImageIO::~MSTARImageIO ( )
virtual

Destructor

Definition at line 77 of file otbMSTARImageIO.cxx.

References NULL, and phdr.

otb::MSTARImageIO::MSTARImageIO ( 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 486 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 497 of file itkObject.cxx.

References itk::SubjectImplementation::AddObserver().

void otb::ImageIOBase::AddSupportedReadExtension ( const char *  extension)
protectedinherited
void otb::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 150 of file itkLightObject.cxx.

float otb::MSTARImageIO::byteswap_SR_IR ( unsigned char *  pointer)
private
Methode permettant de recuperer le format et le nom de l'image a partir du

nom d'un fichier image.

Definition at line 673 of file otbMSTARImageIO.cxx.

Referenced by Read().

unsigned short otb::MSTARImageIO::byteswap_SUS_IUS ( unsigned char *  pointer)
private

Definition at line 687 of file otbMSTARImageIO.cxx.

Referenced by Read().

bool otb::MSTARImageIO::CanReadFile ( const char *  filename)
virtual

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

Implements otb::ImageIOBase.

Definition at line 86 of file otbMSTARImageIO.cxx.

References CHIP_IMAGE, FSCENE_IMAGE, MSTARfp, MSTARname, mstartype, nhlen, NULL, numcols, numrows, otbMsgDevMacro, phlen, tbuff, and tptr.

virtual bool otb::MSTARImageIO::CanStreamRead ( )
inlinevirtual

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

Reimplemented from otb::ImageIOBase.

Definition at line 56 of file otbMSTARImageIO.h.

virtual bool otb::MSTARImageIO::CanStreamWrite ( )
inlinevirtual

Determine the file type. Returns true if the ImageIO can stream write the specified file

Reimplemented from otb::ImageIOBase.

Definition at line 74 of file otbMSTARImageIO.h.

bool otb::MSTARImageIO::CanWriteFile ( const char *  filename)
virtual

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

Implements otb::ImageIOBase.

Definition at line 217 of file otbMSTARImageIO.cxx.

int otb::MSTARImageIO::CheckByteOrder ( void  )
private

Definition at line 699 of file otbMSTARImageIO.cxx.

References b, LSB_FIRST, and MSB_FIRST.

Referenced by Read().

void otb::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 525 of file otbImageIOBase.cxx.

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

Referenced by otb::ImageIOBase::Resize().

virtual::itk::LightObject::Pointer otb::MSTARImageIO::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::Object.

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

Turn debugging output off.

Definition at line 327 of file itkObject.cxx.

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

Turn debugging output on.

Definition at line 317 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 91 of file itkLightObject.cxx.

virtual void itk::LightProcessObject::GenerateData ( void  )
inlineprotectedvirtualinherited
itk::ImageIORegion otb::ImageIOBase::GenerateStreamableReadRegionFromRequestedRegion ( const itk::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

Definition at line 1203 of file otbImageIOBase.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 otb::ImageIOBase::GetActualNumberOfSplitsForWriting ( unsigned int  numberOfRequestedSplits,
const itk::ImageIORegion pasteRegion,
const itk::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

Definition at line 1107 of file otbImageIOBase.cxx.

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

unsigned int otb::ImageIOBase::GetActualNumberOfSplitsForWritingCanStreamWrite ( unsigned int  numberOfRequestedSplits,
const itk::ImageIORegion pasteRegion 
) const
protectedvirtualinherited

an implementation of ImageRegionSplitter:GetNumberOfSplits

Reimplemented in otb::TileMapImageIO.

Definition at line 1078 of file otbImageIOBase.cxx.

References itk::ImageIORegion::GetImageDimension(), and itk::ImageIORegion::GetSize().

Referenced by otb::ImageIOBase::GetActualNumberOfSplitsForWriting().

virtual ByteOrder otb::ImageIOBase::GetByteOrder ( ) const
virtualinherited
std::string otb::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 724 of file otbImageIOBase.cxx.

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

Referenced by otb::ONERAImageIO::InternalReadImageInformation(), otb::ONERAImageIO::InternalWriteImageInformation(), and otb::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 assign 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 509 of file itkObject.cxx.

References itk::Object::GetCommand().

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

unsigned int otb::ImageIOBase::GetComponentSize ( ) const
virtualinherited
ImageIOBase::SizeType otb::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 569 of file otbImageIOBase.cxx.

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

Get the value of the debug flag.

Definition at line 337 of file itkObject.cxx.

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

std::vector< double > otb::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.

Definition at line 1261 of file otbImageIOBase.cxx.

virtual unsigned int otb::ImageIOBase::GetDimensions ( unsigned int  i) const
inlinevirtualinherited

Definition at line 107 of file otbImageIOBase.h.

virtual std::vector<double> otb::ImageIOBase::GetDirection ( unsigned int  i) const
inlinevirtualinherited

Definition at line 130 of file otbImageIOBase.h.

virtual const char* otb::ImageIOBase::GetFileName ( ) const
virtualinherited
virtual FileType otb::ImageIOBase::GetFileType ( ) const
virtualinherited
std::string otb::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 708 of file otbImageIOBase.cxx.

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

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

bool itk::Object::GetGlobalWarningDisplay ( )
staticinherited

Get the value of the global debug output control flag.

Definition at line 479 of file itkObject.cxx.

ImageIOBase::SizeType otb::ImageIOBase::GetImageSizeInBytes ( ) const
inherited

Return the number of bytes in the image.

Definition at line 562 of file otbImageIOBase.cxx.

ImageIOBase::SizeType otb::ImageIOBase::GetImageSizeInComponents ( ) const
inherited

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

Definition at line 555 of file otbImageIOBase.cxx.

ImageIOBase::SizeType otb::ImageIOBase::GetImageSizeInPixels ( ) const
inherited

Return the number of pixels in the image.

Definition at line 540 of file otbImageIOBase.cxx.

virtual const itk::ImageIORegion& otb::ImageIOBase::GetIORegion ( )
virtualinherited
MetaDataDictionary & itk::Object::GetMetaDataDictionary ( void  )
inherited
const MetaDataDictionary & itk::Object::GetMetaDataDictionary ( void  ) const
inherited
Returns
A constant reference to this objects MetaDataDictionary.

Definition at line 636 of file itkObject.cxx.

ModifiedTimeType 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::ComplexConjugatePixelAccessor< TImage::PixelType > >, 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, TTransformPrecisionType >, itk::MultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >, itk::SpatialObject< VDimension >, itk::SpatialObject< 3 >, itk::SpatialObject< TDimension >, itk::SpatialObject< TMesh::PointDimension >, itk::VectorResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >, itk::ImageRegistrationMethod< TFixedImage, TMovingImage >, itk::ImageToSpatialObjectRegistrationMethod< TFixedImage, TMovingSpatialObject >, itk::InverseDeformationFieldImageFilter< TInputImage, TOutputImage >, itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >, itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >, itk::InverseDisplacementFieldImageFilter< TInputImage, TOutputImage >, itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >, itk::TransformToDisplacementFieldSource< TOutputImage, TTransformPrecisionType >, itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >, itk::DeformationFieldSource< TOutputImage >, itk::LandmarkDisplacementFieldSource< TOutputImage >, itk::ImageSpatialObject< TDimension, TPixelType >, itk::ImageSpatialObject< TDimension, unsigned char >, itk::MeshSpatialObject< TMesh >, itk::DataObjectDecorator< T >, and itk::SceneSpatialObject< TSpaceDimension >.

Definition at line 357 of file itkObject.cxx.

Referenced by itk::LandmarkDisplacementFieldSource< TOutputImage >::GetMTime(), itk::DeformationFieldSource< TOutputImage >::GetMTime(), itk::TransformToDisplacementFieldSource< TOutputImage, TTransformPrecisionType >::GetMTime(), itk::InverseDisplacementFieldImageFilter< TInputImage, TOutputImage >::GetMTime(), itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::GetMTime(), itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::GetMTime(), itk::InverseDeformationFieldImageFilter< TInputImage, TOutputImage >::GetMTime(), itk::VectorResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::GetMTime(), itk::SpatialObject< VDimension >::GetMTime(), itk::ResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::GetMTime(), itk::SpatialObject< TMesh::PointDimension >::GetObjectMTime(), and itk::ProcessObject::UpdateOutputInformation().

virtual const char* otb::MSTARImageIO::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from otb::ImageIOBase.

virtual const unsigned int& otb::ImageIOBase::GetNumberOfComponents ( )
virtualinherited
virtual unsigned int otb::ImageIOBase::GetNumberOfDimensions ( ) const
virtualinherited

Referenced by otb::ONERAImageIO::Read().

virtual const std::string& itk::Object::GetObjectName ( )
virtualinherited
virtual double otb::ImageIOBase::GetOrigin ( unsigned int  i) const
inlinevirtualinherited
unsigned int otb::ImageIOBase::GetPixelSize ( ) const
protectedvirtualinherited
ImageIOBase::SizeType otb::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 576 of file otbImageIOBase.cxx.

virtual IOPixelType otb::ImageIOBase::GetPixelType ( ) const
virtualinherited
std::string otb::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 112 of file itkLightObject.h.

ImageIOBase::SizeType otb::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 583 of file otbImageIOBase.cxx.

ImageIOBase::SizeType otb::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 590 of file otbImageIOBase.cxx.

virtual double otb::ImageIOBase::GetSpacing ( unsigned int  i) const
inlinevirtualinherited

Definition at line 121 of file otbImageIOBase.h.

itk::ImageIORegion otb::ImageIOBase::GetSplitRegionForWriting ( unsigned int  ithPiece,
unsigned int  numberOfActualSplits,
const itk::ImageIORegion pasteRegion,
const itk::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

Definition at line 1185 of file otbImageIOBase.cxx.

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

itk::ImageIORegion otb::ImageIOBase::GetSplitRegionForWritingCanStreamWrite ( unsigned int  ithPiece,
unsigned int  numberOfActualSplits,
const itk::ImageIORegion pasteRegion 
) const
protectedvirtualinherited
const ImageIOBase::ArrayOfExtensionsType & otb::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 otbImageIOBase.cxx.

References otb::ImageIOBase::m_SupportedReadExtensions.

const ImageIOBase::ArrayOfExtensionsType & otb::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 otbImageIOBase.cxx.

References otb::ImageIOBase::m_SupportedWriteExtensions.

const TimeStamp & itk::Object::GetTimeStamp ( ) const
virtualinherited

Return this object's time stamp.

Return the modification for this object.

Reimplemented in itk::RealTimeClock.

Definition at line 367 of file itkObject.cxx.

Referenced by itk::RealTimeClock::GetTimeStamp().

virtual bool otb::ImageIOBase::GetUseCompression ( ) const
virtualinherited
virtual bool otb::ImageIOBase::GetUseStreamedReading ( ) const
virtualinherited
virtual bool otb::ImageIOBase::GetUseStreamedWriting ( ) const
virtualinherited
static void itk::Object::GlobalWarningDisplayOff ( )
inlinestaticinherited

Definition at line 118 of file itkObject.h.

Referenced by itk::OutputWindow::DisplayText().

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

Definition at line 116 of file itkObject.h.

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

Return true if an observer is registered for this event.

Definition at line 560 of file itkObject.cxx.

LightObject::Pointer itk::LightObject::InternalClone ( void  ) const
protectedvirtualinherited

Actual implementation of the clone method. This method should be reimplemeted in subclasses to clone the extra required parameters.

Reimplemented in itk::Transform< TScalar, NInputDimensions, NOutputDimensions >, itk::Transform< TScalar, 3, 2 >, itk::Transform< TScalarType, NInputDimensions, NOutputDimensions >, itk::Transform< double, NInputDimensions, NOutputDimensions >, itk::Transform< TScalar, NDimensions, NDimensions >, itk::CompositeTransform< TScalar, NDimensions >, itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet, TInternalComputationValueType >, itk::ConstantVelocityFieldTransform< TScalar, NDimensions >, itk::VelocityFieldTransform< TScalar, NDimensions >, itk::BSplineSmoothingOnUpdateDisplacementFieldTransform< TScalar, NDimensions >, itk::Statistics::UniformRandomSpatialNeighborSubsampler< TSample, TRegion >, itk::Statistics::MahalanobisDistanceMembershipFunction< TVector >, itk::Statistics::SubsamplerBase< TSample >, itk::Statistics::RegionConstrainedSubsampler< TSample, TRegion >, itk::Statistics::GaussianMembershipFunction< TMeasurementVector >, itk::GaussianSmoothingOnUpdateDisplacementFieldTransform< TScalar, NDimensions >, itk::Statistics::SpatialNeighborSubsampler< TSample, TRegion >, itk::ExpectationBasedPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet, TInternalComputationValueType >, itk::Statistics::DistanceToCentroidMembershipFunction< TVector >, itk::Statistics::GaussianRandomSpatialNeighborSubsampler< TSample, TRegion >, and itk::AffineGeometryFrame< TScalar, NDimensions >.

Definition at line 77 of file itkLightObject.cxx.

References itk::LightObject::CreateAnother().

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 550 of file itkObject.cxx.

itk::LightObject::itkCloneMacro ( Self  )
inherited
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 >, 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::ComplexConjugatePixelAccessor< TImage::PixelType > >, 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::SurfaceAdjacencyEffectCorrectionSchemeFilter< TInputImage, TOutputImage >, otb::SurfaceReflectanceToReflectanceFilter< TInputImage, TOutputImage >, otb::SurfaceAdjacencyEffect6SCorrectionSchemeFilter< TInputImage, TOutputImage >, otb::ReflectanceToSurfaceReflectanceImageFilter< TInputImage, TOutputImage >, otb::GenericRSTransform< TScalarType, NInputDimensions, NOutputDimensions >, itk::GPUImage< TPixel, VImageDimension >, otb::MeanShiftImageFilter< TInputImage, TOutputImage, TLabeledOutput, TBufferConverter >, otb::MeanShiftImageFilter< TInputImage, TOutputImage, TLabeledOutput, MeanShift::VectorBufferConverter >, otb::GCPsToRPCSensorModelImageFilter< TImage >, otb::Polygon< TValue >, otb::ImageRegionAdaptativeSplitter< VImageDimension >, itk::GrayscaleErodeImageFilter< TInputImage, TOutputImage, TKernel >, itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >, itk::GrayscaleDilateImageFilter< TInputImage, TOutputImage, TKernel >, otb::GenericInterpolateImageFunction< TInputImage, TFunction, TBoundaryCondition, TCoordRep >, itk::MorphologicalGradientImageFilter< TInputImage, TOutputImage, TKernel >, itk::GrayscaleMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >, otb::PolyLineParametricPathWithValue< TValue, VDimension >, otb::PolyLineParametricPathWithValue< TValue, 2 >, otb::PhysicalToRPCSensorModelImageFilter< TImage >, itk::NormalizeImageFilter< TInputImage, TOutputImage >, and otb::StatisticsXMLFileReader< TMeasurementVector >.

Definition at line 386 of file itkObject.cxx.

Referenced by itk::AttributeSelectionLabelMapFilter< TImage, Functor::LabelLabelObjectAccessor< TImage::LabelObjectType > >::AddAttribute(), itk::Function::ConvergenceMonitoringFunction< TScalar, TScalar >::AddEnergyValue(), otb::Wrapper::InputVectorDataListParameter::AddFromFileName(), otb::Wrapper::InputImageListParameter::AddFromFileName(), otb::Wrapper::InputFilenameListParameter::AddFromFileName(), otb::Wrapper::InputImageListParameter::AddImage(), otb::Wrapper::InputVectorDataListParameter::AddNullElement(), otb::Wrapper::InputImageListParameter::AddNullElement(), otb::Wrapper::InputFilenameListParameter::AddNullElement(), itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::AddSeed(), itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::AddSpecifiedRegion(), otb::Wrapper::InputVectorDataListParameter::AddVectorData(), itk::PolyLineParametricPath< VDimension >::AddVertex(), itk::ChainCodePath< 2 >::ChangeStep(), itk::ChainCodePath2D::ChangeStep(), itk::FourierSeriesPath< VDimension >::Clear(), itk::HilbertPath< TIndexValue, VDimension >::Clear(), itk::ChainCodePath< 2 >::Clear(), itk::ChainCodePath2D::Clear(), itk::AttributeSelectionLabelMapFilter< TImage, Functor::LabelLabelObjectAccessor< TImage::LabelObjectType > >::ClearAttributeSet(), itk::Function::ConvergenceMonitoringFunction< TScalar, TScalar >::ClearEnergyValues(), itk::MultiTransform< TScalar, NDimensions >::ClearTransformQueue(), otb::Wrapper::InputFilenameListParameter::ClearValue(), otb::Wrapper::InputImageListParameter::ClearValue(), otb::Wrapper::InputVectorDataListParameter::ClearValue(), otb::Wrapper::InputFilenameListParameter::Erase(), otb::Wrapper::InputImageListParameter::Erase(), otb::Wrapper::InputVectorDataListParameter::Erase(), itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InitializeSeedList(), itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InitializeSpecifiedRegionList(), itk::NarrowBandImageFilterBase< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >::InsertNarrowBandNode(), itk::ChainCodePath2D::InsertStep(), itk::ChainCodePath< 2 >::InsertStep(), itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::MatrixOffsetTransformBase(), otb::ogr::ImageReference< double >::Modified(), itk::MultiTransform< TScalar, NDimensions >::PopBackTransform(), itk::MultiTransform< TScalar, NDimensions >::PopFrontTransform(), itk::MultiTransform< TScalar, NDimensions >::PushBackTransform(), itk::MultiTransform< TScalar, NDimensions >::PushFrontTransform(), itk::Statistics::SubsamplerBase< TSample >::RequestMaximumNumberOfResults(), itk::AdaptImageFilter< TInputImage, TOutputImage, TAccessor >::SetAccessor(), itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetAdvectionScaling(), itk::FastMarchingImageFilter< TLevelSet, TSpeedImage >::SetAlivePoints(), itk::CompositeTransform< TScalar, NDimensions >::SetAllTransformsToOptimize(), itk::GaussianInterpolateImageFunction< TInputImage, TCoordRep >::SetAlpha(), itk::WeightedAddImageFilter< TInputImage1, TInputImage2, TOutputImage >::SetAlpha(), itk::SigmoidImageFilter< TInputImage, TOutputImage >::SetAlpha(), otb::AtmosphericEffects< TSpectralResponse, TRSR >::SetAtmosphericRadiativeTerms(), itk::AttributeSelectionLabelMapFilter< TImage, Functor::LabelLabelObjectAccessor< TImage::LabelObjectType > >::SetAttributeSet(), itk::LevelSetVelocityNeighborhoodExtractor< TLevelSet, TAuxValue, VAuxDimension >::SetAuxImage(), itk::SigmoidImageFilter< TInputImage, TOutputImage >::SetBeta(), itk::FastMarchingImageFilter< TLevelSet, TSpeedImage >::SetBinaryMask(), otb::TileMapImageIO::SetCacheDirectory(), itk::MatrixOffsetTransformBase< TScalar, 3, 3 >::SetCenter(), itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::SetClosestPoint(), itk::ConstantPadImageFilter< TInputImage, TOutputImage >::SetConstant(), itk::DivideOrZeroOutImageFilter< TInputImage1, TInputImage2, TOutputImage >::SetConstant(), itk::VectorThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetCovariance(), itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetCurvatureScaling(), itk::CurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetDerivativeSigma(), itk::NarrowBandCurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetDerivativeSigma(), itk::GeodesicActiveContourLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetDerivativeSigma(), itk::GeodesicActiveContourShapePriorLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetDerivativeSigma(), otb::ImageIOBase::SetDimensions(), itk::ImageIOBase::SetDimensions(), otb::ImageIOBase::SetDirection(), itk::ImageIOBase::SetDirection(), itk::ExtractImageFilter< TInputImage, TOutputImage >::SetDirectionCollapseToStrategy(), itk::ComposeDisplacementFieldsImageFilter< TInputImage, TOutputImage >::SetDisplacementField(), itk::InvertDisplacementFieldImageFilter< TInputImage, TOutputImage >::SetDisplacementField(), itk::ThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetEdgeWeight(), itk::NarrowBandThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetEdgeWeight(), itk::watershed::Boundary< TScalar, TDimension >::SetFace(), itk::ExpNegativeImageFilter< TInputImage, TOutputImage >::SetFactor(), itk::FileListVideoIO::SetFileName(), itk::AnisotropicDiffusionImageFilter< TInputImage, TOutputImage >::SetFixedAverageGradientMagnitude(), itk::watershed::Boundary< TScalar, TDimension >::SetFlatHash(), itk::NaryFunctorImageFilter< TInputImage, TOutputImage, Functor::Maximum1< TInputImage::PixelType, TInputImage::PixelType > >::SetFunctor(), itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::ReciprocalHAlphaFunctor< TInputImage::PixelType, TOutputImage::PixelType > >::SetFunctor(), itk::HistogramToImageFilter< THistogram, TImage, Function::HistogramIntensityFunction< SizeValueType, TImage::PixelType > >::SetFunctor(), itk::TernaryFunctorImageFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage, TFunctor >::SetFunctor(), itk::ConnectedComponentFunctorImageFilter< TInputImage, TOutputImage, Functor::SimilarVectorsFunctor< TInputImage::ValueType >, TMaskImage >::SetFunctor(), itk::LabelMapOverlayImageFilter< TLabelMap, TFeatureImage, TOutputImage >::SetFunctor(), itk::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::DivideOrZeroOut< TInputImage1::PixelType, TInputImage2::PixelType, TOutputImage::PixelType > >::SetFunctor(), itk::LabelMapContourOverlayImageFilter< TLabelMap, TFeatureImage, TOutputImage >::SetFunctor(), itk::ImageMomentsCalculator< TImage >::SetImage(), otb::Wrapper::InputImageListParameter::SetImageList(), itk::VectorIndexSelectionCastImageFilter< TInputImage, TOutputImage >::SetIndex(), itk::MatrixIndexSelectionImageFilter< TInputImage, TOutputImage >::SetIndices(), itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::SetInfoImage(), itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::SetInitialBiasFieldCoefficients(), itk::AmoebaOptimizerv4::SetInitialSimplexDelta(), itk::AmoebaOptimizer::SetInitialSimplexDelta(), itk::HistogramAlgorithmBase< THistogram >::SetInputHistogram(), otb::HistogramStatisticsFunction< TInputHistogram, TOutput >::SetInputHistogram(), otb::ImageToGenericRSOutputParameters< TImage >::SetInputKeywordList(), itk::LabelVotingImageFilter< TInputImage, TOutputImage >::SetLabelForUndecidedPixels(), itk::MultiLabelSTAPLEImageFilter< TInputImage, TOutputImage, TWeights >::SetLabelForUndecidedPixels(), itk::watershed::Segmenter< InputImageType >::SetLargestPossibleRegion(), itk::TemporalDataObject::SetLargestPossibleTemporalRegion(), otb::Wrapper::InputImageListParameter::SetListFromFileName(), otb::Wrapper::InputVectorDataListParameter::SetListFromFileName(), otb::Wrapper::InputFilenameListParameter::SetListFromFileName(), itk::ThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetLowerThreshold(), itk::NarrowBandThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetLowerThreshold(), itk::MaskNegatedImageFilter< TInputImage, TMaskImage, TOutputImage >::SetMaskingValue(), itk::MaskImageFilter< TInputImage, TMaskImage, TOutputImage >::SetMaskingValue(), itk::MatrixOffsetTransformBase< TScalar, 3, 3 >::SetMatrix(), itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetMaximumCurvatureTimeStep(), itk::watershed::SegmentTable< TScalar >::SetMaximumDepth(), itk::DiscreteGaussianImageFilter< TInputImage, TOutputImage >::SetMaximumError(), itk::CannyEdgeDetectionImageFilter< ImageType, ImageType >::SetMaximumError(), itk::MultiLabelSTAPLEImageFilter< TInputImage, TOutputImage, TWeights >::SetMaximumNumberOfIterations(), itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetMaximumPropagationTimeStep(), itk::VectorThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetMean(), itk::Statistics::MembershipFunctionBase< TMeasurementVector >::SetMeasurementVectorSize(), itk::Statistics::DistanceMetric< Array< double > >::SetMeasurementVectorSize(), itk::Statistics::Sample< ImageJointDomainTraits< TImage >::MeasurementVectorType >::SetMeasurementVectorSize(), itk::NarrowBandImageFilterBase< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >::SetNarrowBand(), itk::NarrowBandImageFilterBase< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >::SetNarrowBandInnerRadius(), itk::NarrowBandImageFilterBase< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >::SetNarrowBandTotalRadius(), itk::OpenCVVideoIO::SetNextFrameToRead(), itk::VXLVideoIO::SetNextFrameToRead(), otb::Wrapper::InputVectorDataListParameter::SetNthFileName(), otb::Wrapper::InputImageListParameter::SetNthFileName(), otb::Wrapper::InputFilenameListParameter::SetNthFileName(), itk::CompositeTransform< TScalar, NDimensions >::SetNthTransformToOptimize(), otb::ImageIOBase::SetNumberOfDimensions(), itk::ImageIOBase::SetNumberOfDimensions(), itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::SetNumberOfLayers(), itk::Statistics::UniformRandomSpatialNeighborSubsampler< TSample, TRegion >::SetNumberOfResultsRequested(), itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::SetNumberOfTargetsToBeReached(), itk::MatrixOffsetTransformBase< TScalar, 3, 3 >::SetOffset(), itk::NeighborhoodOperatorImageFunction< TInputImage, TOutput >::SetOperator(), itk::VectorNeighborhoodOperatorImageFilter< TInputImage, TOutputImage >::SetOperator(), itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::SetOperator(), otb::ImageIOBase::SetOrigin(), itk::ImageIOBase::SetOrigin(), itk::SigmoidImageFilter< TInputImage, TOutputImage >::SetOutputMaximum(), itk::SigmoidImageFilter< TInputImage, TOutputImage >::SetOutputMinimum(), otb::ImageToGenericRSOutputParameters< TImage >::SetOutputProjectionRef(), itk::FastMarchingImageFilter< TLevelSet, TSpeedImage >::SetOutsidePoints(), itk::MaskNegatedImageFilter< TInputImage, TMaskImage, TOutputImage >::SetOutsideValue(), itk::MaskImageFilter< TInputImage, TMaskImage, TOutputImage >::SetOutsideValue(), otb::MapProjectionAdapter::SetParameter(), itk::Statistics::ProbabilityDistribution::SetParameters(), itk::DisplacementFieldTransform< TScalar, NDimensions >::SetParameters(), itk::FFTWHalfHermitianToRealInverseFFTImageFilter< TInputImage, TOutputImage >::SetPlanRigor(), itk::FFTWInverseFFTImageFilter< TInputImage, TOutputImage >::SetPlanRigor(), itk::FFTWRealToHalfHermitianForwardFFTImageFilter< TInputImage, TOutputImage >::SetPlanRigor(), itk::FFTWForwardFFTImageFilter< TInputImage, TOutputImage >::SetPlanRigor(), itk::MultiLabelSTAPLEImageFilter< TInputImage, TOutputImage, TWeights >::SetPriorProbabilities(), itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetPropagationScaling(), itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::SetRealThresholds(), itk::ChangeInformationImageFilter< TInputImage >::SetReferenceImage(), itk::ImportImageFilter< TPixel, VImageDimension >::SetRegion(), itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::SetRegionOfInterest(), itk::ScaleTransform< TScalar, NDimensions >::SetScale(), itk::CollidingFrontsImageFilter< TInputImage, TOutputImage >::SetSeedPoints1(), itk::CollidingFrontsImageFilter< TInputImage, TOutputImage >::SetSeedPoints2(), itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetSegmentationFunction(), itk::ShapePriorSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetShapePriorScaling(), itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform >::SetShrinkFactorsPerDimension(), itk::GaussianInterpolateImageFunction< TInputImage, TCoordRep >::SetSigma(), itk::ThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetSmoothingConductance(), itk::NarrowBandThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetSmoothingConductance(), itk::ThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetSmoothingIterations(), itk::NarrowBandThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetSmoothingIterations(), itk::ThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetSmoothingTimeStep(), itk::NarrowBandThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetSmoothingTimeStep(), itk::PowellOptimizerv4< TInternalComputationValueType >::SetSpaceDimension(), itk::PowellOptimizer::SetSpaceDimension(), otb::ImageIOBase::SetSpacing(), itk::ImageIOBase::SetSpacing(), itk::SpatialObject< TMesh::PointDimension >::SetSpacing(), itk::ImageMomentsCalculator< TImage >::SetSpatialObjectMask(), itk::FastMarchingImageFilter< TLevelSet, TSpeedImage >::SetSpeedConstant(), itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::SetTargetCondition(), itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::SetTargetNodes(), itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::SetTargetPoints(), itk::MultiLabelSTAPLEImageFilter< TInputImage, TOutputImage, TWeights >::SetTerminationUpdateThreshold(), itk::DivideOrZeroOutImageFilter< TInputImage1, TInputImage2, TOutputImage >::SetThreshold(), itk::VectorThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetThreshold(), itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::SetThresholds(), itk::MatrixOffsetTransformBase< TScalar, 3, 3 >::SetTranslation(), itk::FastMarchingImageFilter< TLevelSet, TSpeedImage >::SetTrialPoints(), itk::ThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetUpperThreshold(), itk::NarrowBandThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetUpperThreshold(), itk::Statistics::UniformRandomSpatialNeighborSubsampler< TSample, TRegion >::SetUseClockForSeed(), itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetUseMinimalCurvature(), itk::watershed::Boundary< TScalar, TDimension >::SetValid(), otb::Wrapper::ListViewParameter::SetValue(), otb::Wrapper::ChoiceParameter::SetValue(), itk::DiscreteGaussianImageFilter< TInputImage, TOutputImage >::SetVariance(), itk::CannyEdgeDetectionImageFilter< ImageType, ImageType >::SetVariance(), otb::Wrapper::InputVectorDataListParameter::SetVectorDataList(), otb::MapProjectionAdapter::SetWkt(), itk::LabelVotingImageFilter< TInputImage, TOutputImage >::UnsetLabelForUndecidedPixels(), itk::MultiLabelSTAPLEImageFilter< TInputImage, TOutputImage, TWeights >::UnsetLabelForUndecidedPixels(), itk::MultiLabelSTAPLEImageFilter< TInputImage, TOutputImage, TWeights >::UnsetMaximumNumberOfIterations(), and itk::MultiLabelSTAPLEImageFilter< TInputImage, TOutputImage, TWeights >::UnsetPriorProbabilities().

static Pointer otb::MSTARImageIO::New ( )
static

Method for creation through the object factory.

void otb::MSTARImageIO::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 137 of file itkLightObject.cxx.

References itk::Indent::GetNextIndent().

Referenced by itk::operator<<(), and itk::VideoStream< TFrameType >::PrintSelf().

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

Define a default print header for all objects.

Definition at line 315 of file itkLightObject.cxx.

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

Definition at line 571 of file itkObject.cxx.

void otb::MSTARImageIO::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
virtual

Print Self Method

Reimplemented from otb::ImageIOBase.

Definition at line 668 of file otbMSTARImageIO.cxx.

References otb::ImageIOBase::PrintSelf().

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

Define a default print trailer for all objects.

Definition at line 325 of file itkLightObject.cxx.

void otb::MSTARImageIO::Read ( void *  buffer)
virtual
void otb::ImageIOBase::ReadBufferAsASCII ( std::istream &  os,
void *  buffer,
IOComponentType  ctype,
ImageIOBase::SizeType  numComp 
)
protectedinherited
bool otb::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 630 of file otbImageIOBase.cxx.

void otb::MSTARImageIO::ReadImageInformation ( )
virtual
void itk::Object::Register ( ) const
virtualinherited

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

Reimplemented from itk::LightObject.

Definition at line 397 of file itkObject.cxx.

Referenced by itk::ObjectFactoryBase::RegisterFactory(), and itk::ObjectFactoryBase::RegisterFactoryInternal().

void itk::Object::RemoveAllObservers ( )
inherited

Remove all observers .

Definition at line 530 of file itkObject.cxx.

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

Remove the observer with this tag value.

Definition at line 520 of file itkObject.cxx.

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

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

Resize the ImageIOBase object to new dimensions.

Definition at line 88 of file otbImageIOBase.cxx.

References otb::ImageIOBase::ComputeStrides(), otb::ImageIOBase::m_Dimensions, otb::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 otb::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.

void otb::ImageIOBase::SetByteOrderToBigEndian ( )
inlineinherited

Definition at line 235 of file otbImageIOBase.h.

void otb::ImageIOBase::SetByteOrderToLittleEndian ( )
inlineinherited

Definition at line 239 of file otbImageIOBase.h.

virtual void otb::ImageIOBase::SetComponentType ( const IOComponentType  _arg)
virtualinherited
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 347 of file itkObject.cxx.

void otb::ImageIOBase::SetDimensions ( unsigned int  i,
unsigned int  dim 
)
virtualinherited

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.

Definition at line 102 of file otbImageIOBase.cxx.

References otb::ImageIOBase::m_Dimensions, and itk::Object::Modified().

void otb::ImageIOBase::SetDirection ( unsigned int  i,
std::vector< double > &  direction 
)
virtualinherited

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

Definition at line 147 of file otbImageIOBase.cxx.

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

Referenced by otb::ImageIOBase::SetNumberOfDimensions().

void otb::ImageIOBase::SetDirection ( unsigned int  i,
vnl_vector< double > &  direction 
)
virtualinherited

Definition at line 162 of file otbImageIOBase.cxx.

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

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

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

virtual void otb::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.

void otb::ImageIOBase::SetFileTypeToASCII ( )
inlineinherited

Definition at line 213 of file otbImageIOBase.h.

void otb::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 469 of file itkObject.cxx.

virtual void otb::ImageIOBase::SetIORegion ( itk::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.

void itk::Object::SetMetaDataDictionary ( const MetaDataDictionary rhs)
inherited
virtual void otb::ImageIOBase::SetNumberOfComponents ( unsigned int  _arg)
virtualinherited
void otb::ImageIOBase::SetNumberOfDimensions ( unsigned int  dim)
inherited
virtual void itk::Object::SetObjectName ( std::string  _arg)
virtualinherited

A facility to help application programmers set a human identifiable name for a given object. This has no inherent use in ITK, but is a convenience to allow developers to provide a name for this object.

void otb::ImageIOBase::SetOrigin ( unsigned int  i,
double  origin 
)
virtualinherited

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

Definition at line 117 of file otbImageIOBase.cxx.

References otb::ImageIOBase::m_Origin, and itk::Object::Modified().

Referenced by otb::ImageIOBase::SetNumberOfDimensions().

virtual void otb::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 otb::ONERAImageIO::InternalReadImageInformation(), otb::GDALImageIO::InternalReadImageInformation(), otb::itkSetPixelType(), otb::JPEG2000ImageIO::ReadImageInformation(), and otb::ImageIOBase::SetPixelTypeInfo().

bool otb::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 440 of file itkObject.cxx.

void otb::ImageIOBase::SetSpacing ( unsigned int  i,
double  spacing 
)
virtualinherited

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

Definition at line 132 of file otbImageIOBase.cxx.

References otb::ImageIOBase::m_Spacing, and itk::Object::Modified().

Referenced by otb::ImageIOBase::SetNumberOfDimensions().

void itk::Object::SetTimeStamp ( const TimeStamp timeStamp)
protectedvirtualinherited

Set the time stamp of this object. This method must be used very carefully !!!. Most mortals will never need to call this method.

Set the time stamp of this object. To be used very carefully !!!. Most mortals will never need to call this method.

Definition at line 376 of file itkObject.cxx.

virtual void otb::ImageIOBase::SetUseCompression ( bool  _arg)
virtualinherited

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

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

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

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

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

virtual bool otb::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.

Definition at line 337 of file otbImageIOBase.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 411 of file itkObject.cxx.

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

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 71 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 47 of file itkLightProcessObject.cxx.

virtual void otb::ImageIOBase::UseCompressionOff ( )
virtualinherited
virtual void otb::ImageIOBase::UseCompressionOn ( )
virtualinherited
virtual void otb::ImageIOBase::UseStreamedReadingOff ( )
virtualinherited
virtual void otb::ImageIOBase::UseStreamedReadingOn ( )
virtualinherited
virtual void otb::ImageIOBase::UseStreamedWritingOff ( )
virtualinherited
virtual void otb::ImageIOBase::UseStreamedWritingOn ( )
virtualinherited
void otb::MSTARImageIO::Write ( const void *  buffer)
virtual

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

The write function is not implemented

Implements otb::ImageIOBase.

Definition at line 662 of file otbMSTARImageIO.cxx.

void otb::ImageIOBase::WriteBufferAsASCII ( std::ostream &  os,
const void *  buffer,
IOComponentType  ctype,
ImageIOBase::SizeType  numComp 
)
protectedinherited
void otb::MSTARImageIO::WriteImageInformation ( void  )
virtual

Set the spacing and dimension information for the set filename.

The write function is not implemented

Implements otb::ImageIOBase.

Definition at line 656 of file otbMSTARImageIO.cxx.

Member Data Documentation

unsigned char otb::MSTARImageIO::bigfloatbuf[4]
private

Definition at line 123 of file otbMSTARImageIO.h.

Referenced by Read().

unsigned char otb::MSTARImageIO::bigushortbuf[2]
private

Definition at line 125 of file otbMSTARImageIO.h.

Referenced by Read().

int otb::MSTARImageIO::byteorder
private

Definition at line 122 of file otbMSTARImageIO.h.

Referenced by Read().

long otb::MSTARImageIO::bytesPerImage
private

Definition at line 112 of file otbMSTARImageIO.h.

Referenced by Read().

float* otb::MSTARImageIO::CHIPdata
private

Definition at line 119 of file otbMSTARImageIO.h.

Referenced by MSTARImageIO(), and Read().

unsigned short* otb::MSTARImageIO::FSCENEdata
private

Definition at line 118 of file otbMSTARImageIO.h.

Referenced by MSTARImageIO(), and Read().

FILE* otb::MSTARImageIO::HDRfp
private

Definition at line 102 of file otbMSTARImageIO.h.

Referenced by MSTARImageIO().

char otb::MSTARImageIO::HDRname[80]
private

Definition at line 108 of file otbMSTARImageIO.h.

int otb::MSTARImageIO::i
private

Definition at line 104 of file otbMSTARImageIO.h.

Referenced by Read().

int otb::MSTARImageIO::j
private

Definition at line 104 of file otbMSTARImageIO.h.

float otb::MSTARImageIO::littlefloatval
private

Definition at line 124 of file otbMSTARImageIO.h.

Referenced by Read().

unsigned short otb::MSTARImageIO::littleushortval
private

Definition at line 126 of file otbMSTARImageIO.h.

Referenced by Read().

ByteOrder otb::ImageIOBase::m_ByteOrder
protectedinherited
int otb::MSTARImageIO::m_BytePerPixel
private

Definition at line 128 of file otbMSTARImageIO.h.

Referenced by MSTARImageIO(), Read(), and ReadImageInformation().

IOComponentType otb::ImageIOBase::m_ComponentType
protectedinherited
std::vector< SizeValueType > otb::ImageIOBase::m_Dimensions
protectedinherited

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

Definition at line 445 of file otbImageIOBase.h.

Referenced by otb::ImageIOBase::ComputeStrides(), otb::JPEG2000ImageIO::ComputeTileList(), otb::LUMImageIO::InternalReadHeaderInformation(), otb::RADImageIO::InternalReadHeaderInformation(), otb::BSQImageIO::InternalReadHeaderInformation(), otb::MWImageIO::InternalReadHeaderInformation(), otb::ONERAImageIO::InternalReadImageInformation(), otb::GDALImageIO::InternalReadImageInformation(), otb::ONERAImageIO::InternalWriteImageInformation(), otb::GDALImageIO::InternalWriteImageInformation(), otb::ImageIOBase::PrintSelf(), Read(), otb::ONERAImageIO::Read(), otb::LUMImageIO::Read(), otb::MWImageIO::Read(), otb::RADImageIO::Read(), otb::BSQImageIO::Read(), ReadImageInformation(), otb::RADImageIO::ReadImageInformation(), otb::LUMImageIO::ReadImageInformation(), otb::MWImageIO::ReadImageInformation(), otb::JPEG2000ImageIO::ReadImageInformation(), otb::BSQImageIO::ReadImageInformation(), otb::TileMapImageIO::ReadImageInformation(), otb::ImageIOBase::Reset(), otb::ImageIOBase::Resize(), otb::ImageIOBase::SetDimensions(), otb::ImageIOBase::SetNumberOfDimensions(), otb::ONERAImageIO::Write(), otb::MWImageIO::Write(), otb::RADImageIO::Write(), otb::LUMImageIO::Write(), otb::BSQImageIO::Write(), otb::TileMapImageIO::Write(), otb::GDALImageIO::Write(), otb::RADImageIO::WriteImageInformation(), otb::MWImageIO::WriteImageInformation(), otb::LUMImageIO::WriteImageInformation(), otb::BSQImageIO::WriteImageInformation(), and otb::JPEG2000ImageIO::WriteImageInformation().

std::vector<std::vector<double> > otb::ImageIOBase::m_Direction
protectedinherited

The arrays which store the direction cosines of the image.

Definition at line 455 of file otbImageIOBase.h.

Referenced by otb::ImageIOBase::SetDirection(), and otb::ImageIOBase::SetNumberOfDimensions().

std::string otb::ImageIOBase::m_FileName
protectedinherited
FileType otb::ImageIOBase::m_FileType
protectedinherited

Definition at line 416 of file otbImageIOBase.h.

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

bool otb::ImageIOBase::m_Initialized
protectedinherited

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

Definition at line 419 of file otbImageIOBase.h.

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

itk::ImageIORegion otb::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 442 of file otbImageIOBase.h.

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

unsigned int otb::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 426 of file otbImageIOBase.h.

Referenced by otb::ImageIOBase::ComputeStrides(), otb::JPEG2000ImageIO::LoadTileData(), otb::ImageIOBase::PrintSelf(), and otb::ImageIOBase::Reset().

unsigned int otb::ImageIOBase::m_NumberOfDimensions
protectedinherited
std::vector<double> otb::ImageIOBase::m_Origin
protectedinherited
IOPixelType otb::ImageIOBase::m_PixelType
protectedinherited
InternalReferenceCountType itk::LightObject::m_ReferenceCount
mutableprotectedinherited

Number of uses of this object by other objects.

Definition at line 156 of file itkLightObject.h.

SimpleFastMutexLock itk::LightObject::m_ReferenceCountLock
mutableprotectedinherited

Mutex lock to protect modification to the reference count

Definition at line 159 of file itkLightObject.h.

std::vector<double> otb::ImageIOBase::m_Spacing
protectedinherited
std::vector< SizeType > otb::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 459 of file otbImageIOBase.h.

Referenced by otb::ImageIOBase::ComputeStrides(), otb::ImageIOBase::Reset(), and otb::ImageIOBase::SetNumberOfDimensions().

bool otb::ImageIOBase::m_UseCompression
protectedinherited
bool otb::ImageIOBase::m_UseStreamedReading
protectedinherited

Should we use streaming for reading

Definition at line 435 of file otbImageIOBase.h.

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

bool otb::ImageIOBase::m_UseStreamedWriting
protectedinherited

Should we use streaming for writing

Definition at line 438 of file otbImageIOBase.h.

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

long otb::MSTARImageIO::magloc
private

Definition at line 112 of file otbMSTARImageIO.h.

Referenced by Read().

FILE* otb::MSTARImageIO::MSTARfp
private

Definition at line 100 of file otbMSTARImageIO.h.

Referenced by CanReadFile(), MSTARImageIO(), Read(), and ReadImageInformation().

const char* otb::MSTARImageIO::MSTARname
private

Definition at line 106 of file otbMSTARImageIO.h.

Referenced by CanReadFile(), MSTARImageIO(), Read(), and ReadImageInformation().

int otb::MSTARImageIO::mstartype
private

Definition at line 111 of file otbMSTARImageIO.h.

Referenced by CanReadFile(), Read(), and ReadImageInformation().

int otb::MSTARImageIO::n
private

Definition at line 104 of file otbMSTARImageIO.h.

Referenced by Read().

long otb::MSTARImageIO::nchunks
private

Definition at line 112 of file otbMSTARImageIO.h.

Referenced by Read().

int otb::MSTARImageIO::nhlen
private

Definition at line 111 of file otbMSTARImageIO.h.

Referenced by CanReadFile(), Read(), and ReadImageInformation().

int otb::MSTARImageIO::numcols
private

Definition at line 104 of file otbMSTARImageIO.h.

Referenced by CanReadFile(), Read(), and ReadImageInformation().

int otb::MSTARImageIO::numgot
private

Definition at line 104 of file otbMSTARImageIO.h.

Referenced by Read().

int otb::MSTARImageIO::numrows
private

Definition at line 104 of file otbMSTARImageIO.h.

Referenced by CanReadFile(), Read(), and ReadImageInformation().

int otb::MSTARImageIO::outOpt
private

Definition at line 110 of file otbMSTARImageIO.h.

char* otb::MSTARImageIO::phdr
private

Definition at line 115 of file otbMSTARImageIO.h.

Referenced by MSTARImageIO(), and ~MSTARImageIO().

int otb::MSTARImageIO::phlen
private

Definition at line 111 of file otbMSTARImageIO.h.

Referenced by CanReadFile(), Read(), and ReadImageInformation().

FILE* otb::MSTARImageIO::RAWfp
private

Definition at line 101 of file otbMSTARImageIO.h.

char otb::MSTARImageIO::RAWname[80]
private

Definition at line 107 of file otbMSTARImageIO.h.

Referenced by Read().

int otb::MSTARImageIO::rv
private

Definition at line 104 of file otbMSTARImageIO.h.

char otb::MSTARImageIO::tbuff[1024]
private

Definition at line 116 of file otbMSTARImageIO.h.

Referenced by CanReadFile(), Read(), and ReadImageInformation().

long otb::MSTARImageIO::totchunks
private

Definition at line 112 of file otbMSTARImageIO.h.

Referenced by Read().

char* otb::MSTARImageIO::tptr
private

Definition at line 114 of file otbMSTARImageIO.h.

Referenced by CanReadFile(), MSTARImageIO(), Read(), and ReadImageInformation().


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

Generated at Sat Aug 30 2014 18:49:36 for Orfeo Toolbox with doxygen 1.8.3.1