diff --git a/src/meshlabplugins/epoch_io/epoch_reconstruction.h b/src/meshlabplugins/epoch_io/epoch_reconstruction.h index d1dfd38cc..89338f262 100644 --- a/src/meshlabplugins/epoch_io/epoch_reconstruction.h +++ b/src/meshlabplugins/epoch_io/epoch_reconstruction.h @@ -25,7 +25,8 @@ public: bool Init(QDomNode &node); static QString ThumbName(QString &imageName); - bool BuildMesh(CMeshO &m, int subsample, int count, float minQuality,int smoothSteps); + bool BuildMesh(CMeshO &m, int subsampleFactor, int minCount, float minAngleCos, int smoothSteps, + bool dilation, int dilationPasses, int dilationSize, bool erosion, int erosionPasses, int erosionSize); void SmartSubSample(int subsampleFactor, FloatImage &fli, CharImage &chi, FloatImage &subD,FloatImage &subQ, int minCount); void AddCameraIcon(CMeshO &m); bool CombineHandMadeMaskAndCount(CharImage &qualityImg, QString maskName ); @@ -33,7 +34,8 @@ public: void GenerateGradientSmoothingMask(int subsampleFactor, QImage &OriginalTexture, CharImage &mask); void Laplacian2(FloatImage &depth, FloatImage &Q, int minCount, CharImage &mask, float depthThr); float ComputeDepthJumpThr(FloatImage &depthImgf, float percentile); - void depthFilter(FloatImage &depthImgf, FloatImage &countImgf,float depthThr); + void depthFilter(FloatImage &depthImgf, FloatImage &countImgf, float depthJumpThr, + bool dilation, int dilationNumPasses, int dilationWinsize, bool erosion, int erosionNumPasses, int erosionWinsize); QIcon *getIcon(); }; diff --git a/src/meshlabplugins/epoch_io/scalar_image.h b/src/meshlabplugins/epoch_io/scalar_image.h index 5dfa54b4d..a62e9d7ad 100644 --- a/src/meshlabplugins/epoch_io/scalar_image.h +++ b/src/meshlabplugins/epoch_io/scalar_image.h @@ -72,7 +72,7 @@ public: } } - void Dilate(ScalarImage &Dilated,int wsize=1) + void Dilate(ScalarImage &Dilated, int wsize=1) { Dilated.resize(w,h); // dilation filter (3 x 3)