Image Processing for 2D Crystals