A simple image processing script and gui for MatLab