File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
mmedit/datasets/transforms Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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 ):
You can’t perform that action at this time.
0 commit comments