Skip to content

Commit 4476f9f

Browse files
committed
Update documentation
1 parent 4fe694a commit 4476f9f

File tree

6 files changed

+20
-11
lines changed

6 files changed

+20
-11
lines changed

discorpy/losa/loadersaver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
- Save a 2D array as a tif/png/jpg image or a 2D, 3D array to a hdf file.
2929
- Save a plot of data points to an image.
3030
- Save/load metadata to/from a text/json file.
31-
- Save/load python list
31+
- Save/load python list.
3232
3333
"""
3434

discorpy/prep/preprocessing.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,13 @@
2727
- Determine the median dot-size, median distance between two nearest dots,
2828
and the slopes of grid-lines of a dot-pattern image.
2929
- Remove non-dot objects or misplaced dots.
30-
- Group dot-centroids into horizontal lines and vertical lines.
30+
- Group points into horizontal lines and vertical lines.
3131
- Calculate a threshold value for binarizing.
3232
- Create a 2D mask with parabolic boundary.
3333
- Remove points outside a parabolic mask in a 2D space.
3434
- Extract dot-centroids of a dot-pattern from a binary or grayscale image.
35+
- Group points on strongly curved lines into horizontal lines and vertical
36+
lines based on polynomial fit.
3537
"""
3638

3739
import numpy as np

discorpy/proc/processing.py

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,15 @@
2727
"""
2828
Module of processing methods:
2929
30-
- Fit lines of points to parabolas, find the center of distortion.
31-
- Calculate undistorted intercepts of gridlines.
32-
- Calculate distortion coefficients of the backward model, the forward model,
33-
and the backward-from-forward model.
34-
- Correct perspective distortion affecting curve lines.
35-
- Generate non-perspective points or lines from perspective points or lines.
36-
- Calculate perspective coefficients.
30+
- Fit lines of points to parabolas, find the center of distortion.
31+
- Calculate undistorted intercepts of gridlines.
32+
- Calculate distortion coefficients of the backward model, the forward model,
33+
and the backward-from-forward model.
34+
- Correct perspective distortion affecting curve lines.
35+
- Generate non-perspective points or lines from perspective points or lines.
36+
- Calculate perspective coefficients.
37+
- Correct perspective effect.
38+
- Find center of distortion based on using vanishing points.
3739
3840
"""
3941
import numpy as np

docs/source/api/discorpy.prep.linepattern.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@
1717
calc_slope_distance_hor_lines
1818
calc_slope_distance_ver_lines
1919
get_tilted_profile
20+
convert_chessboard_to_linepattern
2021
get_cross_points_hor_lines
2122
get_cross_points_ver_lines
22-
convert_chessboard_to_linepattern

docs/source/api/discorpy.prep.preprocessing.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,6 @@
2929
remove_points_using_parabola_mask
3030
get_points_dot_pattern
3131
rotate_points
32-
remove_subset_points
32+
remove_subset_points
33+
group_dots_hor_lines_based_polyfit
34+
group_dots_ver_lines_based_polyfit

docs/source/api/discorpy.proc.processing.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,7 @@
3232
generate_4_source_target_perspective_points
3333
calc_perspective_coefficients
3434
update_center
35+
correct_perspective_effect
36+
find_center_based_vanishing_points
37+
find_center_based_vanishing_points_iteration
3538

0 commit comments

Comments
 (0)