mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-19 11:27:45 +08:00
Move canny from filter to feature
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
from ._canny import canny
|
||||
from ._daisy import daisy
|
||||
from ._hog import hog
|
||||
from .texture import greycomatrix, greycoprops, local_binary_pattern
|
||||
@@ -17,7 +18,8 @@ from .util import plot_matches
|
||||
from .blob import blob_dog, blob_log, blob_doh
|
||||
|
||||
|
||||
__all__ = ['daisy',
|
||||
__all__ = ['canny'
|
||||
'daisy',
|
||||
'hog',
|
||||
'greycomatrix',
|
||||
'greycoprops',
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
__author__ = 'julien'
|
||||
@@ -1,7 +1,7 @@
|
||||
import unittest
|
||||
import numpy as np
|
||||
from scipy.ndimage import binary_dilation, binary_erosion
|
||||
import skimage.filter as F
|
||||
import skimage.feature as F
|
||||
|
||||
|
||||
class TestCanny(unittest.TestCase):
|
||||
@@ -1,6 +1,7 @@
|
||||
from .lpi_filter import inverse, wiener, LPIFilter2D
|
||||
from ._gaussian import gaussian_filter
|
||||
from ._canny import canny
|
||||
# Backward compatibility v<0.10
|
||||
from ..feature._canny import canny
|
||||
from .edges import (sobel, hsobel, vsobel, scharr, hscharr, vscharr, prewitt,
|
||||
hprewitt, vprewitt, roberts, roberts_positive_diagonal,
|
||||
roberts_negative_diagonal)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import numpy as np
|
||||
|
||||
import skimage
|
||||
from skimage.filter import canny
|
||||
from skimage.feature import canny
|
||||
from .overlayplugin import OverlayPlugin
|
||||
from ..widgets import Slider, ComboBox
|
||||
|
||||
|
||||
Reference in New Issue
Block a user