Mosaic functions

:Associate with MOSAICINFO More...

Functions

int MfMosaicConvertRasterToMosaic (int ifhandle, INT32 Iinode, INT32 colinode, const CONTPARM *Contrast, int gfhandle, INT32 georefA, const DREGION *region, MOSAICINFO *Mosaic)
int MfMosaicConvertRasterToMosaicTrans (int ifhandle, INT32 Iinode, INT32 colinode, const CONTPARM *Contrast, int gfhandle, const TRANSPARM *dtparm, const DREGION *region, MOSAICINFO *Mosaic)
int MfMosaicInit (UNICODE *Filename, RVCRASTINFO *RastInfo, UNICODE *Maskfilename, RVCRASTINFO *MaskInfo, MAPPROJPARM *ProjParm, Mat3x3 OtoM, Mat3x3 MtoO, UINT16 transmodel, int resamptype, int overlapmode, MOSAICINFO *Mosaic)
int MfMosaicStop (MOSAICINFO *Mosaic, int PyramidType)
int MfMosaicSetHistogramByExample (MOSAICINFO *Mosaic, int fhandle, INT32 inode, const DREGION *region, UINT32 flags)
int MfMosaicSetHistogramByExampleRGB (MOSAICINFO *Mosaic, int fhandle[3], INT32 inode[3], const DREGION *region, UINT32 flags)
int MfMosaicSetHistogramByExample8bitColor (MOSAICINFO *Mosaic, int fhandle, INT32 inode, INT32 colmapinode, const CONTPARM *Contrast, const DREGION *region, UINT32 flags)
int MfMosaicSetHistogramByModel (MOSAICINFO *Mosaic, int HistogramShape)
int MfMosaicSetColorComponent (MOSAICINFO *Mosaic, int Comp)
int MfMosaicSetTrendRemoveParms (MOSAICINFO *Mosaic, int Order, int Colrate, int Linrate, int TrendArea)
int MfMosaicSetFeatherParm (MOSAICINFO *Mosaic, int dist, int type)

Detailed Description

:Associate with MOSAICINFO


Function Documentation

int MfMosaicConvertRasterToMosaic int  ifhandle,
INT32  Iinode,
INT32  colinode,
const CONTPARM Contrast,
int  gfhandle,
INT32  georefA,
const DREGION region,
MOSAICINFO Mosaic
 

Converts georeferenced raster to mosaic (output projection).

Parameters:
ifhandle  Input raster file handle
Iinode  Input raster inode
colinode  Color map inode for 8-bit color composite
Contrast  Contrast table to use with 8-bit color composite
gfhandle  File handle for georefernce subobject, important for RGB processing
georefA  Input raster georeference inode
region  Region in input raster coordinates to process

int MfMosaicConvertRasterToMosaicTrans int  ifhandle,
INT32  Iinode,
INT32  colinode,
const CONTPARM Contrast,
int  gfhandle,
const TRANSPARM dtparm,
const DREGION region,
MOSAICINFO Mosaic
 

Converts georeferenced raster to mosaic (output projection).

Parameters:
ifhandle  Input raster file handle
Iinode  Input raster inode
colinode  Color map inode for 8-bit color composite
Contrast  Contrast table to use with 8-bit color composite
gfhandle  File handle for georefernce subobject, important for RGB processing
dtparm  Transformation parameter that replace georeference are in the output part
region  Region in input raster coordinates to process

int MfMosaicInit UNICODE Filename,
RVCRASTINFO RastInfo,
UNICODE Maskfilename,
RVCRASTINFO MaskInfo,
MAPPROJPARM ProjParm,
Mat3x3  OtoM,
Mat3x3  MtoO,
UINT16  transmodel,
int  resamptype,
int  overlapmode,
MOSAICINFO Mosaic
 

Initialize mosaic info structure.

Parameters:
Filename  Output file name
RastInfo  .numcols, .numlins .name .desc .datatype .numbits
Maskfilename  Filename for the mask raster to save to
MaskInfo  Name and description and flags & compression of the mask raster, all other fields are ignored
ProjParm  Output projection
OtoM  Raster to map transformation
MtoO  Map to raster transformation
transmodel  Transformation model
resamptype  Resampling type
overlapmode  Overlaping mode
Mosaic  Mosaic handle returned

int MfMosaicSetColorComponent MOSAICINFO Mosaic,
int  Comp
 

Set component for color processing.

This function affects what color component will be retrieved from color composite rasters: Red, Green or Blue.

int MfMosaicSetFeatherParm MOSAICINFO Mosaic,
int  dist,
int  type
 

int MfMosaicSetHistogramByExample MOSAICINFO Mosaic,
int  fhandle,
INT32  inode,
const DREGION region,
UINT32  flags
 

Use given raster's histogram as an example.

Parameters:
fhandle  File handle for an example raster
inode  Raster inode

int MfMosaicSetHistogramByExample8bitColor MOSAICINFO Mosaic,
int  fhandle,
INT32  inode,
INT32  colmapinode,
const CONTPARM Contrast,
const DREGION region,
UINT32  flags
 

Use given raster's histogram as an example.

Parameters:
fhandle  File handle for an example raster
inode  Raster inode

int MfMosaicSetHistogramByExampleRGB MOSAICINFO Mosaic,
int  fhandle[3],
INT32  inode[3],
const DREGION region,
UINT32  flags
 

Use given raster's histogram as an example.

Parameters:
fhandle  File handle for an example raster
inode  Raster inode

int MfMosaicSetHistogramByModel MOSAICINFO Mosaic,
int  HistogramShape
 

Create model histogram for the mosaic raster.

Raster might contain only null cells at this point. Model histogram is a desired shape of a histogram. There are 2 choises available right now: Gauss-Normalized histogram and Equalized histogram. Default is "Normalized".

int MfMosaicSetTrendRemoveParms MOSAICINFO Mosaic,
int  Order,
int  Colrate,
int  Linrate,
int  TrendArea
 

Set parameters for trend removal process.

int MfMosaicStop MOSAICINFO Mosaic,
int  PyramidType
 

Free resources associated with mosaic structure.


Generated on Thu Aug 12 06:27:44 2004 for TNTsdk by doxygen 1.3.4-20031026