Irregularity detection from noisy data in one and two dimensions