DLTK/DLTK

Apply the same transformation to image and mask in elastic_transform ?

Open

#31 opened on Jul 25, 2018

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Python (1,386 stars) (410 forks)batch import
enhancementgood first issuehelp wanted

Description

In augmentation, elastic_transform, it only applies a random transform on one input image array. I would think to be used for training, the image and mask pair should be transform in the same way. However, this single-input-image, single-output-image method makes it very inconvenient. Could we deform a list of images (np.arrays) using the same transformation in this method ? Thanks!

Contributor guide