java.lang.Object
ij.io.FileInfo
- All Implemented Interfaces:
Cloneable
This class consists of public fields that describe an image file.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
32-bit interleaved ABGR.static final int
32-bit interleaved ARGB.static final int
32-bit interleaved BARG (MCID).static final int
24-bit interleaved BGR.static final int
1-bit black and white.byte[]
static final int
int
byte[][]
static final int
32-bit interleaved CMYK.double[]
static final int
8-bit unsigned integer with color lookup table.int
static final int
static final int
static final int
double[]
int
int
static final int
double
int
static final int
static final int
12-bit unsigned integer (0-4095).static final int
16-bit signed integer (-32768-32767).static final int
16-bit unsigned integer (0-65535).static final int
24-bit unsigned integer.static final int
32-bit floating-point.static final int
32-bit signed integer.static final int
32-bit unsigned integer.static final int
64-bit floating-point.static final int
8-bit unsigned integer (0-255).byte[]
int
static final int
boolean
boolean
static final int
long
long
int
static final int
static final int
byte[][]
int[]
int
int
byte[][]
static final int
static final int
double
double
double
byte[]
String[]
static final int
byte[]
static final int
24-bit interleaved RGB.static final int
24-bit planer RGB.static final int
48-bit interleaved RGB.static final int
48-bit planar RGB.byte[]
int
int
String[]
int
int[]
int[]
static final int
static final int
boolean
int
static final int
static final int
-
Constructor Summary
ConstructorsConstructorDescriptionFileInfo()
Creates a FileInfo object with all of its fields set to their default value. -
Method Summary
Modifier and TypeMethodDescriptionclone()
int
Returns the number of bytes used per pixel.getCode()
Returns JavaScript code that can be used to recreate this FileInfo.Returns the file path.final long
getGap()
Returns the gap between images as a long.final long
Returns the offset as a long.toString()
-
Field Details
-
GRAY8
public static final int GRAY88-bit unsigned integer (0-255).- See Also:
-
GRAY16_SIGNED
public static final int GRAY16_SIGNED16-bit signed integer (-32768-32767). Imported signed images are converted to unsigned by adding 32768.- See Also:
-
GRAY16_UNSIGNED
public static final int GRAY16_UNSIGNED16-bit unsigned integer (0-65535).- See Also:
-
GRAY32_INT
public static final int GRAY32_INT32-bit signed integer. Imported 32-bit integer images are converted to floating-point.- See Also:
-
GRAY32_FLOAT
public static final int GRAY32_FLOAT32-bit floating-point.- See Also:
-
COLOR8
public static final int COLOR88-bit unsigned integer with color lookup table.- See Also:
-
RGB
public static final int RGB24-bit interleaved RGB. Import/export only.- See Also:
-
RGB_PLANAR
public static final int RGB_PLANAR24-bit planer RGB. Import only.- See Also:
-
BITMAP
public static final int BITMAP1-bit black and white. Import only.- See Also:
-
ARGB
public static final int ARGB32-bit interleaved ARGB. Import only.- See Also:
-
BGR
public static final int BGR24-bit interleaved BGR. Import only.- See Also:
-
GRAY32_UNSIGNED
public static final int GRAY32_UNSIGNED32-bit unsigned integer. Imported 32-bit integer images are converted to floating-point.- See Also:
-
RGB48
public static final int RGB4848-bit interleaved RGB.- See Also:
-
GRAY12_UNSIGNED
public static final int GRAY12_UNSIGNED12-bit unsigned integer (0-4095). Import only.- See Also:
-
GRAY24_UNSIGNED
public static final int GRAY24_UNSIGNED24-bit unsigned integer. Import only.- See Also:
-
BARG
public static final int BARG32-bit interleaved BARG (MCID). Import only.- See Also:
-
GRAY64_FLOAT
public static final int GRAY64_FLOAT64-bit floating-point. Import only.- See Also:
-
RGB48_PLANAR
public static final int RGB48_PLANAR48-bit planar RGB. Import only.- See Also:
-
ABGR
public static final int ABGR32-bit interleaved ABGR. Import only.- See Also:
-
CMYK
public static final int CMYK32-bit interleaved CMYK. Import only.- See Also:
-
UNKNOWN
public static final int UNKNOWN- See Also:
-
RAW
public static final int RAW- See Also:
-
TIFF
public static final int TIFF- See Also:
-
GIF_OR_JPG
public static final int GIF_OR_JPG- See Also:
-
FITS
public static final int FITS- See Also:
-
BMP
public static final int BMP- See Also:
-
DICOM
public static final int DICOM- See Also:
-
ZIP_ARCHIVE
public static final int ZIP_ARCHIVE- See Also:
-
PGM
public static final int PGM- See Also:
-
IMAGEIO
public static final int IMAGEIO- See Also:
-
COMPRESSION_UNKNOWN
public static final int COMPRESSION_UNKNOWN- See Also:
-
COMPRESSION_NONE
public static final int COMPRESSION_NONE- See Also:
-
LZW
public static final int LZW- See Also:
-
LZW_WITH_DIFFERENCING
public static final int LZW_WITH_DIFFERENCING- See Also:
-
JPEG
public static final int JPEG- See Also:
-
PACK_BITS
public static final int PACK_BITS- See Also:
-
ZIP
public static final int ZIP- See Also:
-
fileFormat
public int fileFormat -
fileType
public int fileType -
fileName
-
directory
-
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 -
compression
public int compression -
stripOffsets
public int[] stripOffsets -
stripLengths
public int[] stripLengths -
rowsPerStrip
public int rowsPerStrip -
lutSize
public int lutSize -
reds
public byte[] reds -
greens
public byte[] greens -
blues
public byte[] blues -
pixels
-
debugInfo
-
sliceLabels
-
info
-
inputStream
-
virtualStack
-
sliceNumber
public int sliceNumber -
pixelWidth
public double pixelWidth -
pixelHeight
public double pixelHeight -
pixelDepth
public double pixelDepth -
unit
-
calibrationFunction
public int calibrationFunction -
coefficients
public double[] coefficients -
valueUnit
-
frameInterval
public double frameInterval -
description
-
longOffset
public long longOffset -
longGap
public long longGap -
metaDataTypes
public int[] metaDataTypes -
metaData
public byte[][] metaData -
displayRanges
public double[] displayRanges -
channelLuts
public byte[][] channelLuts -
plot
public byte[] plot -
roi
public byte[] roi -
overlay
public byte[][] overlay -
samplesPerPixel
public int samplesPerPixel -
openNextDir
-
openNextName
-
properties
-
imageSaved
public boolean imageSaved
-
-
Constructor Details
-
FileInfo
public FileInfo()Creates a FileInfo object with all of its fields set to their default value.
-
-
Method Details
-
getFilePath
Returns the file path. -
getOffset
public final long getOffset()Returns the offset as a long. -
getGap
public final long getGap()Returns the gap between images as a long. -
getBytesPerPixel
public int getBytesPerPixel()Returns the number of bytes used per pixel. -
toString
-
getCode
Returns JavaScript code that can be used to recreate this FileInfo. -
clone
-