shan jiejing: show two gray image file and then show their binary
image, user can change binary slider to modify the binary image,
and the user input 'a' to do AND operation to two binary images, and
input 'x' to do XOR operation to two binary images, and input 'o'
to do OR operation to two binary images.