gstlearn  0.2.1
Geostatistics & Machine Learning toolbox
Morpho.hpp File Reference
#include "gstlearn_export.hpp"
#include "Enum/EMorpho.hpp"
#include "geoslib_define.h"
#include "Arrays/BImage.hpp"
#include "Db/DbGrid.hpp"

Functions

GSTLEARN_EXPORT int morpho_count (const BImage &imagin)
 
GSTLEARN_EXPORT void morpho_duplicate (const BImage &imagin, BImage &imagout)
 
GSTLEARN_EXPORT void morpho_erosion (int option, const VectorInt &radius, const BImage &imagin, BImage &imagout, bool verbose=false)
 
GSTLEARN_EXPORT void morpho_dilation (int option, const VectorInt &radius, const BImage &imagin, BImage &imagout, bool verbose=false)
 
GSTLEARN_EXPORT void morpho_opening (int option, const VectorInt &radius, const BImage &imagin, BImage &imagout, bool verbose=false)
 
GSTLEARN_EXPORT void morpho_closing (int option, const VectorInt &radius, const BImage &imagin, BImage &imagout, bool verbose=false)
 
GSTLEARN_EXPORT void morpho_intersection (const BImage &image1, const BImage &image2, BImage &imagout, bool verbose=false)
 
GSTLEARN_EXPORT void morpho_union (const BImage &image1, const BImage &image2, BImage &imagout, bool verbose=false)
 
GSTLEARN_EXPORT void morpho_negation (const BImage &imagin, BImage &imagout, bool verbose=false)
 
GSTLEARN_EXPORT void morpho_double2imageInPlace (const VectorInt &nx, const VectorDouble &tabin, double vmin, double vmax, BImage &imagout, bool verbose=false)
 
GSTLEARN_EXPORT BImage morpho_double2image (const VectorInt &nx, const VectorDouble &tabin, double vmin, double vmax, bool verbose=false)
 
GSTLEARN_EXPORT void morpho_image2double (const BImage &imagin, int mode, double grain, double pore, VectorDouble &tabout, bool verbose=false)
 
GSTLEARN_EXPORT VectorDouble morpho_labelling (int option, int flag_size, const BImage &imagin, double ccvoid, bool verbose=false)
 
GSTLEARN_EXPORT VectorInt morpho_labelsize (int option, const BImage &imagin)
 
GSTLEARN_EXPORT void morpho_distance (int option, const VectorInt &radius, bool flagDistErode, BImage &imagin, VectorDouble &dist, bool verbose=false)
 
GSTLEARN_EXPORT VectorInt gridcell_neigh (int ndim, int option, int radius, bool flag_center=true, bool verbose=false)