|
|
|
@ -47,8 +47,8 @@ class apply_filters:
|
|
|
|
|
self.height = self.img.shape[0]
|
|
|
|
|
print(self.width, self.height)
|
|
|
|
|
|
|
|
|
|
fig = plt.figure(figsize = (self.width/self.dpi, self.height/self.dpi),
|
|
|
|
|
frameon = False, dpi = self.dpi)
|
|
|
|
|
fig = plt.figure(figsize = (self.width, self.height),
|
|
|
|
|
frameon = False, dpi = self.dpi / 100) # dpi is in cm
|
|
|
|
|
|
|
|
|
|
ax = plt.Axes(fig, [0., 0., 1., 1.])
|
|
|
|
|
ax.set_axis_off()
|
|
|
|
|