Spaces:
Running
Running
Update utils.py
Browse files
utils.py
CHANGED
@@ -12,14 +12,14 @@ class make_im():
|
|
12 |
|
13 |
#mask = SaltPepperMask(img_size).get_mask()
|
14 |
#mask = NormalMask(img_size).get_mask()
|
15 |
-
self.mask = GaussianBlobMask(img_size).get_mask(3)
|
16 |
|
17 |
# show_array(mask, cmap='gray')
|
18 |
|
19 |
# mask = GaussianBlobMask().get_mask()
|
20 |
|
21 |
-
self.epwtpath = EPWTPath(mask).get_path()
|
22 |
-
self.ppath = ProbabilisticPath(mask).get_path()
|
23 |
|
24 |
#cmap = 'Spectral'
|
25 |
#cmap = 'terrain'
|
|
|
12 |
|
13 |
#mask = SaltPepperMask(img_size).get_mask()
|
14 |
#mask = NormalMask(img_size).get_mask()
|
15 |
+
self.mask = GaussianBlobMask(self.img_size).get_mask(3)
|
16 |
|
17 |
# show_array(mask, cmap='gray')
|
18 |
|
19 |
# mask = GaussianBlobMask().get_mask()
|
20 |
|
21 |
+
self.epwtpath = EPWTPath(self.mask).get_path()
|
22 |
+
self.ppath = ProbabilisticPath(self.mask).get_path()
|
23 |
|
24 |
#cmap = 'Spectral'
|
25 |
#cmap = 'terrain'
|