Comments (7)
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.
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.
I remember that it is right. You can test and verify it.
from 3d_face_dense_registration.
There are also some tricks to avoid to denominator to be zero.
from 3d_face_dense_registration.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 3d_face_dense_registration.