forked from palanglois/line-surface-reconstruction
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdemo.sh
35 lines (20 loc) · 1.35 KB
/
demo.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
### NOTES ###
# These example lines should be executed from the main directory
# cp is the lagrange multiplier in front of the main data term.
# Usually cp is 1: this doesn't change anything in theory (we're optimizing a linear program), but in practice it
# can affect the approximations made in MOSEK.
# ca is a lagrange multiplier associated to a term that penalizes the total area of the reconstruction.
# it is usually not used when dealing with lines (it is set to 0 in all our examples), but it is left in the program.
# Feel free to experiment with it.
#############
# Andalusian
build/line_based_recons -i data/Andalusian/input_lines_from_residuals.json -o data/ -cp 1 -cv 1 -ca 0 -ce 0.1 -cc 0.1 -ext -v
# Barn
# The line output from Line3d++ is very noisy for this example. Therefore it requires a strong regularization.
build/line_based_recons -i data/Barn/input_lines_from_residuals.json -o data/ -cp 10 -cv 5 -ca 0 -ce 10 -cc 10 -ext -v
# Bridge
build/line_based_recons -i data/Bridge/input_lines_from_residuals.json -o data/ -cp 1 -cv 1 -ca 0 -ce 0.1 -cc 0.1 -int -v
# HouseInterior
build/line_based_recons -i data/HouseInterior/input_lines_from_residuals.json -o data/ -cp 10 -cv 1 -ca 0 -ce 0.01 -cc 0.1 -int -v
# TimberFrame
build/line_based_recons -i data/TimberFrame/input_lines_from_residuals.json -o data/ -cp 1 -cv 1 -ca 0 -ce 1 -cc 1 -ext -v