Change the procedure that overlaps the edges on the original image
When the result of image and input of image are the same size, the state of button that can overlap the edges on the original image will be enable