Digital differential confocal microscopy based on spatial shift transformation