padded image to erode from edges, increased erosion size, resized canvas