Fovia's Java Client/Server API
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
com.fovia.hdrcsrv.RAW_FILE_DATA_DESCRIPTION Class Reference

Public Member Functions

 RAW_FILE_DATA_DESCRIPTION (hdrcSerializer ser, int version) throws IOException
 
void save (hdrcSerializer ser) throws IOException
 

Public Attributes

boolean BigEndian
 
int DataType
 
String FileName
 
int LinePitch
 
double MaxValue
 
double MinValue
 
short NumBits
 
long NumSlices
 
long Offset
 
boolean Signed
 
long SlicePitch
 

Static Public Attributes

static final int FDT_FLOAT = 1
 
static final int FDT_INTEGER = 0
 

Detailed Description

Specifies a single RAW file as part of a RAW_DATASET_DESCRIPTION.

Member Data Documentation

boolean com.fovia.hdrcsrv.RAW_FILE_DATA_DESCRIPTION.BigEndian

True if the most significant bytes come last in each data sample. False otherwise.

int com.fovia.hdrcsrv.RAW_FILE_DATA_DESCRIPTION.DataType

FDT_INTEGER or FDT_FLOAT.

String com.fovia.hdrcsrv.RAW_FILE_DATA_DESCRIPTION.FileName

The name of the file to be loaded.

int com.fovia.hdrcsrv.RAW_FILE_DATA_DESCRIPTION.LinePitch

The number of bytes between lines. Negative numbers are acceptable here.

double com.fovia.hdrcsrv.RAW_FILE_DATA_DESCRIPTION.MaxValue

This is the maximum value to be taken from the file. This value will be mapped to 32768 in the loaded data. Note that 32767 is the maximum stored value, so if you want this value to actually be present in the data, you might want to add an extra 1/32767th of your original data range here.

double com.fovia.hdrcsrv.RAW_FILE_DATA_DESCRIPTION.MinValue

This is the minimum value to be taken from the file. This value will be mapped to 0 in the loaded data.

short com.fovia.hdrcsrv.RAW_FILE_DATA_DESCRIPTION.NumBits

For integers, this may be 8, 16 or 32. For floating point values, this may be 32 or 64.

long com.fovia.hdrcsrv.RAW_FILE_DATA_DESCRIPTION.NumSlices

The number of slices included in this file.

long com.fovia.hdrcsrv.RAW_FILE_DATA_DESCRIPTION.Offset

The number of bytes from the beginning of the file to the beginning of the first slice.

boolean com.fovia.hdrcsrv.RAW_FILE_DATA_DESCRIPTION.Signed

Only used for integer data

long com.fovia.hdrcsrv.RAW_FILE_DATA_DESCRIPTION.SlicePitch

The number of bytes between slices. Negative numbers are acceptable here.