The ImageTiler class allows users to extract subimages from a FITS primary image or image extension. This class provides a subset of an N-dimensional image. Modified May 2, 2000 by T. McGlynn to permit tiles that go off the edge of the image.


The following tables list the members exposed by ImageTiler.

Public Constructors

  Name Description
Public method ImageTiler Create a tiler.
Top

Public Properties

  Name Description
Public property CompleteImage Read the entire image into a multidimensional array.
Public property MemoryImage See if we can get the image data from memory. This may be overriden by other classes, notably in nom.tam.fits.ImageData.
Top

Public Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (inherited from Object)
Public method GetHashCode Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (inherited from Object)
Public method Static GetOffset Get the offset of a given position.
Public method GetTile Overloaded. Get a tile, filling in a prespecified array. This version does not check that the user hase entered a valid set of corner and length arrays. ensure that out matches the length implied by the lengths array.
Public method GetType Gets the Type of the current instance. (inherited from Object)
Public method ToString Returns a String that represents the current Object. (inherited from Object)
Top

Protected Methods

  Name Description
Family method FillFileData File a tile segment from a file.
Family method FillMemData Fill a single segment from memory. This routine is called recursively to handle multi-dimensional arrays. E.g., if data is three-dimensional, this will recurse two levels until we get a call with a single dimensional datum. At that point the appropriate data will be copied into the output.
Family method FillTile Fill the subset.
Family method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Family method Static IncrementPosition Increment the offset within the position array. Note that we never look at the last index since we copy data a block at a time and not byte by byte.
Family method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object)
Top

See Also