Code Monkey home page Code Monkey logo

Comments (10)

MarcoWang1 avatar MarcoWang1 commented on May 21, 2024 1

noisy.zip

from meshlib.

Fedr avatar Fedr commented on May 21, 2024 1

We have implemented AT-method from the article: Mesh Denoising via a Novel Mumford-Shah Framework

In the code, it is located in MeshLib\source\MRMesh\MRNormalDenoising.h. The function is meshDenoiseViaNormals.

Above result was obtained with the parameters:

    beta = 0.001f;
    gamma = 10.f;
    normalIters = 20;
    pointIters = 20;
    guideWeight = 0.03f;

For this huge mesh, it takes several minutes to solve big linear systems. So I would recommend to decimate your mesh first.

from meshlib.

Fedr avatar Fedr commented on May 21, 2024

It is a good idea to implement something like this. We will evaluation current approaches in this area, and implement one of them. Hope to show you something next week.

from meshlib.

MarcoWang1 avatar MarcoWang1 commented on May 21, 2024

sharpen flat regions is easy,but also sharpen holes is hard. for example
sharpen edges is easy,sharpen holes are hard

from meshlib.

Fedr avatar Fedr commented on May 21, 2024

I see, thanks. Please send us test data, if you have some. It will help during development.

from meshlib.

Fedr avatar Fedr commented on May 21, 2024

It is going fine. Here are first results.

Your initial mesh:
image

Our denoising with keeping of sharp features:
image

Full denoised mesh:
DenoisedTube.obj.zip

from meshlib.

Fedr avatar Fedr commented on May 21, 2024

Thanks. It looks like your mesh does not have any noise, but only discretization artifacts near sharp features. Increasing the number of iterations or other parameters of the proposed method can help, but one hardly can expect 100% quality just by moving vertices (without topology changes: new vertices, other triangulation, etc.) Or there is some other software that can perform better on this input?

from meshlib.

MarcoWang1 avatar MarcoWang1 commented on May 21, 2024

Yes,do you know nTop software, when the implicit body convert to mesh, they have the option to keep sharp.I think maybe they just convert implicit to mesh,and then mesh denoising

from meshlib.

Fedr avatar Fedr commented on May 21, 2024

Thanks for the reference. We will try to evaluate that software, but since it is not freely downloadable, it is hard to promise anything.

For the description, it looks like they have precise implicit representation of the surface (e.g. implicit representation of ball is x*x+y*y+z*z=1), and may use of it to create the surface with sharp edges. I do not believe that they can import already corrupted mesh (as in your example), and can fix it without having precise implicit representation.

Still the mesh can be made much better. Again, on your example:
image

Our denoising on maximal settings:
image

from meshlib.

MarcoWang1 avatar MarcoWang1 commented on May 21, 2024

nTop not only have implicit function ,but also implicit body from mesh,it can both keep sharp

from meshlib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.