1. An adaptive dilation method comprises the steps of: a) Input a component labeled image and associated characteristics for each component; b) Perform an adaptive background distance transform using the input component labeled image to create an adaptive background distance transform image wherein the distance transform length values depend on component labels of the input component labeled image; c) Perform a threshold on the adaptive background distance transform image to generate adaptive dilation image output.