diff --git a/docs/docs/imaging.xml b/docs/docs/imaging.xml
index 42ca3b0bb..601266aef 100644
--- a/docs/docs/imaging.xml
+++ b/docs/docs/imaging.xml
@@ -240,6 +240,7 @@
- zero_border_pixels
- integral_image
- integral_image_generic
+ - hough_transform
@@ -252,6 +253,24 @@
+
+
+
+ hough_transform
+ dlib/image_transforms.h
+ dlib/image_transforms/hough_transform_abstract.h
+
+ This object is a tool for computing the line finding version of
+ the Hough transform given some kind of edge detection image as
+ input. It also allows the edge pixels to be weighted such that
+ higher weighted edge pixels contribute correspondingly more to
+ the output of the Hough transform, allowing stronger edges to
+ create correspondingly stronger line detections in the final
+ Hough transform.
+
+
+
+
diff --git a/docs/docs/linear_algebra.xml b/docs/docs/linear_algebra.xml
index 3b804b101..9454db5fc 100644
--- a/docs/docs/linear_algebra.xml
+++ b/docs/docs/linear_algebra.xml
@@ -620,6 +620,8 @@
- move_rect
- nearest_point
- distance_to_rect_edge
+ - clip_line_to_rectangle
+ - distance_to_line
@@ -857,6 +859,32 @@
+
+
+
+ distance_to_line
+ dlib/geometry.h
+ dlib/geometry/rectangle_abstract.h
+
+ This function takes a line and a point
+ and returns the distance from the line to the point.
+
+
+
+
+
+
+
+ clip_line_to_rectangle
+ dlib/geometry.h
+ dlib/geometry/rectangle_abstract.h
+
+ This function takes a rectangle and a line segment and
+ returns the part of the line segment that is entirely contained within the
+ rectangle.
+
+
+
diff --git a/docs/docs/term_index.xml b/docs/docs/term_index.xml
index 8f02eb0b2..b6ebfa966 100644
--- a/docs/docs/term_index.xml
+++ b/docs/docs/term_index.xml
@@ -47,6 +47,8 @@
+
+
@@ -1284,6 +1286,7 @@
+