Hi,
I have my own dataset of images, and labels of objects per image, each label is described as a set of (x,y) points forming a convex polygon.
I want to implement my own augmentation.
Specifically, I want to rotate using torchvision.transforms.functional.rotate(..., expand=True).
However I also need the transformation function, so I can apply it on my labels and get the new set of points defining the polygon of the object.
Is there a way, after calling rotate, to have the transformation map from old pixels to new pixels?