Lattice estimation from images of patterns that exhibit translational symmetry