Neuroglycerin / neukrill-net-tools

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

Remove artefacts in augmented images #71

Closed scottclowe closed 9 years ago

scottclowe commented 9 years ago

My notebook for viewing the augmented images shows some of the images have grey lines running from the edge of the pre-augmented-image to the edge of the augmented-image.

Want to remove these.

scottclowe commented 9 years ago

Turned out to be because of the resize function, which was padding to square shape by edge replication. I have changed this to pad with white now.

scottclowe commented 9 years ago

As far as I am aware, all the augmentation functions will pad with white, so we will consistently have our image looking nice on a white background.