Unverified Commit 259ea5f6 authored by Zaida Zhou's avatar Zaida Zhou Committed by GitHub
Browse files

fix typo (#1285)

parent ac0d8398
...@@ -301,7 +301,7 @@ def adjust_sharpness(img, factor=1., kernel=None): ...@@ -301,7 +301,7 @@ def adjust_sharpness(img, factor=1., kernel=None):
image and the degenerated mean image: image and the degenerated mean image:
.. math:: .. math::
output = img * factor + degenerated * (1 - factor) output = img * factor + degenerated * (1 - factor)
Args: Args:
img (ndarray): Image to be sharpened. BGR order. img (ndarray): Image to be sharpened. BGR order.
...@@ -309,7 +309,7 @@ def adjust_sharpness(img, factor=1., kernel=None): ...@@ -309,7 +309,7 @@ def adjust_sharpness(img, factor=1., kernel=None):
kernel (np.ndarray, optional): Filter kernel to be applied on the img kernel (np.ndarray, optional): Filter kernel to be applied on the img
to obtain the degenerated img. Defaults to None. to obtain the degenerated img. Defaults to None.
Notes: Notes::
No value sanity check is enforced on the kernel set by users. So with No value sanity check is enforced on the kernel set by users. So with
an inappropriate kernel, the `adjust_sharpness` may fail to perform an inappropriate kernel, the `adjust_sharpness` may fail to perform
the function its name indicates but end up performing whatever the function its name indicates but end up performing whatever
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment