Package skyview.survey
Class DSSImage
- java.lang.Object
-
- skyview.survey.Image
-
- 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
-
-
Constructor Summary
Constructors Constructor Description DSSImage(java.lang.String directory)
Construct a DSS image
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearData()
Clear the data arraydouble
getData(long npix)
Get a pixels data associated with the image.double[]
getDataArray()
Get the data as an arrayboolean
isTiled()
Is this image tiledvoid
setData(long 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
getBaseImage, getCenter, getCorners, getDepth, getDescription, getHeight, getName, getTransformer, getWCS, getWidth, initialize, setAccumulate, setName, valid, validate
-
-
-
-
Method Detail
-
getData
public double getData(long npix)
Get a pixels data associated with the image.
-
getDataArray
public double[] getDataArray()
Get the data as an array- Overrides:
getDataArray
in classImage
-
setData
public void setData(long npix, double newData)
Set the Data associated with the image.
-
setDataArray
public void setDataArray(double[] newData)
Set the data array- Overrides:
setDataArray
in classImage
-
-