RVC Raster Functions

:Associate with "RVC raster functions" More...

Defines

#define MfReadColmapHeader(f, i, h)   _MfReadHeader((f),(i),(h),sizeof(RVCCMAPINFO),RVCCONV_COLMAP)
#define MfReadColorMap(_f, _c, _i, _d)   _MfColorMapRead((_f),(_c),(_i),sizeof(RVCCMAPINFO),(_d),sizeof(COLMAPINFO))
#define MfWriteColorMap(_f, _c, _i, _d)   _MfColorMapWrite((_f),(_c),(_i),sizeof(RVCCMAPINFO),(_d),sizeof(COLMAPINFO))
#define MfReadContabHeader(f, i, h)   _MfReadHeader((f),(i),(h),sizeof(RVCCONTINFO),RVCCONV_CONTAB)
#define MfReadHistoHeader(f, i, h)   _MfReadHeader((f),(i),(h),sizeof(RVCHISTINFO),RVCCONV_HISTO)
#define MfWriteRastHeader(_fi, _in, _info)   _MfRasterHeaderWrite((_fi),(_in),(_info),sizeof(RVCRASTINFO))
#define MfComputeRastHist(_f, _roi, _info, _ph)   _MfHistogramCompute((_f),(_roi),(_info),sizeof(RVCHISTINFO),(_ph))
#define MfComputeRastHistRegion(_f, _roi, _r, _info, _ph)   _MfHistogramComputeRegion((_f),(_roi),(_r),(_info),sizeof(RVCHISTINFO),(_ph))
#define MfReadHistogram(_f, _c, _i, _d)   _MfHistogramRead((_f),(_c),(_i),sizeof(RVCHISTINFO),(_d))
#define MfWriteHistogram(_f, _c, _i, _d)   _MfHistogramWrite((_f),(_c),(_i),sizeof(RVCHISTINFO),(_d))
#define Mf2DHistRead(_f, _c, _i)   _Mf2DHistRead((_f),(_c),(_i),sizeof(RVCHISTINFO))
#define Mf2DHistWrite(_f, _c, _i)   _Mf2DHistWrite((_f),(_c),(_i),sizeof(RVCHISTINFO))

Functions

int MdlgGetColorMapObject (MDLGPARENT dlgparent, const UNICODE *filename, INT32 parentinode, INT32 *objectinode, const void *prompt, RVCCMAPINFO *objinfo, MfFiltFuncProto filter=0, void *filtdata=0, GETOBJFLAGS flags=GETOBJFLAG_None)
int MdlgGetContrastTableObject (MDLGPARENT dlgparent, const UNICODE *filename, INT32 parentinode, INT32 *objectinode, const void *prompt, RVCCONTINFO *objinfo, MfFiltFuncProto filter=0, void *filtdata=0, GETOBJFLAGS flags=GETOBJFLAG_None)
int MdlgGetRasterObject (MDLGPARENT dlgparent, FILEPATH &filename, INT32 *inode, const void *prompt, RVCRASTINFO *objinfo, MfFiltFuncProto filter=0, void *filtuserdata=0, GETOBJFLAGS flags=GETOBJFLAG_None)
int MdlgGetRasterObject (MDLGPARENT dlgparent, UNICODE *filename, INT32 *inode, const void *prompt, RVCRASTINFO *objinfo, MfFiltFuncProto filter=0, void *filtuserdata=0, GETOBJFLAGS flags=GETOBJFLAG_None)
int MdlgGetRasterObjects (MDLGPARENT dlgparent, FILEPATH &filename, const void *prompt, int minobjs, int maxobjs, RVCOBJITEMLIST &ItemList, MfFiltFuncProto filter=0, void *filtuserdata=0, MfValidListProto validfunc=0, GETOBJFLAGS flags=GETOBJFLAG_None)
int MdlgGetRasterObjects (MDLGPARENT dlgparent, UNICODE *filename, const void *prompt, int minobjs, int maxobjs, FNAMEINODEUC **fnameinoderet, MfFiltFuncProto filter=0, void *filtuserdata=0, MfValidMultiProto validfunc=0, GETOBJFLAGS flags=GETOBJFLAG_None)
int MdlgGetRasterObjectSet (MDLGPARENT dlgparent, FILEPATH &filename, const void *prompt, int numobjs, RVCOBJITEMLIST &ItemList, void *objlabel[], MfFiltFuncProto filter=0, void *filtuserdata=0, MfValidListProto validfunc=0, GETOBJFLAGS flags=GETOBJFLAG_None)
int MdlgGetRasterObjectSet (MDLGPARENT dlgparent, UNICODE *filename, const void *prompt, int numobjs, FNAMEINODEUC fnameinode[], void *objlabel[], MfFiltFuncProto filter=0, void *filtuserdata=0, MfValidMultiProto validfunc=0, GETOBJFLAGS flags=GETOBJFLAG_None)
ERRVALUE MfCloseRast (int rhandle, RVCRASTINFO *info=0)
int MfMakeRast (int fhandle, RVCRASTINFO *rastinfo, UINT32 flags=0)
int MfMakeRastI (int fhandle, RVCRASTINFO *rastinfo, const ANYRASTVALUE *value, UINT32 flags=0)
int MfOpenRast (int fhandle, RVCINODENUM rastinode, RVCRASTINFO *rastinfo, UINT32 flags=0)
ERRVALUE MfReadRastHeader (int fhandle, RVCINODENUM rastinode, RVCRASTINFO *rastinfo)
ERRVALUE MfGetDftRastHist (int fhandle, RVCINODENUM rastinode, RVCHISTINFO *histinfo, UINT32 **phisto, int complexcomp=0, void *sdw=0)
RVCAPPLIBEXPORT int MfGetDftTileSize (int numbits)
RVCAPPLIBEXPORT void MfGetRasterValueMinMax (RVCRASTINFO *info, ANYRASTVALUE *min, ANYRASTVALUE *max)
RVCAPPLIBEXPORT int MfGetRastTileInfo (int, INT32 *, INT32 *, INT32 *, INT32 *, INT32 *)
RVCAPPLIBEXPORT int MfGetRastTileSize (RVCRASTINFO *info)
RVCAPPLIBEXPORT int MfMakeDftRastHist (int fhandle, INT32 rastinode, void *notused=0)
RVCAPPLIBEXPORT int MfRastGetNumType (RVCRASTINFO *rastinfo)
RVCAPPLIBEXPORT int MfRastSetCacheRect (int id, const LRECT2D &cacherect)
RVCAPPLIBEXPORT int MfRastSetCacheSize (int id, INT32 num, UINT32 flags)
RVCAPPLIBEXPORT int MfReadRastCol (int id, INT32 lin, INT32 col, INT32 len, void *buff, UINT32 iomode)
RVCAPPLIBEXPORT int MfReadRastConv (int handle, INT32 lin, INT32 col, INT32 len, void *data, UINT32 mode)
RVCAPPLIBEXPORT void MfSetDftNullVal (RVCRASTINFO *info)
RVCAPPLIBEXPORT void MfSetRastNullValueDouble (RVCRASTINFO *info, double nullvalue)
RVCAPPLIBEXPORT int MfWriteRastConv (int handle, INT32 lin, INT32 col, INT32 len, void *data, UINT32 mode)
int MfChangeRasterNull (int fhandle, INT32 rastinode, ANYRASTVALUE *newnull, UINT32 flags)
int MfCombineRastersLinear (FNAMEINODEUC *ifnameinode, FNAMEINODEUC *ofnameinode, RVCRASTINFO *orastinfo, LINEARTRANS *trans, UINT32 flags)
int MfComputeClumpRaster (int ifhandle, INT32 irinode, int ofhandle, RVCRASTINFO *orastinfo, UINT32 count, UINT32 flags)
int MfComputeRasterByQuery (const RVC::OBJITEM &SrcItem, const MISTRING &QueryString, RVC::OBJITEM &DestItem)
int MfComputeSieveRaster (int ifhandle, INT32 irinode, int ofhandle, RVCRASTINFO *orastinfo, UINT32 count, UINT32 flags)
ERRVALUE MfCopyRasterRect (int ohandle, int ihandle, const LRECT2D &irect, const LPOINT2D &otopleft)
ERRVALUE MfCopyRasterSampled (int ohandle, int ihandle, INT32 colsample, INT32 linsample)
ERRVALUE MfCopyRasterAveraged (int ohandle, int ihandle, INT32 colsample, INT32 linsample, COLMAPINFO *colormap=0)
double MfGetRastNullAsDouble (const RVCRASTINFO *rastinfo)
int MfMakeRastPyramidSet (int fhandle, INT32 rastinode)
int MfMakeRastPyramidSetExt (int fhandle, INT32 rastinode, UINT32 flags)
int MfValidListRastSameSize (const RVCOBJITEMLIST &objlist, void *userdata, char *msgstr)
int MfComputeRasterProperties (int ifhandle, INT32 irinode, int ofhandle, INT32 oinode, const UNICODE *tabname, const UNICODE *tabdesc, int BoundCellType, UINT32 flags)
int MfComputeRasterSlantToGround (int ifhandle, INT32 irinode, int ofhandle, RVCRASTINFO *orastinfo, SLANTGROUNDPARMS *parm, int resampling)
int MfComputeRegionFromRasterValues (int ifhandle, INT32 irinode, DOUBLE *values, int numcells, DOUBLE range, TRANSPARM *transparm, DREGION *region)
int MfComputeRegionFromRasterBinary (int fhandle, INT32 rastinode, DREGION *region, UINT32 flags)
int MfComputeRegionFromRasterGeneric (RVCRASTINFO *rastinfo, int(*)(INT32, INT32, void *), void *TestData, DREGION *region, UINT32 flags)
int MfComputeRegionFromRasterRanges (int ifhandle, INT32 irinode, DRANGE *range, int numpts, TRANSPARM *transparm, DREGION *region)
int MfComputeViewshed (int ifhandle, INT32 irinode, int ofhandle, RVCRASTINFO *orastinfo, LPOINT2D *viewpts, double height, double zscale, UINT8 numpts, UINT8 enumpts, DOUBLE distance, DRANGE hrzAngle, DRANGE vrtAngle, UINT32)
int MfComputeViewshedAsBinaryRaster (int ifhandle, INT32 irinode, int ofhandle, RVCRASTINFO *, LPOINT2D *, double, double, int, UINT8)
int MfComputeViewshedAsRegion (int ifhandle, INT32 irinode, LPOINT2D *, DOUBLE, DOUBLE, int, UINT8, DOUBLE, TRANSPARM *, DREGION *)
int MfConvert24bittoComposite (int, int, RVCRASTINFO *, RVCRASTINFO *, int, int, void *)
int MfConvertRasterCompToComp (int, INT32, int, RVCRASTINFO *, UINT32)
int MfConvertRGBtoComposite (int, int, int, int, RVCRASTINFO *, RVCRASTINFO *, int, int, void *)
int MfRasterClassification (FNAMEINODEUC *, INT32, INT32, FNAMEINODEUC *, FNAMEINODEUC *, FNAMEINODEUC *, CLASSIFYPARM *)
int MfResampleRasterToMatch (UNICODE *, INT32, INT32, UINT16, UNICODE *, RVCRASTINFO *, UNICODE *, INT32, INT32, int, UINT32)
int MfResampleRasterToProj (UNICODE *, INT32, INT32, UINT16, UNICODE *, RVCRASTINFO *, MAPPROJPARM *, Mat3x3, Mat3x3, int, UINT32)
int MfThresholdRaster (int, INT32, int, RVCRASTINFO *, double, double, UINT32)
int AreaCorrelateAdjustPoint (int, DPOINT2D *, Mat3x3, Mat3x3, int, DPOINT2D *, double *, int, int, UINT32)
int AreaCorrelateAdjustPointEpipolar (int, RVCRASTINFO *, int, RVCRASTINFO *, DPOINT2D *, DPOINT2D *, int, int, int, DOUBLE, DOUBLE)
int EvaluateImageDeviation (int, RVCRASTINFO *, int, DPOINT2D *, DOUBLE *)
int ContrastEnhanceWallis (INT32, INT32, int, int, ANYRASTVALUE, int, double, double, double, double, UINT32, RASTREADFUNC *, RASTWRITEFUNC *, void *, UINT32)
int ContrastEnhanceBalance (INT32, INT32, int, int, ANYRASTVALUE, int, int, ANYRASTVALUE, int, double, double, double, UINT32, RASTREADFUNC *, RASTWRITEFUNC *, void *)
int ResampleRasterAffine (Mat3x3, Mat3x3, INT32, INT32, int, int, INT32, INT32, INT32, INT32, RASTREADFUNC *, RASTWRITEFUNC *, int, void *)
int ResampleRasterGen (TRANSFUNC, void *, RASTREADFUNC *, RASTWRITEFUNC *, void *, RVCRASTINFO *, RVCRASTINFO *, int)
int ResampleRasterTransParm (const TRANSPARM *, RASTREADFUNC *, RASTWRITEFUNC *, void *, RVCRASTINFO *, RVCRASTINFO *, int)
int ValidRastSameSize (int numrasts, FNAMEINODEUC *fnip, void *userdata, int *firstinvalid, char *msgstr)

Detailed Description

:Associate with "RVC raster functions"


Define Documentation

#define Mf2DHistRead _f,
_c,
_i   )     _Mf2DHistRead((_f),(_c),(_i),sizeof(RVCHISTINFO))
 

Definition at line 1036 of file rvcrast.h.

#define Mf2DHistWrite _f,
_c,
_i   )     _Mf2DHistWrite((_f),(_c),(_i),sizeof(RVCHISTINFO))
 

Definition at line 1037 of file rvcrast.h.

#define MfComputeRastHist _f,
_roi,
_info,
_ph   )     _MfHistogramCompute((_f),(_roi),(_info),sizeof(RVCHISTINFO),(_ph))
 

Definition at line 1020 of file rvcrast.h.

#define MfComputeRastHistRegion _f,
_roi,
_r,
_info,
_ph   )     _MfHistogramComputeRegion((_f),(_roi),(_r),(_info),sizeof(RVCHISTINFO),(_ph))
 

Definition at line 1021 of file rvcrast.h.

#define MfReadColmapHeader f,
i,
 )     _MfReadHeader((f),(i),(h),sizeof(RVCCMAPINFO),RVCCONV_COLMAP)
 

< GENERATING_DOXYGEN_OUTPUT

Definition at line 974 of file rvcrast.h.

#define MfReadColorMap _f,
_c,
_i,
_d   )     _MfColorMapRead((_f),(_c),(_i),sizeof(RVCCMAPINFO),(_d),sizeof(COLMAPINFO))
 

Definition at line 975 of file rvcrast.h.

#define MfReadContabHeader f,
i,
 )     _MfReadHeader((f),(i),(h),sizeof(RVCCONTINFO),RVCCONV_CONTAB)
 

Definition at line 977 of file rvcrast.h.

#define MfReadHistogram _f,
_c,
_i,
_d   )     _MfHistogramRead((_f),(_c),(_i),sizeof(RVCHISTINFO),(_d))
 

Definition at line 1033 of file rvcrast.h.

#define MfReadHistoHeader f,
i,
 )     _MfReadHeader((f),(i),(h),sizeof(RVCHISTINFO),RVCCONV_HISTO)
 

Definition at line 978 of file rvcrast.h.

#define MfWriteColorMap _f,
_c,
_i,
_d   )     _MfColorMapWrite((_f),(_c),(_i),sizeof(RVCCMAPINFO),(_d),sizeof(COLMAPINFO))
 

Definition at line 976 of file rvcrast.h.

#define MfWriteHistogram _f,
_c,
_i,
_d   )     _MfHistogramWrite((_f),(_c),(_i),sizeof(RVCHISTINFO),(_d))
 

Definition at line 1034 of file rvcrast.h.

#define MfWriteRastHeader _fi,
_in,
_info   )     _MfRasterHeaderWrite((_fi),(_in),(_info),sizeof(RVCRASTINFO))
 

Definition at line 1018 of file rvcrast.h.


Function Documentation

int AreaCorrelateAdjustPoint int  ,
DPOINT2D ,
Mat3x3  ,
Mat3x3  ,
int  ,
DPOINT2D ,
double *  ,
int  ,
int  ,
UINT32 
 

int AreaCorrelateAdjustPointEpipolar int  ,
RVCRASTINFO ,
int  ,
RVCRASTINFO ,
DPOINT2D ,
DPOINT2D ,
int  ,
int  ,
int  ,
DOUBLE  ,
DOUBLE 
 

int ContrastEnhanceBalance INT32  ,
INT32  ,
int  ,
int  ,
ANYRASTVALUE  ,
int  ,
int  ,
ANYRASTVALUE  ,
int  ,
double  ,
double  ,
double  ,
UINT32  ,
RASTREADFUNC ,
RASTWRITEFUNC ,
void * 
 

int ContrastEnhanceWallis INT32  ,
INT32  ,
int  ,
int  ,
ANYRASTVALUE  ,
int  ,
double  ,
double  ,
double  ,
double  ,
UINT32  ,
RASTREADFUNC ,
RASTWRITEFUNC ,
void *  ,
UINT32 
 

int EvaluateImageDeviation int  ,
RVCRASTINFO ,
int  ,
DPOINT2D ,
DOUBLE
 

int MdlgGetColorMapObject MDLGPARENT  dlgparent,
const UNICODE filename,
INT32  parentinode,
INT32 objectinode,
const void *  prompt,
RVCCMAPINFO objinfo,
MfFiltFuncProto  filter = 0,
void *  filtdata = 0,
GETOBJFLAGS  flags = GETOBJFLAG_None
[inline]
 

Get color map object.

Definition at line 825 of file rvcrast.h.

int MdlgGetContrastTableObject MDLGPARENT  dlgparent,
const UNICODE filename,
INT32  parentinode,
INT32 objectinode,
const void *  prompt,
RVCCONTINFO objinfo,
MfFiltFuncProto  filter = 0,
void *  filtdata = 0,
GETOBJFLAGS  flags = GETOBJFLAG_None
[inline]
 

Get contrast table object.

Definition at line 840 of file rvcrast.h.

int MdlgGetRasterObject MDLGPARENT  dlgparent,
UNICODE filename,
INT32 inode,
const void *  prompt,
RVCRASTINFO objinfo,
MfFiltFuncProto  filter = 0,
void *  filtuserdata = 0,
GETOBJFLAGS  flags = GETOBJFLAG_None
[inline]
 

Get raster object.

Definition at line 869 of file rvcrast.h.

int MdlgGetRasterObject MDLGPARENT  dlgparent,
FILEPATH filename,
INT32 inode,
const void *  prompt,
RVCRASTINFO objinfo,
MfFiltFuncProto  filter = 0,
void *  filtuserdata = 0,
GETOBJFLAGS  flags = GETOBJFLAG_None
[inline]
 

Get raster object.

Definition at line 855 of file rvcrast.h.

int MdlgGetRasterObjects MDLGPARENT  dlgparent,
UNICODE filename,
const void *  prompt,
int  minobjs,
int  maxobjs,
FNAMEINODEUC **  fnameinoderet,
MfFiltFuncProto  filter = 0,
void *  filtuserdata = 0,
MfValidMultiProto  validfunc = 0,
GETOBJFLAGS  flags = GETOBJFLAG_None
[inline]
 

Get multiple raster objects.

Parameters:
filename  Default filename
minobjs  Minimum number of objects required
maxobjs  Maximum allowed to be selected, 0 if no limit

Definition at line 899 of file rvcrast.h.

int MdlgGetRasterObjects MDLGPARENT  dlgparent,
FILEPATH filename,
const void *  prompt,
int  minobjs,
int  maxobjs,
RVCOBJITEMLIST ItemList,
MfFiltFuncProto  filter = 0,
void *  filtuserdata = 0,
MfValidListProto  validfunc = 0,
GETOBJFLAGS  flags = GETOBJFLAG_None
[inline]
 

Get multiple raster objects.

Parameters:
filename  Default filename
minobjs  Minimum number of objects required
maxobjs  Maximum allowed to be selected, 0 if no limit

Definition at line 883 of file rvcrast.h.

int MdlgGetRasterObjectSet MDLGPARENT  dlgparent,
UNICODE filename,
const void *  prompt,
int  numobjs,
FNAMEINODEUC  fnameinode[],
void *  objlabel[],
MfFiltFuncProto  filter = 0,
void *  filtuserdata = 0,
MfValidMultiProto  validfunc = 0,
GETOBJFLAGS  flags = GETOBJFLAG_None
[inline]
 

X_NATIVE || WIN32_MFC.

Parameters:
filename  Default filename
numobjs  Number of objects to be selected
filter  Label names for each object

Definition at line 931 of file rvcrast.h.

int MdlgGetRasterObjectSet MDLGPARENT  dlgparent,
FILEPATH filename,
const void *  prompt,
int  numobjs,
RVCOBJITEMLIST ItemList,
void *  objlabel[],
MfFiltFuncProto  filter = 0,
void *  filtuserdata = 0,
MfValidListProto  validfunc = 0,
GETOBJFLAGS  flags = GETOBJFLAG_None
[inline]
 

Pop-up dialog to prompt user to select raster object set.

Parameters:
filename  Default filename
numobjs  Number of objects to be selected
filter  Label names for each object

Definition at line 915 of file rvcrast.h.

int MfChangeRasterNull int  fhandle,
INT32  rastinode,
ANYRASTVALUE newnull,
UINT32  flags
 

Change raster null value and remap all null cells to new value.

Flags:

  • CHGRASTNULL_LeaveAlone Leave cells matching new null value alone
  • CHGRASTNULL_Increase Increase value of cells matching new null value (if possible)
  • CHGRASTNULL_Decrease Decrease value of cells matching new null value (if possible)
This function will automatically recompute the raster histogram and pyramid tiers if necessary.
Parameters:
fhandle  Open file handle
rastinode  Raster inode
newnull  New null value
flags  Flags

ERRVALUE MfCloseRast int  rhandle,
RVCRASTINFO info = 0
[inline]
 

Close previously opened raster.

Parameters:
rhandle  Raster object handle
info  Raster header

Definition at line 981 of file rvcrast.h.

int MfCombineRastersLinear FNAMEINODEUC ifnameinode,
FNAMEINODEUC ofnameinode,
RVCRASTINFO orastinfo,
LINEARTRANS trans,
UINT32  flags
 

Compute linear combination of raster objects.

Parameters:
ifnameinode  Input raster objects
ofnameinode  Output raster objects
orastinfo  Output rasters info
trans  Parameters of linear transformation
flags  1 if doing autoscale for output rasters values, 0 if not

int MfComputeClumpRaster int  ifhandle,
INT32  irinode,
int  ofhandle,
RVCRASTINFO orastinfo,
UINT32  count,
UINT32  flags
 

Compute CLUMP raster.

Parameters:
ifhandle  Input file handle
irinode  Input raster inode
ofhandle  Output file handle
orastinfo  Output raster header (name and desc should be filled)
count  Min / Max number of cells in category (always >= 2)
flags  CLUMPRAST_Larger (default) - locate features(categories) spatially larger than count CLUMPRAST_Smaller - locate features(categories) spatially smaller than count

int MfComputeRasterByQuery const RVC::OBJITEM SrcItem,
const MISTRING QueryString,
RVC::OBJITEM DestItem
 

Compute raster cell values by query.

Parameters:
SrcItem  Source raster
QueryString  Query string
DestItem  Destination instance to pass to RVC::RASTER::Make()

int MfComputeRasterProperties int  ifhandle,
INT32  irinode,
int  ofhandle,
INT32  oinode,
const UNICODE tabname,
const UNICODE tabdesc,
int  BoundCellType,
UINT32  flags
 

Compute "raster properties" (statistical parameters).

Raster Polygon Properties: Min, Max, Mean, Mode, Median, StdDev, CellCount, NormalizeFactor (computed for vector polygons or raster categories based on values of "underlaying" co-registered raster.

Raster Point Properties: PointID, Raster Value Optional Histogram table (for source rasters <= 8 bit): CellValue, Count, Area

Parameters:
ifhandle  Input file handle
irinode  Input raster inode
ofhandle  Output file handle
oinode  Output vector or category raster inode
tabname  Name of database table for raster properties
tabdesc  Description of database table for raster properties
BoundCellType  How to process boundary cells of vector polygons: BOUNDCELLS_IncludeAll - include all boundary cells to processing BOUNDCELLS_IncludeLargest - include boundary cells with largest portion belonged to polygon BOUNDCELLS_Proportionally - compute proportionally (split boundary cells) BOUNDCELLS_ExcludeAll - do not process boundary cells
flags  RASTPROP_ComputeHisto - compute histogram for each vector polygon (or raster category) RASTPROP_IncludeIslands - compute properties for polygons with islands included

int MfComputeRasterSlantToGround int  ifhandle,
INT32  irinode,
int  ofhandle,
RVCRASTINFO orastinfo,
SLANTGROUNDPARMS parm,
int  resampling
 

int MfComputeRegionFromRasterBinary int  fhandle,
INT32  rastinode,
DREGION region,
UINT32  flags
 

Compute region from binary raster.

The returned region coordinates will be in raster (column, line) coordinates.

Parameters:
fhandle  RVC file handle
rastinode  Inode of binary raster
region  Region structure returned
flags  Flags (none currently defined)

int MfComputeRegionFromRasterGeneric RVCRASTINFO rastinfo,
int(*  )(INT32, INT32, void *),
void *  TestData,
DREGION region,
UINT32  flags
 

Compute region from generic raster.

The returned region coordinates will be in raster (column, line) coordinates.

Parameters:
rastinfo  Raster definition used for size
TestData  Function to test if cell inside region Passed on to TestFunc
region  Region structure returned
flags  Flags

int MfComputeRegionFromRasterRanges int  ifhandle,
INT32  irinode,
DRANGE range,
int  numpts,
TRANSPARM transparm,
DREGION region
 

Compute regions from thresholded (by number of ranges) raster.

Parameters:
ifhandle  Handle for open RVC file
irinode  Inode of raster object
range  list of ranges for cell values included to region allocated
numpts  number of ranges
transparm  TRANSPARM structure
region  region structure returned

int MfComputeRegionFromRasterValues int  ifhandle,
INT32  irinode,
DOUBLE values,
int  numcells,
DOUBLE  range,
TRANSPARM transparm,
DREGION region
 

Compute region around selected raster cell values.

Parameters:
ifhandle  Handle for open RVC file
irinode  Inode of raster object
values  Cell values list allocated
numcells  Number of cells
range  Range for cell values (value +/- limit) to be included to region
transparm  TRANSPARM structure
region  Region structure returned

int MfComputeSieveRaster int  ifhandle,
INT32  irinode,
int  ofhandle,
RVCRASTINFO orastinfo,
UINT32  count,
UINT32  flags
 

Compute CLUMP raster.

Parameters:
ifhandle  Input file handle
irinode  Input raster inode
ofhandle  Output file handle
orastinfo  Output raster header (name and desc should be filled)
count  Min / Max number of cells in category (always >= 2)
flags  CLUMPRAST_Larger (default) - locate features(categories) spatially larger than count CLUMPRAST_Smaller - locate features(categories) spatially smaller than count

int MfComputeViewshed int  ifhandle,
INT32  irinode,
int  ofhandle,
RVCRASTINFO orastinfo,
LPOINT2D viewpts,
double  height,
double  zscale,
UINT8  numpts,
UINT8  enumpts,
DOUBLE  distance,
DRANGE  hrzAngle,
DRANGE  vrtAngle,
UINT32 
 

Computes viewshed as binary raster (new algoritm - implemented on 31 July 97).

Parameters:
ifhandle  Handle for open RVC file
irinode  Inode of raster object
ofhandle  Handle of output RVC file
orastinfo  Output raster info
viewpts  List of view points' coordinates (lin, col) allocated
height  Height of view
zscale  Zscale
numpts  Number of view points
enumpts  Number of view points enough for cell to be "visible" from
distance  Max distance for cell to be visible from observer
hrzAngle  Horizontal field of view (0 - 360 degrees)
vrtAngle  Vertical field of view (-90 - 90 degrees)

int MfComputeViewshedAsBinaryRaster int  ifhandle,
INT32  irinode,
int  ofhandle,
RVCRASTINFO ,
LPOINT2D ,
double  ,
double  ,
int  ,
UINT8 
 

int MfComputeViewshedAsRegion int  ifhandle,
INT32  irinode,
LPOINT2D ,
DOUBLE  ,
DOUBLE  ,
int  ,
UINT8  ,
DOUBLE  ,
TRANSPARM ,
DREGION
 

int MfConvert24bittoComposite int  ,
int  ,
RVCRASTINFO ,
RVCRASTINFO ,
int  ,
int  ,
void *