1. A window segmentation method carried out by a processor for classifying data defining an image stored in memory operatively associated with the processor into background and at least one non-background region, comprising: evaluating the data defining the image and segmenting the image stored in memory into at least one background region and a non-background region, wherein said non-background region is bounded by a window having a boundary; and determining whether said window boundary is a leaky boundary where the boundary is, at least to a certain extent, indeterminate including performing edge detection along the window boundary to determine a relative strength of the edge at a plurality of positions therealong; for each position, characterizing the strength as strong or weak; determining the ratio of strong to weak edge positions along the window boundary; and in the event that the ratio of strong to weak edge positions is less than 75%, characterizing the window boundary as a leaky boundary.