mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-05 22:54:29 +08:00
Removing unused import and fixing indentation issue
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import numpy as np
|
||||
from scipy.ndimage.filters import gaussian_filter
|
||||
|
||||
from ..color import rgb2gray
|
||||
from ..util import img_as_float
|
||||
from .util import _remove_border_keypoints
|
||||
|
||||
|
||||
@@ -3,8 +3,7 @@ from scipy.spatial.distance import hamming
|
||||
|
||||
|
||||
def _remove_border_keypoints(image, keypoints, dist):
|
||||
"""Removes keypoints that are within dist pixels from the image border.
|
||||
"""
|
||||
"""Removes keypoints that are within dist pixels from the image border."""
|
||||
width = image.shape[0]
|
||||
height = image.shape[1]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user