Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
MMCV
Commits
259ea5f6
Unverified
Commit
259ea5f6
authored
Aug 21, 2021
by
Zaida Zhou
Committed by
GitHub
Aug 21, 2021
Browse files
fix typo (#1285)
parent
ac0d8398
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
mmcv/image/photometric.py
mmcv/image/photometric.py
+2
-2
No files found.
mmcv/image/photometric.py
View file @
259ea5f6
...
...
@@ -301,7 +301,7 @@ 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.
...
...
@@ -309,7 +309,7 @@ def adjust_sharpness(img, factor=1., kernel=None):
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment