ij.io
Class FileInfo
java.lang.Object
ij.io.FileInfo
public class FileInfo
- extends java.lang.Object
This class consists of public fields that describe an image file.
Constructor Summary |
FileInfo()
Creates a FileInfo object with all of its fields set to their default value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GRAY8
public static final int GRAY8
- See Also:
- Constant Field Values
GRAY16_SIGNED
public static final int GRAY16_SIGNED
- See Also:
- Constant Field Values
GRAY16_UNSIGNED
public static final int GRAY16_UNSIGNED
- See Also:
- Constant Field Values
GRAY32_INT
public static final int GRAY32_INT
- See Also:
- Constant Field Values
GRAY32_FLOAT
public static final int GRAY32_FLOAT
- See Also:
- Constant Field Values
COLOR8
public static final int COLOR8
- See Also:
- Constant Field Values
RGB
public static final int RGB
- See Also:
- Constant Field Values
RGB_PLANAR
public static final int RGB_PLANAR
- See Also:
- Constant Field Values
UNKNOWN
public static final int UNKNOWN
- See Also:
- Constant Field Values
RAW
public static final int RAW
- See Also:
- Constant Field Values
TIFF
public static final int TIFF
- See Also:
- Constant Field Values
GIF_OR_JPG
public static final int GIF_OR_JPG
- See Also:
- Constant Field Values
FITS
public static final int FITS
- See Also:
- Constant Field Values
fileFormat
public int fileFormat
fileType
public int fileType
fileName
public java.lang.String fileName
directory
public java.lang.String directory
url
public java.lang.String url
width
public int width
height
public int height
offset
public int offset
nImages
public int nImages
gapBetweenImages
public int gapBetweenImages
whiteIsZero
public boolean whiteIsZero
intelByteOrder
public boolean intelByteOrder
lutSize
public int lutSize
reds
public byte[] reds
greens
public byte[] greens
blues
public byte[] blues
pixels
public java.lang.Object pixels
info
public java.lang.String info
pixelWidth
public double pixelWidth
pixelHeight
public double pixelHeight
pixelDepth
public double pixelDepth
unit
public java.lang.String unit
calibrationFunction
public int calibrationFunction
coefficients
public double[] coefficients
valueUnit
public java.lang.String valueUnit
FileInfo
public FileInfo()
- Creates a FileInfo object with all of its fields set to their default value.
getBytesPerPixel
public int getBytesPerPixel()
- Returns the number of bytes used per pixel.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object