From line segments to more organized Gestalts