Here you'll find the codes for the paper Compact Model Representation for 3D Reconstruction presented at 3DV 2017.
In this work we used the ShapeNetCore.v1 and PASCAL3D+_release1.1 datasets.
To create the embedding graphs you'll need the CVX library.
Running a demo for the aeroplane category:
- Clone the repo:
git clone https://github.com/jhonykaesemodel/compact_3D_reconstruction.git
- Download Pascal3D+ dataset
- Open
add_paths.mand change the pathrootwith the path of the directory you placed the datasets (e.g.root = 'C:\datasets') - Download the precomputed data (i.e. aeroplane embedding graph files, ShapeNetCore 3D model IDs for all 3D models used and its manually annotated 3D anchors) here
- Unzip it and place the directories
ShapeNetAnchors,ShapeNetGraphandShapeNetMat.v1into therootdirectory (e.g.root = 'C:\datasets') - Run
get_started.mand have fun :)
To get some intuition about FFD, in the FFD directory you'll find demo_FFD.m, a tutorial FFD_tutorial.mlx, and also a simple FFD UI tool where you can select a control point and play with cursors to deform a 3D mesh model.
To run the FFD UI run FFD.mat and click Init to load the Standford bunny. Wait until the bunny and the FFD grid of control points are loaded before selecting the control points and playing with the cursors.
If you find this code useful in your research, please cite the paper:
@article{pontes2017compact3d,
title={Compact Model Representation for 3D Reconstruction},
author={Jhony K. Pontes and Chen Kong and Anders Eriksson and Clinton Fookes and Sridha Sridharan and Simon Lucey},
journal={International Conference on 3D Vision (3DV)},
year={2017}
}
