Jan.30, 2004
SVP version: Feb.02, 2004
Experimental images: (from Jb journal of ASM)
/proj/bkl/myshao/SVP/sample_gif/line-experiments/ line1..
line10.jpeg view them at here
Experiments Facts (The
parameters are default values if not specified)
File Name |
Line Width |
xy_box/quadric_box | black/white_threshold | max_black_density | xy_error_tolerance | line_fitter_width | max_line_percent_error |
paramters |
default values |
11 |
128 |
0.5 |
0.8 |
11 |
0.3 |
line1 |
6 |
18 |
|||||
line2 |
5 |
15 |
|||||
line3 | 4 |
10 |
|||||
line4 |
1,2,3(line density is low) |
11 |
100 |
0.8 |
|||
line5 |
1,2 |
11 |
100 |
0.3 |
0.6 |
||
line6 |
6,13(works great for width=6) |
16 |
1.0 |
16 |
|||
line6 |
6,13(works great for width=13) |
22 |
1.0 |
22 |
|||
line7 |
9,10,15/20(width=9) |
16 |
1.0 |
16 |
|||
line7 |
9,10,15/20(width=15) |
22 |
1.0 |
22 |
|||
line8 |
6,7,10(width=10)(high density) |
18 |
0.6 |
1.0 |
20 |
||
line8 |
6,7,10(width=6,7)(high density) |
16 |
0.6 |
1.0 |
16 |
||
line9 |
1,2 |
6 |
0.3 |
0.8 |
4 |
0.9 |
Results:
Line width |
xy_box/quadric_box | black/white_threshold | max_black_density | xy_error_tolerance | line_fitter_width | max_line_percent_error |
paramter
defaults |
11 |
128 |
0.5 |
0.8 |
11 |
0.3 |
1,2 |
6 |
0.3 |
4 |
0.9 |
||
1,2(low density) |
100 |
0.8 |
||||
3 |
100 |
0.8 |
||||
4 |
10 |
|||||
5 |
15 |
|||||
6,7 |
16,18 |
0.8,0.9, or 1.0 if high density |
||||
8,9 |
16 |
1.0 |
16 |
|||
10 |
16,18 |
0.8 |
1.0 |
20 |
||
13,15 |
22,30 |
0.8 |
1.0 |
22,30 |
Conclusion:
1. The paramters tested are: xy_box_size,quadric_box_size,black_white_threshold,max_black_density,xy_error_tolerance,line_fitter_width,
and max_line_percent_error.
2. The most important one is
xy_box_size/quadric_box_size and line_fitter_width, since they should
adjust to be almost 2 times of the line width.
3. Black_white_threshold and
max_black_density are used if the density of the line is very low or
very high. The default values of these two parameters are 128 and 0.5
respectively. Based on the line density, they can be adjusted between
100 and 128 for black_white_threshold, and 0.3 to 1.0 for
max_black_density.
4. If the results are still not
good, we can adjust the other two parameters, xy_error_tolerance and
max_line_percent_error. Based on their default values are 0.8 and 0.3
respectively, we can adjust them to 0.9, etc.
Notes:
All the parameters Should be able to save and set to be default values,
i.e., ParameterEditor.java should be modified.