To install the program see INSTALL.txt file
If you want you can also directly test the programm online:
http://ipol-geometry.loria.fr/~phuc/ipol_demo/DecompConvexRigidMotion/
Allowed options are:
Options | Description |
---|---|
-h [ --help ] | display this message. |
-i [ --input ] arg | input filename. |
-o [ --output ] arg (=./) | output dir (default ./). |
-d [ --dir ] arg (=./) | execute dir (default ./). |
-x [ --tx ] arg (=0) | x-translation. |
-y [ --ty ] arg (=0) | y-translation. |
-z [ --tz ] arg (=0) | z-translation. |
-a [ --alpha ] arg (=0) | rotation angle by x-axis. |
-b [ --beta ] arg (=0) | rotation angle by y-axis. |
-g [ --gamma ] arg (=0) | rotation angle by z-axis. |
-s [ --scale ] arg (=100) | scale data. |
-r [ --resolution ] arg (=100000) | decomposition parameter resolution. |
--depth arg (=20) | decomposition parameter depth. |
-m [ --minVolumePerCH ] arg (=0.0001) | decomposition parameter minimum volume of convex hull. |
File egea.obj:
./transformDecomShape3d -i ../Samples/egea.obj -o ../Results/egea_res.obj --resolution 1000000
--depth 30 --minVolumePerCH 0.0 -x 0.1 -y 0.5 -z 1 -a 0.3 -b 0.7 -g 0.1
Input image | Convex decomposition | Digitized decomposition | Transformed result |
File Hand1.obj:
./transformDecomShape3d -i ../Samples/Hand1.obj -o ../Results/Hand1_res.obj
--resolution 90000 --depth 10 -s 0.5 -x 0.1 -y 0.5 -z 1 -a 0.3 -b 0.7 -g 0.1
Input image | Convex decomposition | Digitized decomposition | Transformed result |
File drum.obj:
./transformDecomShape3d -i ../Samples/drum.obj -o ../Results/drum_res.obj
--resolution 500000 --depth 40 -s 20 -x 0.1 -y 0.5 -z 1 -a 0.3
Input image | Convex decomposition | Digitized decomposition | Transformed result |
File chair.obj:
./transformDecomShape3d -i ../Samples/chair.obj -o ../Results/chair_res.obj
--resolution 500000 --depth 40 -s 100 -x 0.1 -y 0.5 -z 1 -b 0.3 -g 1.34
Input image | Convex decomposition | Digitized decomposition | Transformed result |