Replies: 1 comment
-
Any hints, please? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In the process of data augmentation, I am trying to modify the image based on the corresponding mask. I need to get the background from the image, which requires knowing the foreground (mask) in advance.
Therefore, I am looking for a
Transform
that can provide image and mask as input to my function. For example, previously, I used ColorTransform, which takes a callable and provides an image as input to this callable. See an example below:I found AugInput, but it expects image, mask, etc. as input. Instead, is there something like the following exists?
Thank you very much
Beta Was this translation helpful? Give feedback.
All reactions