Approximate spatial layout processing in the visual system: modeling texture-based segmentation and shape estimation