示例#1
0
 def test_grid2dimgpatches(self):
     graphs.Grid2dImgPatches(img=self._img, patch_shape=(3, 3))
示例#2
0
 def test_Grid2dImgPatches():
     from skimage import data, img_as_float
     img = img_as_float(data.camera()[::16, ::16])
     G = graphs.Grid2dImgPatches(img=img, patch_shape=(3, 3))