unfortunately, this does not go as far as simulating the selectROI() functions, you'll have to come up with your own replacement.