This forum thread from an active Kaggle competition mentions something the author calls a "reflective center pad". Basically this is a transformation that takes the edges of the image and reflects them outwards, causing mirroring on the edges of the image, which the author shows slightly but noticeably improves model performance.
For reference, here is the image they post demonstrating this technique:
My question is twofold:
- Does this transformation have a canonical name? "Reflective center pad" sounds unofficial.
- What's a simple way of expressing this transformation in code, perhaps using
numpy
and something likeskimage
?