This class instantiates FITS primary HDU and IMAGE extension data. Essentially these data are a primitive multi-dimensional array.
Top
Top
Top
Top
Starting in version 0.9 of the nom.tam FITS library, this routine allows users to defer the reading of images if the FITS data is being read from a file. An ImageTiler object is supplied which can return an arbitrary subset of the image as a one dimensional array.A call to the getData() method will still return a multi-dimensional array, but the image data will not be read until the user explicitly requests. it.
The following tables list the members exposed by ImageData.
Public Constructors
Protected Fields
Name | Description | |
---|---|---|
![]() | dataSize | The size of the data when last read (inherited from Data) |
![]() | fileOffset | The starting location of the data when last read (inherited from Data) |
![]() | input | The inputstream used. (inherited from Data) |
Public Properties
Name | Description | |
---|---|---|
![]() | DataArray | Overridden. Return the actual data. Note that this may return a null when the data is not readable. It might be better to throw a FitsException, but this is a very commonly called method and we prefered not to change how users must invoke it. |
![]() | FileOffset | Get the file offset (inherited from Data) |
![]() | Kernel | Return the non-FITS data object (inherited from Data) |
![]() | Rewriteable | Returns whether input stream is rewritable (inherited from Data) |
![]() | Size | Get the size of the data element in bytes (inherited from Data) |
![]() | Tiler | Returns the ImageTiler instance |
Public Methods
Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified |
![]() | GetHashCode | Serves as a hash function for a particular type. |
![]() | GetType | Gets the |
![]() | Read | Overridden. Method to read data |
![]() | Rewrite | (inherited from Data) |
![]() | ToString | Returns a |
![]() | Write | Overridden. method to write data |
Protected Methods
Name | Description | |
---|---|---|
![]() | Finalize | Allows an |
![]() | MemberwiseClone | Creates a shallow copy of the current |
![]() | ParseHeader | |
![]() | SetFileOffset | (inherited from Data) |