Open source graphical image thresholding tool