thresholding experiments

thresholding.py creates image t-xxx.jpg in ../images/