Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
FileInfo Class Reference

Public Member Functions

 FileInfo ()
 
int getBytesPerPixel ()
 
String toString ()
 

Data Fields

int fileFormat
 
int fileType
 
String fileName
 
String directory
 
String url
 
int width
 
int height
 
int offset =0
 
int nImages
 
int gapBetweenImages
 
boolean whiteIsZero
 
boolean intelByteOrder
 
int lutSize
 
byte[] reds
 
byte[] greens
 
byte[] blues
 
Object pixels
 
String info
 
double pixelWidth =1.0
 
double pixelHeight =1.0
 
double pixelDepth =1.0
 
String unit
 
int calibrationFunction
 
double[] coefficients
 
String valueUnit
 
double frameInterval
 
String description
 
long longOffset
 

Static Public Attributes

static final int GRAY8 = 0
 
static final int GRAY16_SIGNED = 1
 
static final int GRAY16_UNSIGNED = 2
 
static final int GRAY32_INT = 3
 
static final int GRAY32_FLOAT = 4
 
static final int COLOR8 = 5
 
static final int RGB = 6
 
static final int RGB_PLANAR = 7
 
static final int BITMAP = 8
 
static final int ARGB = 9
 
static final int BGR = 10
 
static final int GRAY32_UNSIGNED = 11
 
static final int RGB48 = 12
 
static final int UNKNOWN = 0
 
static final int RAW = 1
 
static final int TIFF = 2
 
static final int GIF_OR_JPG = 3
 
static final int FITS = 4
 
static final int BMP = 5
 
static final int DICOM = 6
 

Detailed Description

This class consists of public fields that describe an image file.

Definition at line 6 of file FileInfo.java.

Constructor & Destructor Documentation

FileInfo ( )
inline

Creates a FileInfo object with all of its fields set to their default value.

Definition at line 96 of file FileInfo.java.

Member Function Documentation

int getBytesPerPixel ( )
inline

Returns the number of bytes used per pixel.

Definition at line 107 of file FileInfo.java.

Field Documentation

final int ARGB = 9
static

32-bit interleaved ARGB. Import only.

Definition at line 38 of file FileInfo.java.

final int BGR = 10
static

24-bit interleaved BGR. Import only.

Definition at line 41 of file FileInfo.java.

final int BITMAP = 8
static

1-bit black and white. Import only.

Definition at line 35 of file FileInfo.java.

final int COLOR8 = 5
static

8-bit unsigned integer with color lookup table.

Definition at line 26 of file FileInfo.java.

final int GRAY16_SIGNED = 1
static

16-bit signed integer (-32768-32767). Imported signed images are converted to unsigned by adding 32768.

Definition at line 13 of file FileInfo.java.

final int GRAY16_UNSIGNED = 2
static

16-bit unsigned integer (0-65535).

Definition at line 16 of file FileInfo.java.

final int GRAY32_FLOAT = 4
static

32-bit floating-point.

Definition at line 23 of file FileInfo.java.

final int GRAY32_INT = 3
static

32-bit signed integer. Imported 32-bit integer images are converted to floating-point.

Definition at line 20 of file FileInfo.java.

final int GRAY32_UNSIGNED = 11
static

32-bit unsigned integer. Imported 32-bit integer images are converted to floating-point.

Definition at line 45 of file FileInfo.java.

final int GRAY8 = 0
static

8-bit unsigned integer (0-255).

Definition at line 9 of file FileInfo.java.

long longOffset

Use longOffset instead of offset when offset>2147483647.

Definition at line 93 of file FileInfo.java.

final int RGB = 6
static

24-bit interleaved RGB. Import/export only.

Definition at line 29 of file FileInfo.java.

final int RGB48 = 12
static

48-bit interleaved RGB. Import only.

Definition at line 48 of file FileInfo.java.

final int RGB_PLANAR = 7
static

24-bit planer RGB. Import only.

Definition at line 32 of file FileInfo.java.


The documentation for this class was generated from the following file: