Source code for the reconstruction part of our paper: "Incremental Labeling of Voronoi Vertices for Shape Reconstruction" Published in Computer Graphics Forum, Oct 2018 Authors: Jiju Peethambaran, Amal Dev Parakkat, Andrea Tagliasacchi, Ruisheng Wang and Ramanathan Muthuganapathy The program is just a research prototype and so is prone to errors.
The program uses CGAL and is tested in CGAL 4.6. To execute the program:
-
Create a file with name "in.txt" which has the input file name.
-
Input file should contain x and y coordinates. eg:
165.24031007751938 21.503875968992247
204.00387596899225 13.864341085271318
241.9186046511628 9.337209302325581
268.515503875969 15.562015503875969
271.6279069767442 28.86046511627907
240.78682170542635 49.23255813953489
192.68604651162792 60.55038759689923
151.09302325581396 70.45348837209302
101.01162790697674 73.28294573643412
58.56976744186046 81.20542635658914
40.17829457364341 95.9186046511628
35.651162790697676 117.98837209302326
55.174418604651166 137.51162790697674
82.9031007751938 143.45348837209303
117.13953488372093 139.7751937984496
141.75581395348837 131.28682170542635
160.71317829457365 125.06201550387597
176.55813953488374 127.04263565891473
170.05038759689924 138.07751937984497
138.64341085271317 151.9418604651163
106.67054263565892 162.4108527131783
69.8875968992248 165.8062015503876
28.011627906976745 148.26356589147287
10.751937984496124 106.67054263565892
21.503875968992247 69.6046511627907
54.04263565891473 43.007751937984494
101.29457364341086 30.275193798449614
138.9263565891473 27.44573643410853
101.01162790697674 142.3217054263566
129.87209302325581 135.24806201550388
124.77906976744187 70.17054263565892
75.54651162790698 35.651162790697676
77.81007751937985 77.24418604651163
-
Run the program. Make use of the given script to install the required packages.
-
Provide the display size of vertices. Give "1", if it is not relevant to you.
Thanks and best wishes!!!