a coordinate measuring machine including a plane in which there is arranged a movable measurement table moving the mask correspondingly in the plane , at least one objective and a detector , an incident light source arranged to provide incident light and / or a transmitted light source arranged to provide transmitted light , wherein the mask has at least a first area and a second area , wherein the first area and the second area comprise different materials differing in their transmission or reflection properties .