The contrast formation in the out-of-focus images of thinned and reverse biased p-n junctions is considered. The phase shift experienced by electrons is described using a simple field model recently presented and discussed. Conditions for the validity of the geometrical theory are investigated and the main features of the out-of-focus patterns predictable by this model are reported.