Image subtraction method for improving lateral resolution and SNR in confocal microscopy