Erosion image processing python. Can also be used using cmmand line arguments.