[image_view2] Use parameter to change mode to select rectangle or freeform trajectory instad of "SHIFT KEY"

Use parameter to change mode to select rectangle or freeform trajectory instad of "SHIFT KEY"