Augmentor
Augmentor copied to clipboard
Default padding value
Is it possible to specify the default value for padding when using the rotation or other transformations which include padding?
This would be a great feature.
Also, it would be great if we could specify distinct default padding values when augmenting semantic segmentation data: one padding for images, one for ground truths.
Hi @ajuric, thanks for opening the issue - no currently you cannot do either of those features, however I like the idea especially regarding the semantic segmentation. I will definitely add them as features when I get the chance.
Hi there! I added a parameter which passes down to Pillow's API, so now it's possible to fill pixels outside the boundaries of the input with custom value. Is there any other transformation which includes padding?
@mdbloice, hi! waiting for your response =)
@ajuric thanks to a PR by @ajuric this is now possible for rotations, Augmentor version 0.2.4 now includes this feature. As for the different colours for the ground truth and images, this is not yet possible, but I will try to keep it in mind for a future update.