Get polygon from user in matlab as list of points
Alec Jacobson
June 25, 2014
weblog/
Simple as that:
P = getPosition(impoly);