mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-24 13:20:43 +08:00
Move data files to common directory.
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
import os.path
|
||||
|
||||
data_dir = os.path.join(os.path.dirname(__file__), 'tests/data')
|
||||
|
||||
|
||||
@@ -3,11 +3,10 @@ import os.path
|
||||
import numpy as np
|
||||
from numpy.testing import *
|
||||
|
||||
from scikits.image import data_dir
|
||||
from scikits.image.io import *
|
||||
from scikits.image.filter import *
|
||||
|
||||
data_dir = os.path.join(os.path.dirname(__file__), './data/')
|
||||
|
||||
class TestLPIFilter2D():
|
||||
img = imread(os.path.join(data_dir, 'camera.png'),
|
||||
flatten=True)[:-101,:-100]
|
||||
|
||||
|
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 48 KiB |
Reference in New Issue
Block a user