I want to extend the solution to my former question such as once the rectangle around the region of interest is drawn using the mouse, the user can adjust one of the lines (edges) of the rectangle using the mouse instead of re-drawing the whole rectangle from the start.
Unfortunately I did not try anything because simply I have no idea how to do it.
Any help is greatly appreciated.