#!/usr/local/bin/ipython
#import Imaging Library
from PIL import Image
from skimage import io, filters
from skimage import img_as_float
from skimage import exposure
#import pylab for plotting
from pylab import *
Aim = io.imread("A.tiff")
Bim = io.imread("B.tiff")
Cim = io.imread("C.tiff")
Dim = Aim - Cim
Eim = Bim - Cim
#print min and max values of the background subtracted images
print("min %d max %d" % (Aim.min(),Aim.max()))
print("min %d max %d" % (Dim.min(),Dim.max()))
print("min %d max %d" % (Eim.min(),Eim.max()))
min 0 max 4095
min 0 max 65533
min 0 max 65533