Giter Club home page Giter Club logo

shellgca's Introduction

code structure?

core:

including implementations of shell deformation energy cost, gradient, and hessian derivations;
including implementation of elastic average and geodesic average;
including geodesic interpolation and extrapolation;
including implementation of objective function for model fitting and mesh editing; 

data:

c3d_data:
	includes *.c3d type motion capture data selected from CMU MoCap repo and MPI MoSh website
faust:
	includes 10 sample meshes taken from MPI FAUST dataset
precomputed:
	includes some precomputed model files or data files for the usage of running some included demos

util:

c3d_matlab:
	includes scripts to load and read c3d files in matlab
others:
	includes supportive codes for mesh loading and saving, etc

any demo code to run?

Yes. We provide several demo scripts which can be used readily to reproduce the results as shown in our paper. With just a few modifications, you can work on your own data.

  • filename: demo_GCA.m this code implements the core part of our paper, it produces the average shape and a set of principal variations shapes, given a couple of meshes; the current version only supports working on low resolution meshes; stand-alone deformation transfer codes may be provided in the future;

requirements: a set of decimated meshes with the same topology

  • filename: demo_Recon.m this code implements shape reconstruction using the trained PGA model

requirements: 1. pre-computed PGA model 2. test data with the same topology as training data

  • filename: demo_fitting_to_markers_.m this code implements fitting the (human body) model to motion capture data (c3d file)

requirements: 1. pre-computed PGA model 2. motion capture data in c3d format

  • filename: demo_mesh_edit.m this code implements soft-constraint mesh editing (hard-constraint may be released in the future)

requirements: 1. pre-computed PGA model 2. model correspondence indices to handles, and new handle positions 3. (optional) training data of the model to be used as appropriate initialization

shellgca's People

Contributors

cazhang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

shellgca's Issues

file containing 'optimizeGeoPath' is not accessible

I tried searching for the function 'optimizeGeoPath' but it does not seem to be included in the code you have provided.

I get the following error:

Error using GeodesicAveragePar>computeGeodesicTemparal (line 392)
An UndefinedFunction error was thrown on the workers for 'optimizeGeoPath'. This might be because the file containing 'optimizeGeoPath' is not accessible on
the workers. Use addAttachedFiles(pool, files) to specify the required files to be attached. See the documentation for 'parallel.Pool/addAttachedFiles' for
more details.

Error in GeodesicAveragePar (line 69)
[FV_gas, FVgeo] = computeGeodesicTemparal(FVgeo,FV_ga_old,Topo,Ev,Ef,Eo,...

Error in demo_GCA (line 248)
[ ~,FV_path_test ] = GeodesicAveragePar( FVtest,Topology,options,FV_opt);

Caused by:
Undefined function 'optimizeGeoPath' for input arguments of type 'struct'.

Unable to run code

Demos are not self-sufficient. Running them yielding many errors.
Please give instructions to run the code.

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.