If I’m understanding properly, you want to extract a transparent image of just the annotated polygon, right?
If so I think the Isolate Objects preprocessing step might be useful. It will export your images as a classification dataset, but all the annotations will be isolated as a single picture inside a folder of the respective class.