Commit eb5b35ae authored by Alexandre Bône's avatar Alexandre Bône

Housekeeping.

parent 27dd3f40
Pipeline #50174473 failed with stages
in 20 minutes and 14 seconds
#!/bin/bash
#Moving to the local deformetrica/examples directory
dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $dir
# Atlas construction :
deformetrica atlas 3D model.xml data_set.xml optimization_parameters.xml --output-dir=output
-0.067755 0.000000 0.359551
0.559233 -0.000000 -0.003716
-0.422648 -0.080930 0.076706
-0.422648 0.080930 0.076706
0.353976 -0.319330 -0.076485
0.353976 0.319330 -0.076485
0.186280 -0.105913 0.136968
0.186280 0.105913 0.136968
0.073496 -0.042885 0.171005
0.073496 0.042885 0.171005
0.000894 -0.101015 0.219853
0.000894 0.101015 0.219853
-0.317115 -0.490302 -0.140880
-0.317115 0.490302 -0.140880
0.036356 -0.184840 0.059506
0.036356 0.184840 0.059506
0.679924 -0.284836 -0.185795
0.679924 0.284836 -0.185795
-0.902296 0.000000 -0.014790
-0.334173 -0.308304 -0.031703
-0.226906 -0.388018 -0.066442
0.238526 -0.495303 -0.175104
0.682336 -0.249117 -0.140847
-0.527435 -0.227159 0.105247
-0.915072 -0.285449 -0.084949
-0.588108 -0.384526 0.027498
-0.414261 -0.558083 -0.173693
-0.709628 -0.546197 -0.209069
-0.279147 -0.551078 -0.191796
-0.441742 -0.076167 0.091928
0.075077 -0.548552 -0.169267
0.151201 -0.086105 0.142655
-0.328035 -0.078527 0.130721
-0.188634 -0.160355 0.078191
-0.319349 -0.157333 -0.009561
-0.695544 -0.078103 0.082735
-0.207819 -0.264980 -0.018917
-0.186662 -0.497279 -0.102856
-0.031502 -0.481533 -0.063280
-0.101123 -0.565625 -0.138967
-0.954181 -0.098791 -0.046933
-0.448314 -0.217296 0.009549
-0.855668 -0.454036 -0.168054
-0.685034 -0.225247 0.059026
-0.191490 -0.085893 0.236090
-0.346289 -0.446491 -0.091096
-0.067786 -0.240685 0.033290
-0.570304 -0.563494 -0.181845
-0.099131 -0.373187 -0.019988
0.025641 -0.066250 0.220869
0.121040 -0.443556 -0.072552
-0.559714 -0.060168 0.126809
0.729400 -0.077894 -0.061917
-0.485049 -0.500588 -0.049254
0.054432 -0.163186 0.072704
-0.659303 -0.466641 -0.085426
-0.769765 -0.338041 -0.041579
-0.069767 -0.153351 0.179993
0.017718 -0.341852 0.005197
0.142156 -0.249748 0.025711
0.395681 -0.491973 -0.246075
0.585311 -0.050750 -0.005070
0.579522 -0.360325 -0.214198
0.375654 -0.398838 -0.122424
-0.077193 -0.080535 0.321587
-0.834540 -0.127215 0.002253
-0.445651 -0.371942 0.010079
0.584187 -0.166126 -0.056082
0.491718 -0.270257 -0.098930
-0.334173 0.308304 -0.031703
-0.226906 0.388018 -0.066442
0.238526 0.495303 -0.175104
0.682336 0.249117 -0.140847
-0.527435 0.227159 0.105247
-0.915072 0.285449 -0.084949
-0.588108 0.384526 0.027498
-0.414261 0.558083 -0.173693
-0.709628 0.546197 -0.209069
-0.279147 0.551078 -0.191796
-0.441742 0.076167 0.091928
0.075077 0.548552 -0.169267
0.151201 0.086105 0.142655
-0.328035 0.078527 0.130721
-0.188634 0.160355 0.078191
-0.319349 0.157333 -0.009561
-0.695544 0.078103 0.082735
-0.207819 0.264980 -0.018917
-0.186662 0.497279 -0.102856
-0.031502 0.481533 -0.063280
-0.101123 0.565625 -0.138967
-0.954181 0.098791 -0.046933
-0.448314 0.217296 0.009549
-0.855668 0.454036 -0.168054
-0.685034 0.225247 0.059026
-0.191490 0.085893 0.236090
-0.346289 0.446491 -0.091096
-0.067786 0.240685 0.033290
-0.570304 0.563494 -0.181845
-0.099131 0.373187 -0.019988
0.025641 0.066250 0.220869
0.121040 0.443556 -0.072552
-0.559714 0.060168 0.126809
0.729400 0.077894 -0.061917
-0.485049 0.500588 -0.049254
0.054432 0.163186 0.072704
-0.659303 0.466641 -0.085426
-0.769765 0.338041 -0.041579
-0.069767 0.153351 0.179993
0.017718 0.341852 0.005197
0.142156 0.249748 0.025711
0.395681 0.491973 -0.246075
0.585311 0.050750 -0.005070
0.579522 0.360325 -0.214198
0.375654 0.398838 -0.122424
-0.077193 0.080535 0.321587
-0.834540 0.127215 0.002253
-0.445651 0.371942 0.010079
0.584187 0.166126 -0.056082
0.491718 0.270257 -0.098930
0.244787 0.441660 -0.124611
0.224863 0.422926 -0.103295
0.203555 0.403002 -0.085167
0.181818 0.382468 -0.066610
0.160161 0.361466 -0.049455
0.138703 0.340243 -0.034386
0.116587 0.315975 -0.021148
0.093088 0.292328 -0.010644
0.068372 0.270062 -0.001130
0.043793 0.247639 0.008961
0.014743 0.229286 0.018403
0.244787 -0.441660 -0.124611
0.224863 -0.422926 -0.103295
0.203555 -0.403002 -0.085167
0.181818 -0.382468 -0.066610
0.160161 -0.361466 -0.049455
0.138703 -0.340243 -0.034386
0.116587 -0.315975 -0.021148
0.093088 -0.292328 -0.010644
0.068372 -0.270062 -0.001130
0.043793 -0.247639 0.008961
0.014743 -0.229286 0.018403
0.353943 0.318951 -0.076840
0.318176 0.310251 -0.052967
0.287520 0.294134 -0.022085
0.263653 0.270201 0.009325
0.248486 0.239857 0.040610
0.237599 0.206380 0.070680
0.228386 0.170062 0.097771
0.220138 0.131333 0.121548
0.221814 0.089184 0.140093
0.237727 0.046858 0.144191
0.240837 -0.000000 0.144112
0.353943 -0.318951 -0.076840
0.318176 -0.310251 -0.052967
0.287520 -0.294134 -0.022085
0.263653 -0.270201 0.009325
0.248486 -0.239857 0.040610
0.237599 -0.206380 0.070680
0.228386 -0.170062 0.097771
0.220138 -0.131333 0.121548
0.221814 -0.089184 0.140093
0.237727 -0.046858 0.144191
0.334994 0.290335 -0.060250
0.324017 0.260279 -0.038852
0.318330 0.233087 -0.011531
0.312891 0.206844 0.016592
0.306376 0.178270 0.042174
0.301065 0.146996 0.064662
0.297445 0.113434 0.083968
0.295181 0.078130 0.100250
0.293328 0.040664 0.110471
0.290482 0.000000 0.115974
0.334994 -0.290335 -0.060250
0.324017 -0.260279 -0.038852
0.318330 -0.233087 -0.011531
0.312891 -0.206844 0.016592
0.306376 -0.178270 0.042174
0.301065 -0.146996 0.064662
0.297445 -0.113434 0.083968
0.295181 -0.078130 0.100250
0.293328 -0.040664 0.110471
0.347914 0.280814 -0.061385
0.338580 0.251578 -0.040790
0.333526 0.224505 -0.015503
0.330611 0.199101 0.010933
0.326488 0.172047 0.036143
0.321941 0.142269 0.058237
0.318458 0.109138 0.075035
0.316637 0.073896 0.087151
0.318770 0.037204 0.092954
0.318747 -0.000000 0.093985
0.347914 -0.280814 -0.061385
0.338580 -0.251578 -0.040790
0.333526 -0.224505 -0.015503
0.330611 -0.199101 0.010933
0.326488 -0.172047 0.036143
0.321941 -0.142269 0.058237
0.318458 -0.109138 0.075035
0.316637 -0.073896 0.087151
0.318770 -0.037204 0.092954
0.383912 0.288495 -0.073772
0.401167 0.260743 -0.056703
0.416481 0.233230 -0.035661
0.427658 0.205483 -0.012845
0.433461 0.176582 0.010446
0.435967 0.146037 0.031846
0.436745 0.113498 0.048620
0.434922 0.078331 0.060200
0.432704 0.041414 0.067230
0.439201 0.000000 0.058410
0.383912 -0.288495 -0.073772
0.401167 -0.260743 -0.056703
0.416481 -0.233230 -0.035661
0.427658 -0.205483 -0.012845
0.433461 -0.176582 0.010446
0.435967 -0.146037 0.031846
0.436745 -0.113498 0.048620
0.434922 -0.078331 0.060200
0.432704 -0.041414 0.067230
-0.399426 0.601789 -0.253601
-0.434361 0.571336 -0.183510
-0.469967 0.544585 -0.115531
-0.504670 0.508180 -0.052334
-0.524224 0.452650 0.003085
-0.529609 0.384371 0.046803
-0.532440 0.309845 0.080466
-0.541850 0.233414 0.106686
-0.558825 0.155064 0.120583
-0.554692 0.074207 0.125803
-0.526166 0.000000 0.133583
-0.399426 -0.601789 -0.253601
-0.434361 -0.571336 -0.183510
-0.469967 -0.544585 -0.115531
-0.504670 -0.508180 -0.052334
-0.524224 -0.452650 0.003085
-0.529609 -0.384371 0.046803
-0.532440 -0.309845 0.080466
-0.541850 -0.233414 0.106686
-0.558825 -0.155064 0.120583
-0.554692 -0.074207 0.125803
This diff is collapsed.
This diff is collapsed.
# vtk DataFile Version 3.0
vtk output
ASCII
DATASET POLYDATA
POINTS 4 float
20.000000 20.000000 0.000000
20.000000 30.000000 0.000000
40.000000 20.000000 0.000000
40.000000 30.000000 0.000000
# vtk DataFile Version 3.0
vtk output
ASCII
DATASET POLYDATA
POINTS 4 float
20.000000 20.000000 0.000000
20.000000 30.000000 0.000000
30.000000 20.000000 0.000000
30.000000 30.000000 0.000000
<?xml version="1.0"?>
<data-set>
<subject id="target">
<visit id="target">
<filename object_id="pointcloud">data/target_points.vtk</filename>
</visit>
</subject>
</data-set>
<?xml version="1.0"?>
<model>
<model-type>Registration</model-type>
<dimension>2</dimension>
<template>
<object id="pointcloud">
<deformable-object-type>Landmark</deformable-object-type>
<noise-std>1e3</noise-std>
<filename>data/source_points.vtk</filename>
</object>
</template>
<deformation-parameters>
<kernel-width>3</kernel-width>
<kernel-type>torch</kernel-type>
<number-of-timepoints>10</number-of-timepoints>
</deformation-parameters>
</model>
<?xml version="1.0"?>
<optimization-parameters>
<optimization-method-type>GradientAscent</optimization-method-type>
<initial-step-size>1e-8</initial-step-size>
<freeze-template>On</freeze-template>
<freeze-cp>On</freeze-cp>
<max-line-search-iterations>20</max-line-search-iterations>
</optimization-parameters>
2.33635 2.08226
5.36639 21.3914
3.01566 41.6175
1.67438 61.3215
23.4824 6.70152
22.4076 22.5398
20.9972 39.4138
20.3631 58.5136
40.8363 6.06839
42.169 22.3306
42.6371 38.2785
42.8044 58.3678
59.6736 2.8715
55.4878 20.5349
57.0272 42.4567
60.5489 60.6813
1 16 2
-0.778764 -0.149156
-1.62932 0.442742
1.55565 0.513519
0.557915 -0.1755
-3.30125 -2.26401
-4.40346 3.03162
5.07282 3.07678
2.63173 -0.0778526
2.97463 -2.51073
4.03249 3.21835
-4.11883 3.27418
-2.17813 -0.0280358
1.22228 -0.261119
2.24741 0.650703
-2.48065 0.737689
-1.03023 -0.211223
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment