def test_imgpatches(self): graphs.ImgPatches(img=self._img, patch_shape=(3, 3))
def test_ImgPatches(): from skimage import data, img_as_float img = img_as_float(data.camera()[::16, ::16]) G = graphs.ImgPatches(img=img, patch_shape=(3, 3))
def test_imgpatches(self): graphs.ImgPatches(img=self._img, patch_shape=(3, 3))
def test_ImgPatches(): from skimage import data, img_as_float img = img_as_float(data.camera()[::16, ::16]) G = graphs.ImgPatches(img=img, patch_shape=(3, 3))