using imagej to convert to binary images
intial working binary color ratio parser