Open kmader opened 6 years ago
Hi! This feature is definitely on our radar, but currently not implemented natively.
However it seems there is a (somewhat errorprone) workaround available. see #39
I tried #39 , but I have problems to obtain label images interpolated with 'NEAREST' interpolation. It seems I can choose parameter 'resample_filter' only for the method 'resize', but not others like 'rotate' and 'zoom'.
It would be very helpful if we can set a 'resample_filter' flag for a pipeline (Augmentor.Pipeline) that is valid for all its augmentation operations.
Hi @yanmu2017 that's a good idea, it would make sense for all operations to just use one resample filter for the entire pipeline. I will do that in the next version.
May I ask whether the 'NEAREST' interpolation has supported yet? Is it fine to pass the interpolation strategy as an argument to the pipeline?
It would be useful if the pipelines could be applied in parallel to both the image and label dataset for segmentation problems. It is possible to sync two pipelines and have them operate independently on the input images and output labels, but it would be useful to support both