Disclosed is a device and method for generating an on-axis digital hologram and an off-axis digital hologram. A device for generating an on-axis digital hologram and an off-axis digital hologram according to the present invention comprises: a phase object generation unit for accessing a phase file of an object, which is stored in a storage device, so as to generate object phase information from the phase file of the object; a digital object light generation unit for generating digital object light information on the basis of a light characteristic of object light, which is input by a user, and the object phase information generated by the object phase generation unit; a digital reference light generation unit for generating digital reference light information on the basis of a light characteristic of reference light, which is input by the user; and a digital hologram generation unit for generating a digital hologram on the basis of hologram characteristic information input by the user, the digital object light information generated by the digital object light generation unit, and the digital reference light information generated by the digital reference light generation unit.
展开▼