Package skyview.survey
Class DSSImage
java.lang.Object
skyview.survey.Image
skyview.survey.DSSImage
- All Implemented Interfaces:
Serializable
,Component
This class defines an image as the combination
of a set of pixel values and a WCS describing the
pixel coordinates.
- See Also:
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Clear the data arraydouble
getData
(long npix) Get a pixels data associated with the image.double[]
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 arrayMethods inherited from class skyview.survey.Image
getBaseImage, getCenter, getCorners, getDepth, getDescription, getHeight, getName, getTransformer, getWCS, getWidth, initialize, setAccumulate, setName, valid, validate
-
Constructor Details
-
DSSImage
Construct a DSS image- Throws:
Exception
-
-
Method Details
-
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. -
clearData
public void clearData()Clear the data array -
setDataArray
public void setDataArray(double[] newData) Set the data array- Overrides:
setDataArray
in classImage
-
isTiled
public boolean isTiled()Is this image tiled
-