A few morphological operations are performed to the resulting edge image to enhance the salient cell boundaries so that distinct cell regions can be identified. First, the image is dilated using a line structure of 2 pixel length in both the horizontal and vertical direction. Second, the image is negated to so that only the cell boundary information is present. Next, small regions are flood filled to reduce noise. Finally, the cell regions are smoothed using opening and closing operations with a 1 pixel diamond structuring element.