rvchyspc.h File Reference

<mi32/rvchyspc.h> RVC HyperSpectral Definitions Header File More...

#include <mi32/anyrastv.h>
#include <mi32/rvcdefns.h>

Include dependency graph for rvchyspc.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Classes

struct  RVCHYPERHISTBANDINFO
 Disallow memset/memcpy. More...
struct  RVCHYPERHISTINFO
struct  RVCHYPERSPECINFO

Defines

#define HYPERSPEC_HasNullVal   0x0002
#define HYPERSPEC_IsLossy   0x0001
#define MfHyperSpecClose(_id, _info)   _MfHyperSpecClose((_id),(_info),sizeof(RVCHYPERSPECINFO))
#define MfHyperSpecHistogramClose(_o, _i)   _MfHyperSpecHistogramClose((_o),(_i),sizeof(RVCHYPERHISTINFO))
#define MfHyperSpecHistogramCompute(_f, _roi, _band, _info, _ph)   _MfHyperSpecHistogramCompute((_f),(_roi),(_band),(_info),sizeof(RVCHYPERHISTBANDINFO),(_ph))
#define MfHyperSpecHistogramMake(_f, _i, _fl)   _MfHyperSpecHistogramMake((_f),(_i),sizeof(RVCHYPERHISTINFO),(_fl))
#define MfHyperSpecHistogramOpen(_f, _roi, _i, _fl)   _MfHyperSpecHistogramOpen((_f),(_roi),(_i),sizeof(RVCHYPERHISTINFO),(_fl))
#define MfHyperSpecHistogramRead(_f, _band, _i, _d)   _MfHyperSpecHistogramRead((_f),(_band),(_i),sizeof(RVCHYPERHISTBANDINFO),(_d))
#define MfHyperSpecHistogramWrite(_f, _band, _i, _nb, _d)   _MfHyperSpecHistogramWrite((_f),(_band),(_i),sizeof(RVCHYPERHISTBANDINFO),(_nb),(_d))
#define MfHyperSpecMake(_fd, _info, _fl)   _MfHyperSpecMake((_fd),(_info),sizeof(RVCHYPERSPECINFO),(_fl))
#define MfHyperSpecOpen(_fd, _oi, _info, _fl)   _MfHyperSpecOpen((_fd),(_oi),(_info),sizeof(RVCHYPERSPECINFO),(_fl))
#define MfHyperSpecReadHeader(f, i, h)   _MfHyperSpecHeaderRead((f),(i),(h),sizeof(RVCHYPERSPECINFO))
#define MfHyperSpecWriteHeader(f, i, h)   _MfHyperSpecHeaderWrite((f),(i),(h),sizeof(RVCHYPERSPECINFO))

Functions

RVCAPPLIBEXPORT int MfHyperSpecGetTileInfo (int id, INT32 *TileSize, INT32 *TileLines, INT32 *TileColumns, INT32 *XTiles, INT32 *YTiles)
int MfHyperSpecHistogramGetDft (int fhandle, INT32 hsinode, INT32 band, RVCHYPERHISTBANDINFO *info, UINT32 **histo=0)
int MfHyperSpecHistogramReadHeader (int fhandle, RVCINODENUM inode, RVCHYPERHISTINFO *info)
int MfHyperSpecHistogramWriteHeader (int fhandle, RVCINODENUM inode, RVCHYPERHISTINFO *info)
RVCAPPLIBEXPORT int MfHyperSpecLineRead (int hid, INT32 band, INT32 lin, INT32 col, INT32 len, void *buff, UINT32 convmode)
RVCAPPLIBEXPORT int MfHyperSpecLineReadLossy (int hid, INT32 band, INT32 lin, INT32 col, INT32 len, void *buff, UINT32 convmode)
RVCAPPLIBEXPORT int MfHyperSpecWriteAverage (int hid, INT32 lin, INT32 col, INT32 len, void *buff, UINT32 convmode)
RVCAPPLIBEXPORT int MfHyperSpecWriteBand (int hid, INT32 lin, INT32 col, INT32 len, void *buff, UINT32 convmode)
RVCAPPLIBEXPORT int MfHyperSpecWriteClass (int hid, INT32 lin, INT32 col, INT32 len, void *buff, UINT32 convmode)
RVCAPPLIBEXPORT int MfHyperSpecWriteResidual (int hid, INT32 band, INT32 lin, INT32 col, INT32 len, void *buff, UINT32 convmode)


Detailed Description

<mi32/rvchyspc.h> RVC HyperSpectral Definitions Header File

Definition in file rvchyspc.h.


Define Documentation

#define HYPERSPEC_HasNullVal   0x0002
 

hyperspectral object has null value

Definition at line 151 of file rvchyspc.h.

#define HYPERSPEC_IsLossy   0x0001
 

hyperspectral object doesn't have residuals and is max. lossy

Definition at line 150 of file rvchyspc.h.

#define MfHyperSpecClose _id,
_info   )     _MfHyperSpecClose((_id),(_info),sizeof(RVCHYPERSPECINFO))
 

int MfHyperSpecConvertToRasters (int findex,INT32 inode,int ofhandle); int MfHyperSpecCreateFromRasters (int findex, INT32 *InodeList,int NumRasters,int ofhandle,RVCHYPERSPECINFO *CubeInfo,int VectDim, int SampleRate); int MfHyperSpecImport (int NumRasters,INT32 NumCols,INT32 NumLins,int ofhandle,RVCHYPERSPECINFO *CubeInfo, int VectDim,int (*ReadBandAsDouble)(INT32 band,INT32 lin, INT32 col, INT32 len, void* buff, void* userdata), DOUBLE (*GetNullValue)(INT32 band, void *userdata),void *userdata);

Definition at line 352 of file rvchyspc.h.

#define MfHyperSpecHistogramClose _o,
_i   )     _MfHyperSpecHistogramClose((_o),(_i),sizeof(RVCHYPERHISTINFO))
 

Definition at line 389 of file rvchyspc.h.

#define MfHyperSpecHistogramCompute _f,
_roi,
_band,
_info,
_ph   )     _MfHyperSpecHistogramCompute((_f),(_roi),(_band),(_info),sizeof(RVCHYPERHISTBANDINFO),(_ph))
 

Definition at line 358 of file rvchyspc.h.

#define MfHyperSpecHistogramMake _f,
_i,
_fl   )     _MfHyperSpecHistogramMake((_f),(_i),sizeof(RVCHYPERHISTINFO),(_fl))
 

Definition at line 390 of file rvchyspc.h.

#define MfHyperSpecHistogramOpen _f,
_roi,
_i,
_fl   )     _MfHyperSpecHistogramOpen((_f),(_roi),(_i),sizeof(RVCHYPERHISTINFO),(_fl))
 

Definition at line 391 of file rvchyspc.h.

#define MfHyperSpecHistogramRead _f,
_band,
_i,
_d   )     _MfHyperSpecHistogramRead((_f),(_band),(_i),sizeof(RVCHYPERHISTBANDINFO),(_d))
 

Definition at line 392 of file rvchyspc.h.

#define MfHyperSpecHistogramWrite _f,
_band,
_i,
_nb,
_d   )     _MfHyperSpecHistogramWrite((_f),(_band),(_i),sizeof(RVCHYPERHISTBANDINFO),(_nb),(_d))
 

INC_MI32_RVCHYSPC_H.

Definition at line 393 of file rvchyspc.h.

#define MfHyperSpecMake _fd,
_info,
_fl   )     _MfHyperSpecMake((_fd),(_info),sizeof(RVCHYPERSPECINFO),(_fl))
 

Definition at line 353 of file rvchyspc.h.

#define MfHyperSpecOpen _fd,
_oi,
_info,
_fl   )     _MfHyperSpecOpen((_fd),(_oi),(_info),sizeof(RVCHYPERSPECINFO),(_fl))
 

Definition at line 354 of file rvchyspc.h.

#define MfHyperSpecReadHeader f,
i,
 )     _MfHyperSpecHeaderRead((f),(i),(h),sizeof(RVCHYPERSPECINFO))
 

Definition at line 355 of file rvchyspc.h.

#define MfHyperSpecWriteHeader f,
i,
 )     _MfHyperSpecHeaderWrite((f),(i),(h),sizeof(RVCHYPERSPECINFO))
 

Definition at line 356 of file rvchyspc.h.


Function Documentation

RVCAPPLIBEXPORT int MfHyperSpecGetTileInfo int  id,
INT32 TileSize,
INT32 TileLines,
INT32 TileColumns,
INT32 XTiles,
INT32 YTiles
 

Get hyperspectral tile information.

int MfHyperSpecHistogramGetDft int  fhandle,
INT32  hsinode,
INT32  band,
RVCHYPERHISTBANDINFO info,
UINT32 **  histo = 0
[inline]
 

Get default hyperspectral histogram.

Parameters:
hsinode  Hyperspectral object inode

Definition at line 379 of file rvchyspc.h.

int MfHyperSpecHistogramReadHeader int  fhandle,
RVCINODENUM  inode,
RVCHYPERHISTINFO info
[inline]
 

Read the header information for the hyperspectral histogram object.

Definition at line 361 of file rvchyspc.h.

int MfHyperSpecHistogramWriteHeader int  fhandle,
RVCINODENUM  inode,
RVCHYPERHISTINFO info
[inline]
 

Write the header information for the hyperspectral histogram object.

Definition at line 370 of file rvchyspc.h.

RVCAPPLIBEXPORT int MfHyperSpecLineRead int  hid,
INT32  band,
INT32  lin,
INT32  col,
INT32  len,
void *  buff,
UINT32  convmode
 

Read a line from hyperspectral object.

Parameters:
hid  Hyperspectral object handle
band  Band number to read
lin  Line number to read
col  Starting column
len  Number of cells to read
buff  Allocated buffer for cell values
convmode  Raster conversion mode

RVCAPPLIBEXPORT int MfHyperSpecLineReadLossy int  hid,
INT32  band,
INT32  lin,
INT32  col,
INT32  len,
void *  buff,
UINT32  convmode
 

This function ignores residuals and restores original data without them.

This results in lossy decompression. The main advantage is that it's fast.

RVCAPPLIBEXPORT int MfHyperSpecWriteAverage int  hid,
INT32  lin,
INT32  col,
INT32  len,
void *  buff,
UINT32  convmode
 

Write an "Average" component to the hyperspectral object.

Parameters:
hid  Open object handle
lin  Line number to write
col  Starting column number to write
len  Number of cells to write
buff  Cell values to write
convmode  Raster conversion mode to use

RVCAPPLIBEXPORT int MfHyperSpecWriteBand int  hid,
INT32  lin,
INT32  col,
INT32  len,
void *  buff,
UINT32  convmode
 

Write a "Band" component to the hyperspectral object.

Parameters:
hid  Open object handle
lin  Line number to write
col  Starting column number to write
len  Number of cells to write
buff  Cell values to write
convmode  Raster conversion mode to use

RVCAPPLIBEXPORT int MfHyperSpecWriteClass int  hid,
INT32  lin,
INT32  col,
INT32  len,
void *  buff,
UINT32  convmode
 

Write a "Class" component to the hyperspectral object.

Parameters:
hid  Open object handle
lin  Line number to write
col  Starting column number to write
len  Number of cells to write
buff  Cell values to write
convmode  Raster conversion mode to use

RVCAPPLIBEXPORT int MfHyperSpecWriteResidual int  hid,
INT32  band,
INT32  lin,
INT32  col,
INT32  len,
void *  buff,
UINT32  convmode
 

Write a "Residual" component to the hyperspectral object.

Parameters:
hid  Open object handle
band  Band number
lin  Line number to write
col  Starting column number to write
len  Number of cells to write
buff  Cell values to write
convmode  Raster conversion mode to use


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