Neuroglycerin / neukrill-net-tools

Tools coded as part of the NDSB competition.
MIT License
0 stars 0 forks source link

Shear Augmentation #41

Closed scottclowe closed 9 years ago

scottclowe commented 9 years ago

We could augment the images with a small amount of shear/skew.

This can easily be done with skimage: skimage.transform.AffineTransform(shear=x)

scottclowe commented 9 years ago

I've implemented it, but the skimage method seems to assume the values outside the image are black, which will lead to an edge effect...

Needs to be padded with white beforehand to work correctly.