Git Product home page Git Product logo

embedded_deformation's Introduction

C++ implementation of the "Embedded Deformation for Shape Manipulation"

What is in this repository?

This repository contains the C++ implementation of embedded deformation (ED) [1]. The formulation of the different cost functions used in ED are defined with the associated jacobians. In contrasts to [1], the optimization uses Levenberg-Marquardt from CERES instead of Gauss-Newton.

Several other cost functions are also defined, such as the minimization of model to model similarly as the one from Elastic Fusion (in the journal version).

Dependencies

Standard dev tools

On Ubuntu, you need to install the following packages:

sudo apt-get update
sudo apt-get install git build-essential cmake libx11-dev mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev libxrandr-dev libxi-dev libxmu-dev libblas-dev libxinerama-dev libxcursor-dev libeigen3-dev libyaml-cpp-dev

Additional dependencies

Additionally, CERES is used as an optimization framework. It can be installed with the package manager:

sudo apt-get install libceres-dev

Installation instruction

To build, type into the console:

git clone https://github.com/rFalque/embedded_deformation.git
cd embedded_deformation
mkdir build
cd build
cmake ..
make -j3

Run the code

ℹī¸ Info: The input files and the skeleton trimming method can be changed through the config.yaml file.

To run the sample, then just type:

./embedded_deformation

Illustration

example

todo

  • make the code single thread
  • clean up the mesh visualization

Link to the original paper:

[1] Embedded Deformation for Shape Manipulation

embedded_deformation's People

Contributors

rfalque avatar

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.