Ejemplo n.º 1
0
 def test_imgpatches(self):
     graphs.ImgPatches(img=self._img, patch_shape=(3, 3))
Ejemplo n.º 2
0
 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))