예제 #1
0
 def test_imgpatches(self):
     graphs.ImgPatches(img=self._img, patch_shape=(3, 3))
예제 #2
0
파일: test_graphs.py 프로젝트: dsacc/pygsp
 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))