testhist.m is a function that can automatically turn images into two different instograms