Here we show the relation between illusory percepts and statistical regularities across scales and orientations. To this aim, the performance of a computational model for the partitioning of statistical regularities is analyzed on several tasks such as long-range boundary completion, phase-induced contour detection, as well as shape and size illusions. The system for the automatically learned p...