Skip to content

Commit 0bc3ab0

Browse files
[Docs] fix docstring
1 parent e7c0539 commit 0bc3ab0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mmedit/datasets/transforms/aug_pixel.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ class BinarizeImage(BaseTransform):
2020
Args:
2121
keys (Sequence[str]): The images to be binarized.
2222
binary_thr (float): Threshold for binarization.
23-
amin (int): Lower limits of pixel value.
24-
amx (int): Upper limits of pixel value.
23+
a_min (int): Lower limits of pixel value.
24+
a_max (int): Upper limits of pixel value.
2525
dtype (np.dtype): Set the data type of the output. Default: np.uint8
2626
"""
2727

@@ -86,8 +86,8 @@ class Clip(BaseTransform):
8686
8787
Args:
8888
keys (list[str]): The keys whose values are clipped.
89-
amin (int): Lower limits of pixel value.
90-
amx (int): Upper limits of pixel value.
89+
a_min (int): Lower limits of pixel value.
90+
a_max (int): Upper limits of pixel value.
9191
"""
9292

9393
def __init__(self, keys, a_min=0, a_max=255):

0 commit comments

Comments
 (0)