| Algorithm 1. Spatial Consensus Check | ||||
| Input: | ||||
| Output: | ||||
|
for
i = 1 to
n
do
| ||||
| end | ||||
|
for
i = 1 to
Max_iters
do
| ||||
| Compute the distance of all points to centroid points. | ||||
| For a point , denotes | ||||
| if , then | ||||
| Remove this point. | ||||
| Update or . | ||||
| end | ||||
| end |
| Algorithm 1. Spatial Consensus Check | ||||
| Input: | ||||
| Output: | ||||
|
for
i = 1 to
n
do
| ||||
| end | ||||
|
for
i = 1 to
Max_iters
do
| ||||
| Compute the distance of all points to centroid points. | ||||
| For a point , denotes | ||||
| if , then | ||||
| Remove this point. | ||||
| Update or . | ||||
| end | ||||
| end |