erosion test

just does a bin threshold at 127.
does not write output file