Statistical analysis of geometrical imperfections from the images of 2D photonic crystals.