Skip to content

Commit

Permalink
Merge 0bc3ab0 into e7c0539
Browse files Browse the repository at this point in the history
  • Loading branch information
dienachtderwelt committed Jan 5, 2023
2 parents e7c0539 + 0bc3ab0 commit d3bfc3e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mmedit/datasets/transforms/aug_pixel.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ class BinarizeImage(BaseTransform):
Args:
keys (Sequence[str]): The images to be binarized.
binary_thr (float): Threshold for binarization.
amin (int): Lower limits of pixel value.
amx (int): Upper limits of pixel value.
a_min (int): Lower limits of pixel value.
a_max (int): Upper limits of pixel value.
dtype (np.dtype): Set the data type of the output. Default: np.uint8
"""

Expand Down Expand Up @@ -86,8 +86,8 @@ class Clip(BaseTransform):
Args:
keys (list[str]): The keys whose values are clipped.
amin (int): Lower limits of pixel value.
amx (int): Upper limits of pixel value.
a_min (int): Lower limits of pixel value.
a_max (int): Upper limits of pixel value.
"""

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

0 comments on commit d3bfc3e

Please sign in to comment.