skyview.survey
Class DSSImage

java.lang.Object
  extended by skyview.survey.Image
      extended by skyview.survey.DSSImage
All Implemented Interfaces:
java.io.Serializable, Component

public class DSSImage
extends Image

This class defines an image as the combination of a set of pixel values and a WCS describing the pixel coordinates.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class skyview.survey.Image
data
 
Constructor Summary
DSSImage(java.lang.String directory)
          Construct a WCS
 
Method Summary
 void clearData()
          Clear the data array
 double getData(int npix)
          Get a pixels data associated with the image.
 double[] getDataArray()
          Get the data as an array
 boolean isTiled()
          Is this image tiled
 void setData(int npix, double newData)
          Set the Data associated with the image.
 void setDataArray(double[] newData)
          Set the data array
 
Methods inherited from class skyview.survey.Image
getCenter, getCorners, getDepth, getDescription, getHeight, getName, getTransformer, getWCS, getWidth, initialize, setName, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DSSImage

public DSSImage(java.lang.String directory)
         throws java.lang.Exception
Construct a WCS

Throws:
java.lang.Exception
Method Detail

getData

public double getData(int npix)
Get a pixels data associated with the image.

Overrides:
getData in class Image

getDataArray

public double[] getDataArray()
Get the data as an array

Overrides:
getDataArray in class Image

setData

public void setData(int npix,
                    double newData)
Set the Data associated with the image.

Overrides:
setData in class Image

clearData

public void clearData()
Clear the data array

Overrides:
clearData in class Image

setDataArray

public void setDataArray(double[] newData)
Set the data array

Overrides:
setDataArray in class Image

isTiled

public boolean isTiled()
Is this image tiled

Overrides:
isTiled in class Image