public class RawFitsReader.FitsSlice extends ScalarField2D.Default
ScalarField2D.Default, ScalarField2D.Empty, ScalarField2D.Test
Constructor and Description |
---|
FitsSlice(usf.saav.common.range.IntRange1D x,
usf.saav.common.range.IntRange1D y,
int z,
int w)
Instantiates a new fits slice.
|
Modifier and Type | Method and Description |
---|---|
double[] |
getCoordinate(int x,
int y) |
int |
getHeight() |
float |
getValue(int x,
int y)
Gets the value.
|
int |
getWidth() |
getNeighbors, getSize, getValue, isValid, toPImage
getValueRange
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getValueRange
public FitsSlice(usf.saav.common.range.IntRange1D x, usf.saav.common.range.IntRange1D y, int z, int w) throws java.io.IOException
x
- the xy
- the yz
- the zw
- the wjava.io.IOException
- Signals that an I/O exception has occurred.public double[] getCoordinate(int x, int y)
getCoordinate
in interface ScalarField2D
getCoordinate
in class ScalarField2D.Default
public int getWidth()
public int getHeight()
public float getValue(int x, int y)
ScalarField2D
x
- the xy
- the y