working version of PolygonRoi to brushROI tested only for one orientation