1.2.2
CCC
 
CalcImage.cpp File Reference
#include "geoslib_f_private.h"
#include "geoslib_old_f.h"
#include "Basic/NamingConvention.hpp"
#include "Morpho/Morpho.hpp"
#include "Estimation/CalcImage.hpp"
#include "Estimation/KrigingSystem.hpp"
#include "Neigh/NeighImage.hpp"
#include "Db/DbGrid.hpp"

Functions

int krimage (DbGrid *dbgrid, Model *model, ANeigh *neigh, const NamingConvention &namconv)
 
int dbSmoother (DbGrid *dbgrid, ANeigh *neigh, int type, double range, const NamingConvention &namconv)
 
GSTLEARN_EXPORT int dbMorpho (DbGrid *dbgrid, const EMorpho &oper, double vmin, double vmax, int option, const VectorInt &radius, bool flagDistErode, bool verbose, const NamingConvention &namconv)
 

Function Documentation

GSTLEARN_EXPORT int dbMorpho ( DbGrid dbgrid,
const EMorpho &  oper,
double  vmin,
double  vmax,
int  option,
const VectorInt radius,
bool  flagDistErode,
bool  verbose,
const NamingConvention namconv 
)

Perform a Morphological operation on an image stored in Db

Parameters
dbgridTarget IN/OUT Db (must be a Grid)
operType of morphological operation
vminMinimum threshold value
vmaxMaximum threshold value
optionOption
radiusRadius
verboseVerbose option
flagDistErodeTrue: Inflate the grain; False: Reduce the grain
namconvNaming convention
Returns
int dbSmoother ( DbGrid dbgrid,
ANeigh neigh,
int  type,
double  range,
const NamingConvention namconv 
)

Smooth a regular grid

Returns
Error return code
Parameters
[in]dbgridinput and output Db grid structure
[in]neighANeigh structure
[in]type1 for Uniform; 2 for Gaussian
[in]rangeRange (used for Gaussian only)
[in]namconvNaming Convention
int krimage ( DbGrid dbgrid,
Model model,
ANeigh neigh,
const NamingConvention namconv 
)

Kriging (Factorial) a regular grid

Returns
Error return code
Parameters
[in]dbgridinput and output Db grid structure
[in]modelModel structure
[in]neighANeigh structure
[in]namconvNaming Convention