|
Algorithm 1: Railway scanline division and calibration, SFRE process |
|
Input: point cloud set , the number of pulses of a scanning line ; |
|
Output: Rail point cloud
|
| 1: ; |
| 2: do
|
| 3:
|
| 4:
|
5: end for 6: 7: 8: RANSAC line fitting 9: 10: 11: RANSAC line fitting 12: 13: 14: 15: fordo 16: if
then 17: 18: else 19: end if 20: end for 21: //Get the the two keys with the maximum values 22: 23: 24: 25: 26: 27:
|