A novel method is employed to eliminate the twin images in the so-called "in-line" digital holographic microscope. We could develop a digital holographic microscope that can solve the problems of overlapping of real and imaginary images and eliminate one of them by padding and removing the DC term by using an averaging method. The entire process requires only one digital hologram.