The Effect of Regular and Random Distributions on the Analysis of Pattern