Change some procedure of thresholding
When the value of CheckBox that apply thresholding is false, show the original image.
Let the result contain the original image and the gray level image.