-
Notifications
You must be signed in to change notification settings - Fork 95
/
Copy pathfish_partial.ini
130 lines (98 loc) · 4.28 KB
/
fish_partial.ini
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
#=========================================================================
# An Example of the Configuration INI File
#=========================================================================
# $Author: bing.jian $
# $Date: 2009-02-10 02:13:49 -0500 (Tue, 10 Feb 2009) $
# $Revision: 121 $
#=========================================================================
# Notes:
# (1) Section names should be upper-case, e.g. use 'FILES' not 'Files'
# (2) All keys should be lower-case, e.g. use 'model' but not 'Model'
[FILES]
# The alignment is done by moving the 'model' towards the fixed 'scene'
# Usually the point set with less points is chosen as the 'model'.
## this fish dataset was reproduced from http://www.cise.ufl.edu/~anand/students/chui/research.html with permission
model = ./fish_data/fish_X_nohead.txt
scene = ./fish_data/fish_Y_notail.txt
# 'ctrl_pts' serve as the control points when thin plate splines (TPS) or
# Gaussian radial basis functions (GRBF) are used in the nonrigid registration
# if 'ctrl_pts' is not provided, model will be used as ctrl_pts
# the program 'gmmreg_aux' can be used to generate ctrl pts from regular grid pts
ctrl_pts = ./fish_data/fish_ctrl_pts.txt
# Initial transformation parameters. If not provided, default parameters
# corresponding to the identity transform will be used.
init_affine =
init_tps =
init_params =
# Final output parameters
# rigid registration (rotation + translation)
final_rigid = ./final_rigid.txt
# thin-plate splines which can be decomposed by affine and nonlinear part
final_affine = ./final_affine.txt
final_tps = ./final_tps.txt
# parameters corresponding to the weights of Gaussian radial basis functions
final_params = ./final_params.txt
# The final transformed model is saved here
transformed_model = ./transformed_model.txt
[GMMREG_OPT]
# This section configures parameters used in the point set registration methods
# that minimize similarity measures between two Gaussian mixtures corresponding
# to the two point sets by directly employing numerical optimization.
#
# The two representative references are:
# Yanghai Tsin and Takeo Kanade,
# A Correlation-Based Approach to Robust Point Set Registration,
# ECCV (3) 2004: 558-569.
#
# Bing Jian and Baba C. Vemuri,
# A Robust Algorithm for Point Set Registration Using Mixture of Gaussians,
# ICCV 2005, pp. 1246-1251.
#
# Currently, 2D/3D rigid registration and nonrigid registration using thin plate
# splines (TPS) model are supported for above methods.
# if the 'normalize' flag is nonzero, normalization is done before the registration
normalize = 1
# multiscale option, this number should be no more than the
# number of parameters given in options below
level = 4
# the scale parameters of Gaussian mixtures, from coarse to fine,
sigma = .3 .2 .1 .05
# weights of the regularization term, e.g. the TPS bending energy
lambda = .1 .02 .01 .02 0 0 0
# to fix the affine or not during optimization at each level
fix_affine = 0 0 0 0
# the max number of function evaluations at each level
max_function_evals = 100 200 300 400
[GMMREG_EM]
# This section configures parameters used in the point set registration methods
# based on the EM framework.
#
# The two representative references are:
# Haili Chui and Anand Rangarajan,
# A new point matching algorithm for non-rigid registration,
# Computer Vision and Image Understanding, 2003, 89(2-3), pp. 114-141.
#
# Andriy Myronenko, Xubo B. Song, Miguel A. Carreira-Perpinan,
# Non-rigid Point Set Registration: Coherent Point Drift,
# NIPS 2006, pp. 1009-1016.
#
# Currently only 2D/3D nonrigid registation have been implemented based on above two methods.
# Note that in Chui and Rangrajan (2000) the thin plate splines (TPS) model is used while the
# Gaussian radial basis functions (GRBF) model is used in Myronenko et al. (2006).
# if the 'normalize' flag is nonzero, normalization is done before the registration
normalize = 1
# account for outliers and missing points
outliers = 1
# the initial scale for Gaussian radial basis functions
sigma = .5
# std of Gaussian kernel. Smaller value allows local deformations. Large - almost rigid
beta = 3
# weight of regularization
lambda = 1
# annealing rate
anneal = 0.93
# for parameters below, pls. see http://www.csee.ogi.edu/~myron/matlab/cpd/
tol = 1e-8
emtol = 1e-5
max_iter = 200
max_em_iter = 20