1.2.3
CCC
 
CalcImage.hpp File Reference
#include "gstlearn_export.hpp"
#include "geoslib_define.h"
#include "Enum/EMorpho.hpp"
#include "Calculators/ACalcInterpolator.hpp"

Classes

class  CalcImage
 

Functions

GSTLEARN_EXPORT int krimage (DbGrid *dbgrid, Model *model, ANeigh *neigh, const NamingConvention &namconv=NamingConvention("Filtering"))
 
GSTLEARN_EXPORT int dbMorpho (DbGrid *dbgrid, const EMorpho &oper, double vmin=0., double vmax=1.5, int option=0, const VectorInt &radius=VectorInt(), bool flagDistErode=false, bool verbose=false, const NamingConvention &namconv=NamingConvention("Morpho"))
 
GSTLEARN_EXPORT int dbSmoother (DbGrid *dbgrid, ANeigh *neigh, int type=1, double range=1., const NamingConvention &namconv=NamingConvention("Smooth"))
 

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