The computation of perceptual structure from collinearity and closure: Normality and pathology