mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-10 02:25:32 +08:00
keep true test in /test, move temporary tests in local
This commit is contained in:
@@ -0,0 +1 @@
|
||||
__author__ = 'olivier'
|
||||
@@ -6,7 +6,7 @@ from skimage.morphology import dilation
|
||||
import skimage.rank as rank
|
||||
from skimage.filter import median_filter
|
||||
|
||||
from tools import log_timing
|
||||
from skimage.rank.local.tools import log_timing
|
||||
|
||||
@log_timing
|
||||
def cr_max(image,selem):
|
||||
@@ -66,7 +66,7 @@ class TestSequenceFunctions(unittest.TestCase):
|
||||
|
||||
def test_bitdepth(self):
|
||||
# test the different bit depth for rank16
|
||||
|
||||
|
||||
elem = np.ones((3,3),dtype='uint8')
|
||||
a16 = np.ones((100,100),dtype='uint16')*255
|
||||
r = _crank16_percentiles.mean(image=a16,selem = elem,shift_x=0,shift_y=0,p0=.1,p1=.9,bitdepth=8)
|
||||
|
||||
Reference in New Issue
Block a user