1. An apparatus for performing digital holographic imaging (DHI) of a sample, said apparatus comprising: an holographic creation unit, an holographic reconstruction unit, a processing unit, a sample unit including a container adapted to contain a medium in which a sample is contained, characterized by the fact that it furthermore comprises measuring means adapted to measure at least one parameter specific of said medium or at least one parameter specific of said sample, said medium being different from ambient air.