rvcspect.h File Reference

#include <mi32/rvcdefns.h>

Include dependency graph for rvcspect.h:

Include dependency graph

Go to the source code of this file.

Classes

struct  RVCSENSORBANDINFO
 Sensor band info header definition. More...
struct  RVCSENSORINFO
 Sensor info header definition. More...
struct  RVCSPECTCHANNEL
 Spectral channel header definition. More...
struct  RVCSPECTLIBRARY
 Spectral library header definition. More...
struct  RVCSPECTRALINFO
 Spectral info header definition. More...
struct  RVCSPECTRECORD
 Spectral record header definition. More...

Defines

#define SENSOR_AVIRIS   1
#define SENSOR_CASI   3
#define SENSOR_DIAS   5
#define SENSOR_HYMAP   4
#define SENSOR_ORBVIEW4   6
#define SENSOR_PROBE1   2
#define SENSOR_UNKNOWN   0
#define SPECTRALCALIB_EQUALAREA_IAR   2
#define SPECTRALCALIB_FLATFIELD   1
#define SPECTRALCALIB_LOGRESIDUALS   3
#define SPECTRALCURVE_GAUSSIAN   0
#define SPECTRALCURVE_NONGAUSSIAN   1
#define SPECTRALINFO_BlackFieldDone   0x0004
#define SPECTRALINFO_CurveDefined   0x0008
#define SPECTRALINFO_FlatFieldDone   0x0002
#define SPECTRALINFO_HasFlightData   0x0020
#define SPECTRALINFO_HasTimeStamp   0x0010
#define SPECTRALINFO_WavelengthSet   0x0001
#define SPECTRUM_HISTORY_SIZE   66
#define SPECTRUM_TITLE_SIZE   66
#define SPECTRUM_USERNAME_SIZE   16

Functions

int MfSensorInfoRead (int findex, INT32 ccinode, RVCSENSORINFO *newinfo, RVCSENSORBANDINFO **barray)
int MfSensorInfoWrite (int findex, INT32 ccinode, RVCSENSORINFO *newinfo, RVCSENSORBANDINFO *barray)
int MfSpectClose (int id, RVCSPECTLIBRARY *info)
int MfSpectMake (int findex, RVCSPECTLIBRARY *newinfo, UINT32 flags)
int MfSpectOpen (int findex, INT32 inode, RVCSPECTLIBRARY *newinfo, UINT32 flags)
int MfSpectralInfoRead (int findex, INT32 ccinode, RVCSPECTRALINFO *info)
int MfSpectralInfoWrite (int findex, INT32 ccinode, RVCSPECTRALINFO *info)
int MfSpectReadRecord (int id, INT32 num, RVCSPECTRECORD *hdr, INT32 *numchannels)
RVCAPPLIBEXPORT INT32 MfSpectReadRecordChannels (int id, INT32 recnum, INT32 start, INT32 num, RVCSPECTCHANNEL *data)
RVCAPPLIBEXPORT int MfSpectResize (int id, INT32 numrecords)
int MfSpectWriteRecord (int id, INT32 num, RVCSPECTRECORD *newhdr)
RVCAPPLIBEXPORT INT32 MfSpectWriteRecordChannels (int id, INT32 recnum, INT32 total, INT32 start, INT32 num, RVCSPECTCHANNEL *data)
void SwapBytes (RVCSPECTCHANNEL &channel)


Define Documentation

#define SENSOR_AVIRIS   1
 

Definition at line 110 of file rvcspect.h.

#define SENSOR_CASI   3
 

Definition at line 112 of file rvcspect.h.

#define SENSOR_DIAS   5
 

Definition at line 114 of file rvcspect.h.

#define SENSOR_HYMAP   4
 

Definition at line 113 of file rvcspect.h.

#define SENSOR_ORBVIEW4   6
 

Definition at line 115 of file rvcspect.h.

#define SENSOR_PROBE1   2
 

Definition at line 111 of file rvcspect.h.

#define SENSOR_UNKNOWN   0
 

Some initial sensor definitions, this field is just for information only.

Definition at line 109 of file rvcspect.h.

#define SPECTRALCALIB_EQUALAREA_IAR   2
 

Equal area calibration using Internal Average Reflectance spectrum.

Definition at line 186 of file rvcspect.h.

#define SPECTRALCALIB_FLATFIELD   1
 

Simple flat field calibration.

Definition at line 185 of file rvcspect.h.

#define SPECTRALCALIB_LOGRESIDUALS   3
 

Logarithmic Residuals tecnique.

Definition at line 187 of file rvcspect.h.

#define SPECTRALCURVE_GAUSSIAN   0
 

Wavelength and bandwidth defines Gaussian curve, hyperspectral images.

Definition at line 175 of file rvcspect.h.

#define SPECTRALCURVE_NONGAUSSIAN   1
 

Spectral sensitivity is not gaussian and can't be derived from wavelength and bandwidth fields.

Definition at line 176 of file rvcspect.h.

#define SPECTRALINFO_BlackFieldDone   0x0004
 

Flag is set if Black Field Calibration was done.

Definition at line 180 of file rvcspect.h.

#define SPECTRALINFO_CurveDefined   0x0008
 

Flag is set if spectral curve is defined in the structure.

Definition at line 181 of file rvcspect.h.

#define SPECTRALINFO_FlatFieldDone   0x0002
 

Flag is set if Flat Field Calibration was done.

Definition at line 179 of file rvcspect.h.

#define SPECTRALINFO_HasFlightData   0x0020
 

Image has a flight data .altitude, .sunangle and .atmospecricthickness set.

Definition at line 183 of file rvcspect.h.

#define SPECTRALINFO_HasTimeStamp   0x0010
 

Image has a .imagedate timestamp defined.

Definition at line 182 of file rvcspect.h.

#define SPECTRALINFO_WavelengthSet   0x0001
 

Flag that validates .wavelength and bandwidth fields.

Definition at line 178 of file rvcspect.h.

#define SPECTRUM_HISTORY_SIZE   66
 

Definition at line 105 of file rvcspect.h.

#define SPECTRUM_TITLE_SIZE   66
 

Measurement value and definition for one spectral channel.

Definition at line 104 of file rvcspect.h.

#define SPECTRUM_USERNAME_SIZE   16
 

Definition at line 106 of file rvcspect.h.


Function Documentation

int MfSensorInfoRead int  findex,
INT32  ccinode,
RVCSENSORINFO newinfo,
RVCSENSORBANDINFO **  barray
[inline]
 

Read a sensor info structure from an open file.

Parameters:
findex  Open file handle
ccinode  Camera calibration object inode
newinfo  Sensor info structure
barray  Sensor band info array

Definition at line 381 of file rvcspect.h.

int MfSensorInfoWrite int  findex,
INT32  ccinode,
RVCSENSORINFO newinfo,
RVCSENSORBANDINFO barray
[inline]
 

Write a sensor info structure to an open file.

Parameters:
findex  Open file handle
ccinode  Camera calibration object inode
newinfo  Sensor info structure
barray  Sensor band info array

Definition at line 391 of file rvcspect.h.

int MfSpectClose int  id,
RVCSPECTLIBRARY info
[inline]
 

< GENERATING_DOXYGEN_OUTPUT Close a previously opened spectral object.

Parameters:
id  Open vector handle
info  Spectral object header structure (can be NULL)

Definition at line 314 of file rvcspect.h.

int MfSpectMake int  findex,
RVCSPECTLIBRARY newinfo,
UINT32  flags
[inline]
 

Create a new spectral object.

Returns:
a handle to an open spectral object >= 0 or error < 0
Parameters:
findex  RVC open file handle
newinfo  Spectral object header structure
flags  Flags

Definition at line 324 of file rvcspect.h.

int MfSpectOpen int  findex,
INT32  inode,
RVCSPECTLIBRARY newinfo,
UINT32  flags
[inline]
 

Open an existing spectral object.

Returns:
a handle to an open spectral object > 0 or error < 0
Parameters:
findex  RVC open file handle
inode  Spectral object inode
newinfo  Spectral object header structure
flags  Need RVCMODE_Write to write

Definition at line 334 of file rvcspect.h.

int MfSpectralInfoRead int  findex,
INT32  ccinode,
RVCSPECTRALINFO info
[inline]
 

Read a spectral info structure from an open file.

Parameters:
findex  Open file handle
ccinode  Camera calibration object inode
info  Spectral info structure

Definition at line 363 of file rvcspect.h.

int MfSpectralInfoWrite int  findex,
INT32  ccinode,
RVCSPECTRALINFO info
[inline]
 

Write a spectral info structure to an open file.

Parameters:
findex  Open file handle
ccinode  Camera calibration object inode
info  Spectral info structure

Definition at line 372 of file rvcspect.h.

int MfSpectReadRecord int  id,
INT32  num,
RVCSPECTRECORD hdr,
INT32 numchannels
[inline]
 

Read a record from an open spectral object.

Parameters:
id  Open spectral object handle
num  Number of record to read
hdr  Spectral object record structure
numchannels  Number of channels returned

Definition at line 344 of file rvcspect.h.

RVCAPPLIBEXPORT INT32 MfSpectReadRecordChannels int  id,
INT32  recnum,
INT32  start,
INT32  num,
RVCSPECTCHANNEL data
 

Read record channels from an open spectral object.

Parameters:
id  Open spectral object
recnum  Record number
start  Starting channel
num  Number of channels to read
data  Spectral channel data returned

RVCAPPLIBEXPORT int MfSpectResize int  id,
INT32  numrecords
 

Resize an open spectral object.

Parameters:
id  Open spectral object
numrecords  New number of records

int MfSpectWriteRecord int  id,
INT32  num,
RVCSPECTRECORD newhdr
[inline]
 

Write a record to an open spectral object.

Parameters:
id  Open spectral object handle
num  Number of record to write
newhdr  Spectral object record structure

Definition at line 354 of file rvcspect.h.

RVCAPPLIBEXPORT INT32 MfSpectWriteRecordChannels int  id,
INT32  recnum,
INT32  total,
INT32  start,
INT32  num,
RVCSPECTCHANNEL data
 

Write record channels to an open spectral object.

Parameters:
id  Open spectral object
recnum  Record number to write
total  Total number of channels
start  Starting channel
num  Number of channels to write
data  Spectral channel data to write

void SwapBytes RVCSPECTCHANNEL channel  )  [inline]
 

Definition at line 125 of file rvcspect.h.


Generated on Tue Dec 14 13:19:15 2004 for TNTsdk by  doxygen 1.3.8-20040913