The invention relates to an object (100) which is illuminated from at least one illuminating direction (110-1, 110-2). An intensity image of the object (100) is detected during the illumination for each illuminating direction (110-1, 110-2). A phase contrast image of the object (100) is generated on the basis of the at least one intensity image.