Added rotated region collection functionality