A method for deplating defective capacitors comprising forming a plurality of capacitors on a semiconductor substrate, forming a plurality of metal contacts on the plurality of capacitors, and depositing a layer of photoresist on the semiconductor substrate. The case contains the capacitor element and is joined to a first electrode of the capacitor element at its inner bottom surface. The surgical microscope includes an OCT-system for examining the object region.