Automatic thresholding of the gray level of an image is very useful in automated analysis of morphological images, and it represents the first step in many applications in Image understanding. Recently it was shown that by choosing the threshold as the value that maximizes the entropy of the one dimensional histogram of an image, one might be able to separate, effectively, the desired objects from the background. This approach, however, does not take into consideration the spatial correlation between the pixels in an image. Thus, the performance might degrade rapidly as the spatial interaction between pixels becomes more dominant than the gray level values. In this case, it becomes difficult to isolate the object from the background and human interference might be required. This was observed during studies that involved images of the stomach.