Skip to content

Commit f4938f9

Browse files
committed
Fix some docstrings
1 parent c16f603 commit f4938f9

1 file changed

Lines changed: 32 additions & 32 deletions

File tree

datalab/gui/processor/image.py

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1030,13 +1030,13 @@ def compute_all_threshold(self) -> None:
10301030
"""Compute all threshold algorithms
10311031
using the following functions:
10321032
1033-
- :py:func:`sigima.proc.image.threshold.threshold_isodata`
1034-
- :py:func:`sigima.proc.image.threshold.threshold_li`
1035-
- :py:func:`sigima.proc.image.threshold.threshold_mean`
1036-
- :py:func:`sigima.proc.image.threshold.threshold_minimum`
1037-
- :py:func:`sigima.proc.image.threshold.threshold_otsu`
1038-
- :py:func:`sigima.proc.image.threshold.threshold_triangle`
1039-
- :py:func:`sigima.proc.image.threshold.threshold_yen`
1033+
- :py:func:`sigima.proc.image.threshold_isodata`
1034+
- :py:func:`sigima.proc.image.threshold_li`
1035+
- :py:func:`sigima.proc.image.threshold_mean`
1036+
- :py:func:`sigima.proc.image.threshold_minimum`
1037+
- :py:func:`sigima.proc.image.threshold_otsu`
1038+
- :py:func:`sigima.proc.image.threshold_triangle`
1039+
- :py:func:`sigima.proc.image.threshold_yen`
10401040
"""
10411041
self.compute_multiple_1_to_1(
10421042
[
@@ -1058,10 +1058,10 @@ def compute_all_denoise(self, params: list | None = None) -> None:
10581058
"""Compute all denoising filters
10591059
using the following functions:
10601060
1061-
- :py:func:`sigima.proc.image.restoration.denoise_tv`
1062-
- :py:func:`sigima.proc.image.restoration.denoise_bilateral`
1063-
- :py:func:`sigima.proc.image.restoration.denoise_wavelet`
1064-
- :py:func:`sigima.proc.image.restoration.denoise_tophat`
1061+
- :py:func:`sigima.proc.image.denoise_tv`
1062+
- :py:func:`sigima.proc.image.denoise_bilateral`
1063+
- :py:func:`sigima.proc.image.denoise_wavelet`
1064+
- :py:func:`sigima.proc.image.denoise_tophat`
10651065
"""
10661066
if params is not None:
10671067
assert len(params) == 4, "Wrong number of parameters (4 expected)"
@@ -1092,12 +1092,12 @@ def compute_all_morphology(
10921092
"""Compute all morphology filters
10931093
using the following functions:
10941094
1095-
- :py:func:`sigima.proc.image.morphology.white_tophat`
1096-
- :py:func:`sigima.proc.image.morphology.black_tophat`
1097-
- :py:func:`sigima.proc.image.morphology.erosion`
1098-
- :py:func:`sigima.proc.image.morphology.dilation`
1099-
- :py:func:`sigima.proc.image.morphology.opening`
1100-
- :py:func:`sigima.proc.image.morphology.closing`
1095+
- :py:func:`sigima.proc.image.white_tophat`
1096+
- :py:func:`sigima.proc.image.black_tophat`
1097+
- :py:func:`sigima.proc.image.erosion`
1098+
- :py:func:`sigima.proc.image.dilation`
1099+
- :py:func:`sigima.proc.image.opening`
1100+
- :py:func:`sigima.proc.image.closing`
11011101
"""
11021102
if param is None:
11031103
param = sigima_image.MorphologyParam()
@@ -1119,21 +1119,21 @@ def compute_all_edges(self) -> None:
11191119
11201120
This function calls the following edge detection algorithms:
11211121
1122-
- :py:func:`sigima.proc.image.edges.canny`
1123-
- :py:func:`sigima.proc.image.edges.farid`
1124-
- :py:func:`sigima.proc.image.edges.farid_h`
1125-
- :py:func:`sigima.proc.image.edges.farid_v`
1126-
- :py:func:`sigima.proc.image.edges.laplace`
1127-
- :py:func:`sigima.proc.image.edges.prewitt`
1128-
- :py:func:`sigima.proc.image.edges.prewitt_h`
1129-
- :py:func:`sigima.proc.image.edges.prewitt_v`
1130-
- :py:func:`sigima.proc.image.edges.roberts`
1131-
- :py:func:`sigima.proc.image.edges.scharr`
1132-
- :py:func:`sigima.proc.image.edges.scharr_h`
1133-
- :py:func:`sigima.proc.image.edges.scharr_v`
1134-
- :py:func:`sigima.proc.image.edges.sobel`
1135-
- :py:func:`sigima.proc.image.edges.sobel_h`
1136-
- :py:func:`sigima.proc.image.edges.sobel_v`
1122+
- :py:func:`sigima.proc.image.canny`
1123+
- :py:func:`sigima.proc.image.farid`
1124+
- :py:func:`sigima.proc.image.farid_h`
1125+
- :py:func:`sigima.proc.image.farid_v`
1126+
- :py:func:`sigima.proc.image.laplace`
1127+
- :py:func:`sigima.proc.image.prewitt`
1128+
- :py:func:`sigima.proc.image.prewitt_h`
1129+
- :py:func:`sigima.proc.image.prewitt_v`
1130+
- :py:func:`sigima.proc.image.roberts`
1131+
- :py:func:`sigima.proc.image.scharr`
1132+
- :py:func:`sigima.proc.image.scharr_h`
1133+
- :py:func:`sigima.proc.image.scharr_v`
1134+
- :py:func:`sigima.proc.image.sobel`
1135+
- :py:func:`sigima.proc.image.sobel_h`
1136+
- :py:func:`sigima.proc.image.sobel_v`
11371137
"""
11381138
funcs = [
11391139
sigima_image.canny,

0 commit comments

Comments
 (0)