Git Product home page Git Product logo

Comments (7)

NaughtyZZ avatar NaughtyZZ commented on June 12, 2024

It is an array sized NX30, where N is the number of vertices and 30 is the number of landmarks. Each element is inversely proportional to the squared distance between each landmark and each vertex.

You can also refer to the matlab version (demo_dense_registration.m Line 79-94 ), where Dfield.mat is a matrix of which each element is the geodesic distance from each point to each landmark on the template. I precompute it using a heat-flow based method [Crane et al. ACM TOG 2013. Geodesics in heat: A new approach to computing distance based on heat flow]. Other method for the computation of geodesic distance is OK. It only requires to be computed once only on the template.

from 3d_face_dense_registration.

LPHFAQ avatar LPHFAQ commented on June 12, 2024

It is an array sized NX30, where N is the number of vertices and 30 is the number of landmarks. Each element is inversely proportional to the squared distance between each landmark and each vertex.

You can also refer to the matlab version (demo_dense_registration.m Line 79-94 ), where Dfield.mat is a matrix of which each element is the geodesic distance from each point to each landmark on the template. I precompute it using a heat-flow based method [Crane et al. ACM TOG 2013. Geodesics in heat: A new approach to computing distance based on heat flow]. Other method for the computation of geodesic distance is OK. It only requires to be computed once only on the template.

I find that the element in weights.txt equals to 1/(geodesic_distansce)^4, where the geodesic_distansce is the elements in Dfield.mat, is it right?

from 3d_face_dense_registration.

NaughtyZZ avatar NaughtyZZ commented on June 12, 2024

I remember that it is right. You can test and verify it.

from 3d_face_dense_registration.

NaughtyZZ avatar NaughtyZZ commented on June 12, 2024

There are also some tricks to avoid to denominator to be zero.

from 3d_face_dense_registration.

Related Issues (7)

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.