You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/cpp_api.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -104,9 +104,8 @@ Configures how the transformation will be computed.
104
104
105
105
Vertical vanishing point will be searched in vertical direction in `(-a, +a)` degrees (where `a` is `vertical_vp_angular_tolerance`) at minimum distance `vertical_vp_min_distance`.
106
106
107
-
Horizontal vansihinf point will be searched in lower hald-plane at minimum distance `horizontal_vp_min_distance`.
108
107
109
-
These search space constraints are important for
108
+
The distance is a fraction of image half-diagonal size, i.e. `horizontal_vp_min_distance = 1` in image with size `(500x500)` is `sqrt(500^2 + 500^2) / 2 ~= 353` pixels. Allowing vanishing points width distance <1 can result in degenerate transform.
0 commit comments