RVC Raster Functions


Defines

#define Mf2DHistWrite(_f, _c, _i)   _Mf2DHistWrite((_f),(_c),(_i),sizeof(RVCHISTINFO))
#define MfComputeRastHist(_f, _roi, _info, _ph)   _MfHistogramCompute((_f),(_roi),(_info),sizeof(RVCHISTINFO),(_ph))
#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 MfReadContabHeader(f, i, h)   _MfReadHeader((f),(i),(h),sizeof(RVCCONTINFO),RVCCONV_CONTAB)
#define MfReadHistogram(_f, _c, _i, _d)   _MfHistogramRead((_f),(_c),(_i),sizeof(RVCHISTINFO),(_d))
#define MfReadHistoHeader(f, i, h)   _MfReadHeader((f),(i),(h),sizeof(RVCHISTINFO),RVCCONV_HISTO)
#define MfWriteColorMap(_f, _c, _i, _d)   _MfColorMapWrite((_f),(_c),(_i),sizeof(RVCCMAPINFO),(_d),sizeof(COLMAPINFO))
#define MfWriteHistogram(_f, _c, _i, _d)   _MfHistogramWrite((_f),(_c),(_i),sizeof(RVCHISTINFO),(_d))
#define MfWriteRastHeader(_fi, _in, _info)   _MfRasterHeaderWrite((_fi),(_in),(_info),sizeof(RVCRASTINFO))

Functions

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 DoThinRaster (INT32 numcols, INT32 numlins, int(*)(INT32, UINT8 *, void *), int(*)(INT32, UINT8 *, void *), void *Clientdata, int polyflag)
int EvaluateImageDeviation (int, RVCRASTINFO *, int, DPOINT2D *, DOUBLE *)
DEPRECATED int MdlgGetRasterObject (MDLGPARENT dlgparent, UNICODE *filename, INT32 *inode, const void *prompt, RVCRASTINFO *objinfo, MfFiltFuncProto filter=0, void *filtuserdata=0, GETOBJFLAGS flags=GETOBJFLAG_None)
DEPRECATED int MdlgGetRasterObject (MDLGPARENT dlgparent, FILEPATH &filename, INT32 *inode, const void *prompt, RVCRASTINFO *objinfo, MfFiltFuncProto filter=0, void *filtuserdata=0, GETOBJFLAGS flags=GETOBJFLAG_None)
DEPRECATED 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)
DEPRECATED 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)
DEPRECATED 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)
DEPRECATED 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 MfChangeRasterNull (int fhandle, INT32 rastinode, ANYRASTVALUE *newnull, UINT32 flags)
ERRVALUE MfCloseRast (int rhandle, RVCRASTINFO *info=0)
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 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)
ERRVALUE MfComputeRastHistRegion (int fhandle, RVCINODENUM rastinode, const REGION2D &region, RVCHISTINFO *histinfo, UINT32 **phisto)
int MfComputeRegionFromRasterBinary (int fhandle, INT32 rastinode, REGION2D &region)
int MfComputeRegionFromRasterRanges (int ifhandle, INT32 irinode, DRANGE *range, int numpts, REGION2D &region)
int MfComputeRegionFromRasterValues (int ifhandle, INT32 irinode, DOUBLE *values, int numcells, DOUBLE range, REGION2D &region)
int MfComputeSieveRaster (int ifhandle, INT32 irinode, int ofhandle, RVCRASTINFO *orastinfo, UINT32 count, UINT32 flags)
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 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 *)
ERRVALUE MfCopyRasterAveraged (int ohandle, int ihandle, INT32 colsample, INT32 linsample, COLMAPINFO *colormap=0)
ERRVALUE MfCopyRasterRect (int ohandle, int ihandle, const LRECT2D &irect, const LPOINT2D &otopleft)
ERRVALUE MfCopyRasterSampled (int ohandle, int ihandle, INT32 colsample, INT32 linsample)
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)
double MfGetRastNullAsDouble (const RVCRASTINFO *rastinfo)
RVCAPPLIBEXPORT int MfGetRastTileInfo (int, INT32 *, INT32 *, INT32 *, INT32 *, INT32 *)
RVCAPPLIBEXPORT int MfGetRastTileSize (RVCRASTINFO *info)
RVCAPPLIBEXPORT int MfMakeDftRastHist (int fhandle, INT32 rastinode, void *notused=0)
int MfMakeRast (int fhandle, RVCRASTINFO *rastinfo, UINT32 flags=0)
int MfMakeRastI (int fhandle, RVCRASTINFO *rastinfo, const ANYRASTVALUE *value, UINT32 flags=0)
int MfMakeRastPyramidSet (int fhandle, INT32 rastinode)
int MfMakeRastPyramidSetExt (int fhandle, INT32 rastinode, UINT32 flags)
int MfOpenRast (int fhandle, RVCINODENUM rastinode, RVCRASTINFO *rastinfo, UINT32 flags=0)
int MfRasterClassification (FNAMEINODEUC *, INT32, INT32, FNAMEINODEUC *, FNAMEINODEUC *, FNAMEINODEUC *, CLASSIFYPARM *)
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)
ERRVALUE MfReadRastHeader (int fhandle, RVCINODENUM rastinode, RVCRASTINFO *rastinfo)
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)
RVCAPPLIBEXPORT void MfSetDftNullVal (RVCRASTINFO *info)
RVCAPPLIBEXPORT void MfSetRastNullValueDouble (RVCRASTINFO *info, double nullvalue)
int MfThresholdRaster (int, INT32, int, RVCRASTINFO *, double, double, UINT32)
int MfValidListRastSameSize (const RVCOBJITEMLIST &objlist, void *userdata, char *msgstr)
RVCAPPLIBEXPORT int MfWriteRastConv (int handle, INT32 lin, INT32 col, INT32 len, void *data, UINT32 mode)
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)

Define Documentation

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

Definition at line 898 of file rvcrast.h.

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

Definition at line 867 of file rvcrast.h.

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

< GENERATING_DOXYGEN_OUTPUT

Definition at line 821 of file rvcrast.h.

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

Definition at line 822 of file rvcrast.h.

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

Definition at line 824 of file rvcrast.h.

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

Definition at line 895 of file rvcrast.h.

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

Definition at line 825 of file rvcrast.h.

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

Definition at line 823 of file rvcrast.h.

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

Definition at line 896 of file rvcrast.h.

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

Definition at line 865 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 DoThinRaster INT32  numcols,
INT32  numlins,
int(*  )(INT32, UINT8 *, void *),
int(*  )(INT32, UINT8 *, void *),
void *  Clientdata,
int  polyflag
 

Perform line thinning on binary raster data.

Parameters:
numcols  Number of columns in raster
numlins  Number of lines in raster
Clientdata  Function to write line to raster To be passed to ReadFunc and WriteFunc
polyflag  Something to do with polygons?

int EvaluateImageDeviation int  ,
RVCRASTINFO ,
int  ,
DPOINT2D ,
DOUBLE
 

DEPRECATED 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 716 of file rvcrast.h.

DEPRECATED 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 702 of file rvcrast.h.

DEPRECATED 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 746 of file rvcrast.h.

DEPRECATED 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 730 of file rvcrast.h.

DEPRECATED 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 778 of file rvcrast.h.

DEPRECATED 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 762 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 828 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
 

ERRVALUE MfComputeRastHistRegion int  fhandle,
RVCINODENUM  rastinode,
const REGION2D region,
RVCHISTINFO histinfo,
UINT32 **  phisto
[inline]
 

Definition at line 873 of file rvcrast.h.

int MfComputeRegionFromRasterBinary int  fhandle,
INT32  rastinode,
REGION2D region
 

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 returned in raster (column, line) coordinates

int MfComputeRegionFromRasterRanges int  ifhandle,
INT32  irinode,
DRANGE range,
int  numpts,
REGION2D 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
region  Region returned in raster (column, line) coordinates

int MfComputeRegionFromRasterValues int  ifhandle,
INT32  irinode,
DOUBLE values,
int  numcells,
DOUBLE  range,
REGION2D 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
region  Region returned in raster (column, line) coordinates

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 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 * 
 

ERRVALUE MfCopyRasterAveraged int  ohandle,
int  ihandle,
INT32  colsample,
INT32  linsample,
COLMAPINFO colormap = 0
 

Copy one raster to another, reducing size by averaging.

The rasters must be the same bit depth and data type. This function displays a progress bar (but no text) using the default status handle (if any).

Parameters:
ohandle  Output raster handle
ihandle  Input raster handle
colsample  Column sampling rate
linsample  Line sampling rate
colormap  ColorMap might be used for 8bit