Inputs:
|
⊳ Set of detected edge points () |
⊳ Computes the algebraic circle model parameters () from a set () of three randomly selected edge points |
⊳ Cost function for a single edge point (1 if is an inlier to the algebraic circle parameters (), 0 otherwise) |
n ⊳ Number of iterations |
Outputs:
|
⊳ Best model parameters |
⊳ Best consensus set (inliers) |
⊳ Best cost |
Method:
|
1:
for
do
|
2: ⊳ (I) Hypothesis |
3:
|
4: ifthen ⊳ (II) Preliminary test |
5:
|
6:
|
7: ifthen ⊳ (III) Evaluation |
8:
|
9:
|
10:
|
11: end if
|
12: end if
|
13:
|
14:
end for
|