Skip to content

Commit

Permalink
fix typo (#1285)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouzaida authored Aug 21, 2021
1 parent ac0d839 commit 259ea5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mmcv/image/photometric.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,15 +301,15 @@ def adjust_sharpness(img, factor=1., kernel=None):
image and the degenerated mean image:
.. math::
output = img * factor + degenerated * (1 - factor)
output = img * factor + degenerated * (1 - factor)
Args:
img (ndarray): Image to be sharpened. BGR order.
factor (float): Same as :func:`mmcv.adjust_brightness`.
kernel (np.ndarray, optional): Filter kernel to be applied on the img
to obtain the degenerated img. Defaults to None.
Notes:
Notes::
No value sanity check is enforced on the kernel set by users. So with
an inappropriate kernel, the `adjust_sharpness` may fail to perform
the function its name indicates but end up performing whatever
Expand Down

0 comments on commit 259ea5f

Please sign in to comment.