In [2]:
import numpy as np
import matplotlib.pyplot as plt
import skimage.io as io
%matplotlib inline
In [3]:
orig=io.imread('../data/spotprojection_0001.tif')
oc=io.imread('../data/spotcleaned_0001.tif')
print(orig.shape)
plt.figure(figsize=(12,5))
plt.subplot(211)
plt.imshow(orig,clim=[0,10])
plt.subplot(212)
plt.imshow(oc,clim=[0,10])
Out[3]:
In [39]:
c=io.imread('../../../../../lib/debug/spotcleaned.tif')
print(c.shape)
plt.figure(figsize=(12,5))
plt.subplot(2,1,1)
plt.imshow(c,clim=[0,10])
plt.subplot(2,1,2)
plt.imshow(c-orig,clim=[-5,5])
Out[39]:
In [48]:
c=io.imread('../../../../../lib/debug/spotcleaned.tif')
print(c.shape)
plt.figure(figsize=(12,5))
plt.subplot(2,1,1)
plt.imshow(c,clim=[0,10])
plt.subplot(2,1,2)
plt.imshow(c-orig,clim=[-5,5])
Out[48]:
In [50]:
p=io.imread('../../../../../lib/debug/padded.tif')
print(p.shape)
plt.figure(figsize=(12,6))
plt.subplot(311)
plt.imshow(p[40:46,100:150],clim=[0,10])
plt.subplot(312)
plt.plot(p[-1,:])
plt.plot(p[-2,:])
plt.subplot(313)
plt.imshow(orig[-7:-1,105:155],clim=[0,10])
Out[50]:
In [7]:
plt.plot(orig[0,:])
plt.plot(orig[1,:])
Out[7]:
In [ ]: