Update doc

This commit is contained in:
Simon Giraudot 2020-10-12 08:15:20 +02:00
parent 45248526ca
commit 5370a50dd6
1 changed files with 5 additions and 12 deletions

View File

@ -379,20 +379,13 @@ void orient_scanline (Iterator begin, Iterator end,
Then, the line of sight (estimated vector between a point and the Then, the line of sight (estimated vector between a point and the
position of the scanner at its time of acquisition) is estimated: position of the scanner at its time of acquisition) is estimated:
- if both `scan_direction_flag` and `scan_angle` are provided, the - if `scan_angle` is provided, the line of sight can be directly
line of sight can be directly computed as a combination of the 2D computed as a combination of the estimated scanline and of the
vector of the projected scanline, the vertical vector and the
scan angle. scan angle.
- if only `scan_angle` is provided, then for each scanline, the - if no scan angle map is provided, then for each scanline, the
position of the scanner is estimated as being above the point of position of the scanner is estimated as being above of the
the scanline which has the minimum scan angle absolute barycenter of the points of the scanline projected on the
value. This method is less optimal than the one using
`scan_direction_flag`.
- if none of these property maps are provided, then for each
scanline, the position of the scanner is estimated as being above
of the barycenter of the points of the scanline projected on the
XY-plane. This fallback method gives suboptimal results. XY-plane. This fallback method gives suboptimal results.
Once the line of sight is estimated for each point, the normals are Once the line of sight is estimated for each point, the normals are