The invention relates to an optical measuring system (1) and to a method for measuring an object (9) in a three-dimensional manner. The measuring system (1) has at least one lens array (5), a first convex lens (6) arranged downstream, a second convex lens (8) which is arranged further downstream and which faces an object (9) to be measured, and additionally a means (7) which absorbs incident light or deflects incident light out of the illuminating beam path and which is arranged upstream of the second convex lens (8) or on the second convex lens (8) on a second convex lens (8) face facing the first convex lens (6) in the region of the optical axis (10).