METHOD AND DEVICE FOR OPTICAL SURFACE MEASUREMENT OF A MEASURING OBJECT

DE502018015065D1Active Publication Date: 2024-09-19MICRO EPSILON MESSTECHNIK GMBH & CO KG
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
DE502018015065
Authority / Receiving Office
DE · DE
Patent Type
Patents
Current Assignee / Owner
Priority Date
2017-07-04
Filing Date
2018-05-18
Publication Date
2024-09-19
Estimated Expiration
2038-05-18

AI Technical Summary

Technical Problem

In optical surface measurement, existing methods face challenges due to temporal and spatial brightness deviations in image patterns caused by projector and monitor designs intended for human viewing, leading to artifacts and unusable measurements, particularly when using cameras for image processing.

Method used

A correction function is applied to the image generation device to adjust the displayed image pattern, ensuring it is homogeneous and linear in brightness, adapting gamma correction to match the detection device and correcting for inhomogeneous brightness distributions and viewing angles, thereby minimizing artifacts in image processing.

Benefits of technology

This approach results in precise and consistent surface measurements by maintaining constant and linear brightness, reducing noise and oversaturation, and enhancing the accuracy of measurement results.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader
Need to check novelty before this filing date? Find Prior Art

Description

[0001] The present invention relates to a method for optically measuring the surface of a measurement object, wherein an image pattern is displayed using an image generation device, the measurement object is irradiated with this generated image pattern, and the image pattern influenced by the measurement object through reflection, scattering, diffraction, and / or transmission is recorded using a detection device. Furthermore, the present invention relates to an apparatus for carrying out the method according to the invention, comprising an image generation device for displaying an image pattern and a detection device for recording the image pattern influenced by the measurement object through reflection, scattering, diffraction, or transmission.

[0002] Optical surface measurement often uses image processing methods and corresponding devices in which an image pattern is influenced by the surface and the influenced image pattern is recorded with a camera. The image pattern is created or displayed, for example, on an illuminated screen, via a projector or with the help of a monitor (display), and the surface to be examined is illuminated with the image pattern. The image pattern is influenced by the surface to be examined through reflection, scattering, diffraction or transmission, with the influenced image pattern being recorded with a camera. The recorded, influenced image patterns are then evaluated by a computer and measurement results are calculated from them. From the known pattern properties, conclusions can be drawn about the properties of the surface from the image pattern changed or influenced by the surface of the measuring object.Surface properties that are frequently examined include shape, geometry, flaws, defects or texture, etc.

[0003] Well-known measurement methods for surface inspection include moiré technology, fringe projection, and deflectometry. Commercially available projectors (LCD projectors) or computer or television monitors are often used to display patterns. These are primarily designed for consumer use and are intended for viewing with the human eye. The human eye unconsciously compensates for many objective errors in a monitor, resulting in a correct image impression. Cameras, on the other hand, record grayscale or color values, so objective errors, such as those in a monitor, are also reflected in the resulting images.

[0004] A fundamental problem in metrological image processing arises from temporal and spatial variations in the brightness of images. This can lead to artifacts in downstream image processing algorithms that distort the measurement results. Furthermore, it can lead to over- or underexposure of images or image regions, which can render measurements unusable.

[0005] Brightness deviations can have various causes. One problem is that projectors and monitors are designed for the human eye, not for a camera. The human eye has a gamma of approximately 0.3 to 0.5, so the gamma of a monitor is 2.2 (Windows) or 1.8 (Mac). Cameras for image processing usually have linear gamma correction, i.e., gamma = 1. This results in the brightness values ​​in the resulting images being non-linear and thus unusable for precise measurement technology. Methods for gamma correction of projectors are known, for example, from the following documents: L. Miao et al.: "An accurate projector gamma correction method for phase-measuring profilometry based on direct optical power detection", VISUAL COMMUNICATIONS AND IMAGE PROCESSING, (2015-10-08), pages 96771D-96771D, M.Dai et al: "Single-shot color fringe projection for three-dimensional shape measurement of objects with discontinuities", APPLIED OPTICS, OPTICAL SOCIETY OF AMERICA, No. 12 (2012-04-20), pages 2062-2069 or T. Hoang et al: "Generic gamma correction for accuracy enhancement in fringe-projection profilometry", OPTICS LETTERS No. 12 (2010-06-15), pages 1992-1994.

[0006] Another reason for the brightness deviations is the inhomogeneous surface brightness of the monitor, as this depends on the backlight used (edge ​​LED, full LED, edge cold cathode, etc.). This leads to the monitor usually being brighter in the center than at the edges, resulting in brightness deviations in the image depending on where the camera's line of sight hits the monitor.

[0007] Another problem is that the radiation characteristics of monitors are designed for a person to view them largely from the front. However, for surface inspection, a side view is usually necessary, since the monitor is only viewed indirectly via the surface being examined (for example, in deflectometry on reflective surfaces, the angle of incidence = the angle of reflection). This leads to brightness deviations depending on the viewing angle.

[0008] Further disadvantages arise during surface inspection when changing image patterns are used, such as black and white patterns with different arrangements (e.g., alternating gray codes), or grayscale patterns with different phases or amplitudes. This results in the overall brightness (surface brightness) of the monitor changing when switching from one image pattern to the next, and thus also the brightness recorded by the camera. The camera must then be adjusted to prevent overshoot. Another disadvantage is that changing image patterns cause the brightness within the image to change, which can lead to artifacts in image analysis ("sun position").

[0009] The present invention is therefore based on the object of designing and developing a method and a device of the type mentioned at the outset in such a way that precise surface measurement is possible in a simple manner.

[0010] According to the invention, the above object is achieved by the features of claim 1. The method in question is characterized in that, by means of a correction function, the image generation device and thus the displayed image pattern are adjusted in such a way that the influenced image pattern recorded by the detection device has an at least substantially constant and / or homogeneous and / or linear brightness in terms of time and / or location.

[0011] According to the invention, it was first recognized that the underlying problem can be solved by specifically influencing the temporal and / or spatial brightness of the image pattern generated or displayed by the image generation device. Specifically, the image pattern to be displayed or displayed by the image generation device is adjusted using a correction function. This can prevent, or at least reduce, artifacts in subsequent image processing.

[0012] At this point, it should be noted that the "displayed image pattern" refers to the image pattern displayed by the imaging device with which the surface under investigation is irradiated. The "influenced image pattern" refers to the image pattern altered or influenced by the measurement object through reflection, scattering, diffraction, or transmission.

[0013] Advantageously, the correction function is used to adapt the gamma correction or the gamma of the image generation device to the gamma correction or the gamma of the detection device. It has been recognized that image generation devices often have a preset that is unsuitable for the detection device. For example, the brightness is set at the factory so that, for the human eye, the brightness increases almost linearly from dark to light. Through the so-called gamma correction, the gamma of the human eye (in the range 0.3...0.5) is overcompensated in the image generation device by setting a higher gamma value, which then creates a linear impression of brightness. However, detection devices such as cameras for image processing already have an almost linear response (gamma = 1), so that the image patterns recorded by the detection device exhibit a non-linear brightness curve.This leads to calculations based on grayscale values ​​producing inaccurate results, for example, when averaging without taking the nonlinear curve into account. By adjusting the gamma correction or the gamma of the image generation device to the gamma correction or the gamma of the acquisition device, a correct grayscale curve is achieved.

[0014] The correction function can be used particularly advantageously to correct an inhomogeneous brightness distribution of the image generation device. Image generation devices, especially monitors, have various types of backlighting: full-surface LED panels, cold cathode emitters, or LEDs on the side edges (edge ​​LEDs). The light is distributed as evenly as possible across the monitor surface using light-conducting plastic panels. However, the distribution is not ideal, resulting in areas of higher and lower brightness. These brightness differences can be measured, from which a correction function can be determined.

[0015] According to a further advantageous embodiment, inhomogeneities in the image pattern caused by lateral viewing rays can be corrected using the correction function. As a rule, image generation devices, in particular monitors, are designed such that the viewing occurs centrally from the front. The brightness distribution thus corresponds to emission to the front. In metrology applications, this criterion is often not met because lateral viewing rays are also possible due to the triangular arrangement between the image generation device, the measurement object, and the detection device resulting from the perspective imaging. The brightness impression recorded by the detection device therefore also depends on the viewing direction. With a known arrangement of the image generation device, the measurement object, and the image detection device, the brightness can be adapted to the - possibly changing - geometric arrangement using a correction function.

[0016] Furthermore, it is conceivable that the correction function can be used to adjust the grayscale distribution and / or color distribution of a series of consecutively displayed image patterns such that the image patterns each exhibit at least essentially the same overall brightness. In other words, the correction function can correct the brightness of individual images depending on the image content. For bright images (i.e., images with a high white component in the pattern, e.g., gray code with many white blocks, or sine patterns with a different number of maxima and minima in the image), the grayscale can be corrected such that consecutive images exhibit the same overall brightness.

[0017] According to a further advantageous embodiment, the geometric arrangement of the image pattern on or at the image generation device can be adjusted using the correction function. For example, the width of a sinusoidal image pattern can be adjusted to the monitor width, so that the overall brightness remains at least virtually constant with changing sinusoidal image patterns.

[0018] It is expressly pointed out that the correction function does not necessarily have to be a mathematical function. For example, a lookup table can be used as a correction function. With such a table, input values ​​are mapped to output values, so that corrected output values ​​are generated depending on the input. The correction function can also depend on the physical properties of the image generation device. For example, the internal gamma of a monitor is usually implemented using a lookup table (LUT) in the firmware. The firmware displays gray values ​​on the monitor in such a way that the signal from a computer is calculated with values ​​from the LUT in order to achieve the desired brightness impression. A correction function can, for example, be designed as a corrected LUT in the monitor firmware, so that a linear gray value progression is achieved.

[0019] Additionally, the correction function can depend on the (design-dependent) brightness distribution of the image generation device. For example, the center brightness of the image generation device can be attenuated by a location-dependent correction function, such as a correction polynomial or nth-degree polynomial. In such a case, the correction function is therefore a mathematical function. The images displayed by the image generation device can be brightened at the edges and darkened in the center, so that the image pattern display has a homogeneous distribution across the surface of the image generation device, for example, a monitor.

[0020] In other words, it is conceivable that the correction function is formed by any mathematical function which supplies modified output values ​​depending on input values ​​and onto which a linear function is superimposed if necessary. The mathematical function can be a spatially and / or temporally varying function. Using a spatial function, for example, the brightness deviations within an image displayed on the image generation device can be changed in one or two directions - i.e. one-dimensionally or two-dimensionally (spatially). Using a time-varying function, changes in brightness in successive images can be adjusted. According to an advantageous embodiment, the correction function can act spatially in one or two axes and / or vary over time.

[0021] In a particularly advantageous manner, the image generation device comprises a projector, a monitor or a screen for displaying the image pattern and / or the detection device comprises a camera for detecting the influenced image pattern.

[0022] The problem in question is further solved by the features of claim 11.

[0023] It should be noted that the previously discussed features of the method according to the invention can also have a device-related embodiment. A combination of these features with the features relating to the device claim is not only possible, but advantageous and expressly part of the disclosure.

[0024] There are now various possibilities for advantageously embodying and developing the teaching of the present invention. For this purpose, reference is made, on the one hand, to the claims subordinate to claim 1 and, on the other hand, to the following explanation of preferred embodiments of the invention with reference to the drawing. In conjunction with the explanation of the preferred embodiments of the invention with reference to the drawing, generally preferred embodiments and developments of the teaching are also explained. The drawing shows: Fig. 1 in a schematic representation of an embodiment of an apparatus according to the invention for carrying out the method according to the invention, Fig. 2 the recording of an image pattern projected onto a measurement object, Fig. 3 a from the recording according to Fig. 2 calculated curvature image, Fig. 4 the brightness distribution of a monitor serving as an image generating device, Fig. 5 a correction function for the brightness distribution according to Fig. 4 , Fig. 6 the sinusoidal image pattern extending over the surface of a monitor serving as an image generating device, Fig. 7 the correction function according to Fig. 5 altered sinusoidal image patterns Fig. 6 , Fig. 8 a curvature image optimized by the method according to the invention, Fig. 9 a sinusoidal intensity distribution across the width of a monitor serving as an image generating device, Fig. 10 a non-adapted intensity distribution across the width of a monitor serving as an image generating device, Fig. 11 four sinusoidal intensity distributions not adapted to the width of a monitor serving as an image generating device after reflection on the surface of a measurement object, Fig. 12 by way of example the Fig. 11 resulting intensity in a modulation image, Fig. 13exemplarily the Fig. 12 resulting intensity in an amplitude image, and Fig. 14 the gamma of a commercially available monitor and a suitably selected correction function.

[0025] Fig. 1 shows a schematic view of an exemplary structure of a device according to the invention for carrying out the method according to the invention. The device comprises an image generation device 1, for example a monitor. The image generation device 1 represents an image pattern that is projected onto a measurement object 2. The measurement object 2 can be, for example, a painted motor vehicle whose surface is to be optically measured. Furthermore, the device comprises a detection device 3, in particular a camera, whose viewing beam 7 is directed into Fig. 1 The detection device 3 records the image pattern on the measurement object 2 influenced by reflection, scattering, diffraction, and / or transmission. To optimize the image pattern projected onto the measurement object, the image generation device 1 comprises a correction unit 4.

[0026] Optical surface measurement, such as phase-shifting deflectometry, requires as input data images of image patterns displayed on an image generation device 1, such as a monitor, with, for example, sinusoidal stripes that are reflected in the surface of the measurement object 2 to be inspected. For each pixel of a camera serving as the detection device 3, the amplitude and phase position of the displayed sinusoidal pattern are calculated from the recorded, influenced image patterns. The more pronounced the amplitude of the sinusoidal oscillation in the recorded image patterns, the more stable the calculations will be; a weak signal leads to increased measurement noise.

[0027] In principle, a weak signal can be optimized by changing the acquisition parameters (including exposure time). However, the acquisition parameters must be selected so that the dynamic range of camera 3 is not exceeded. Camera 3 typically delivers grayscale values ​​in the range of 0-255. Under no circumstances should the value of 255 be exceeded within the area to be analyzed. This oversaturation would result in the sine wave being clipped, making its phase position unambiguous.

[0028] Ideally, a recorded sine wave pattern covers the full range of 0-255. This is not possible in practice for the following reasons: Due to a proportion of diffuse reflection that depends on the surface of the measurement object 2 being examined, the displayed sine pattern is not only directly reflected. Rather, a lower gray value is resulting, which consists of an areal averaging of the amount of brightness emitted by monitor 1. During operation, scatter in the recorded, influenced image patterns must be expected. Therefore, when setting up the device, care must be taken to ensure that sufficient upward leeway is always provided. To keep setup effort to a minimum, it is advantageous to record the measurement positions required for complete coverage of a vehicle as measurement object 2 using the same parameters. The different vehicle geometries at the individual positions also influence the intensity of the recorded image patterns and must be taken into account accordingly.

[0029] Fig. 2 shows the recording of the reflection of a striped pattern as an influenced image pattern using a section of the painted door of a motor vehicle in the area of ​​the handle recess. In this example, the recording parameters are set correctly. However, differences in the contrast of the sine pattern are clearly visible in individual areas of the recorded image pattern. The first area 5 shows the brightest area of ​​the recorded image pattern with the following properties: No saturation of the captured image pattern, meaning all gray values ​​<200, meaning there's enough room to go up to the limit of 255. The darkest pixels are at approximately 130 gray values, meaning the sine wave is displayed with an amplitude of 70 gray values. This is sufficient.

[0030] In the second area 6, however, the sinusoidal stripes no longer have sufficient contrast. This leads to noise in the calculated curvature image. Fig. 3 shows the curvature of the door cutout from Fig. 2 with the marked second area 6 from Fig. 2 At this point the brightness drops significantly compared to the rest of the area.

[0031] The surface of the measurement object 2 itself can be ruled out as the cause of this drop in brightness. It is uniformly coated and reflects equally well across the entire surface. Rather, the following factors are primarily responsible: Uneven brightness distribution of the monitor used as the image generation device 1: Conventional monitors 1 exhibit a brightness drop of 20-50% at the edges compared to the center. Angle dependence of the brightness emission of the monitor 1: The flatter the viewing beam 7 of the camera 3 serving as the capture device 3 hits the monitor 1, the less intensity the camera 3 can capture.

[0032] If you look at the Fig. 2 and 3If we compare the areas 5 and 6 shown, a combination of both phenomena leads to the observed decrease in brightness: Area 1: Camera 3 sees a reflection of the central area of ​​monitor 1 with the highest intensity of emitted light. Visible rays 7 from camera 3 impinge on monitor 1 relatively perpendicularly. Area 2: Camera 3 sees a reflection of one of the corners of monitor 1 with correspondingly reduced intensity. Visible rays 7 from camera 3 impinge on the monitor relatively flatly.

[0033] By means of the method and the device according to the invention, the recording situation is optimized in such a way that the recorded, influenced image pattern has a more homogeneous brightness distribution.

[0034] The basic idea of ​​the solution is to modify the sine wave pattern displayed on monitor 1 in such a way that the above-mentioned effects are minimized. For the image capture from Fig. 2 The sine patterns for all pixels of monitor 1 are displayed with the maximum available amplitude of 0 to 255 gray levels. As already mentioned, however, the image only contains gray levels between 130 and 200. This is due, among other things, to the diffuse reflection of the surface, which is why there is no pure black with a gray level close to or equal to zero. To improve the images, the sine values ​​are multiplied by a correction value in accordance with the invention to compensate for the different local brightnesses of monitor 1: Corners of the monitor 1: o are the darkest, o the full range from 0-255 must be used, ie factor 1. Center of the monitor 1: o is the brightest (e.g. 100% brighter than the corners), o multiplication of the sine values ​​by factor 0.5, o the range between 0-127 is used.

[0035] By lowering the brightness in the center of the monitor, the exposure time can be increased without the risk of oversaturation, thereby increasing the recorded contrast at the corners of the monitor.

[0036] First, the shape of the brightness distribution is determined from recordings of white images displayed on monitor 1. Fig. 4 shows the grayscale of a monitor 1 depending on the position on the monitor 1. Shown is a monitor 1 with 1900 pixels in width 8 and 1080 pixels in height 9. The z-axis 10 of the Fig. 4 shows grayscale 11, which ranges from approximately 110 to 230. Monitor 1 is brightest in the center, while the brightness drops sharply towards the corners.

[0037] From this, a two-dimensional correction polynomial can be determined as a correction function, which can be used to calculate the required factor for each displayed pixel. The equation of the correction area depends on the monitor type used. In practice, polynomials up to degree 4 with pronounced symmetry in both directions have proven advantageous.

[0038] Fig. 5 Shows the correction function, namely the correction values ​​in the x and y directions, with which the brightness display of the monitor is corrected. This is done by multiplying the gray values ​​of the image pattern to be displayed on monitor 1. Typically, an ideal sine wave is displayed.

[0039] Fig. 6 shows the sinusoidal stripes 12 extending across the height of monitor 1 (sinusoidal pattern in x-direction, constant brightness in y-direction). After correction, a sinusoidal curve 13 is obtained, fitted over the surface of monitor 1, with modified gray values ​​as in Fig. 7 The maximum brightness in the center is reduced compared to the corners. The result is a uniform brightness distribution of the image pattern across the surface of monitor 1.

[0040] By determining the correction polynomial as described, only the uneven brightness distribution of monitor 1 is initially compensated. The additional effect caused by the angle-dependent brightness emission of monitor 1 can be reduced by overcompensating the brightness distribution. This means that instead of determining the factors so that the center is displayed as equally bright as the corners, the corners can also be deliberately displayed brighter than the center. This is particularly possible with newer monitors 1, where the brightness drop in the corners is only approximately 25%.

[0041] By overcorrecting the brightness distribution of monitor 1, the signal can be improved at the corners of the monitor without risking oversaturation in the center. In the example analyzed, the exposure time could even be increased again.

[0042] The improvement is reflected in a significantly reduced noise in the critical areas, as shown in Fig. 8 is shown. In the second area 6, a homogeneous, noise-free, and gap-free distribution of the measured values ​​is obtained.

[0043] The viewing angle-dependent brightness distribution could be compensated in a completely analogous manner. For this purpose, the azimuth and polar angles at which camera 3 observes the reflective surface of the measurement object 2 could be used as correction functions. Instead of the required circular functions sine and cosine (or tangent), a linear function dependent only on the width or height of monitor 1 could also be used as a correction function in a first approximation. Further correction functions, for example, using the LUT, arise in a completely analogous manner.

[0044] In the following, the mathematical principles of phase-measuring deflectometry are explained, which represents an embodiment of the method according to the invention. Advanced evaluation of phase-shifting deflectometry

[0045] Regardless of the number k of equidistant sampling points used to sample the sine strips (k>2), three independent pieces of information are evaluated per pixel (x,y) (see formulas). For this purpose, for example, four images ( I k with k=1..4), where the stripes each represent the equidistant phase length ψ k (phase shift 90°). From these images ( I k ( x , y )) the following images can be calculated: Phase image: The phase image, acquired point by point, provides information about the object's inclination. The so-called 'inclination image' is suitable for assessing a variety of surface defects such as dents, bumps, and paint runs. Differentiation transforms the 'inclination image' into a 'curvature image,' in which small-scale geometric defects with pronounced edges are particularly clearly visible. Examples include blowholes, pimples, notches, and scratches. Grayscale image: The second information channel, the grayscale image, is particularly low-noise due to its synthesis from the phase-shifted basic images.

[0046] Modulation or contrast image (m, normalized amplitude related to the gray value image: with the amplitude

[0047] The third information channel, the modulation image, indicates the intensity of the sine wave at a specific point and represents the local gloss level of a surface. This representation provides important information about dull spots, such as those found in dirt, scratches, and coating defects.

[0048] Fig. 9 shows a sinusoidal intensity distribution across the width of a monitor 1 with 1000 pixels. The monitor width is an integer multiple of the sinusoidal curve, which means that the mean value of the brightness (in Fig. 9 normalized to + / - 1) results in exactly zero across the entire width of monitor 1.

[0049] Fig. 10 shows a non-adjusted sinusoidal intensity distribution across the width of a monitor 1. The monitor width is now not an integer multiple of the sinusoidal curve, which means that the mean brightness across the entire width of monitor 1 is not equal to zero.

[0050] The average brightness contributes to a different basic brightness in the individual images, especially on partially reflective or diffusely scattering object surfaces. The reflected portion of the light (essentially the original sinusoidal pattern) is additively superimposed by the diffusely scattering portion (essentially the average brightness of the displayed pattern).

[0051] Fig. 11 shows four sinusoidal intensity distributions, not adjusted to the monitor width, after reflection from the surface of the measurement object 2 (i.e., in principle, the image recorded by camera 3). The sinusoidal intensity distributions are each offset in phase by 90°, as is the case with phase-measuring deflectometry. Due to the principle of phase shifting, different parts of the sinusoidal waveform are now displayed in the individual images. The Fig. 10 The effect shown initially leads to different average brightnesses of the individual sine patterns across the monitor width. Due to the superposition with the diffuse component of the reflection, this leads to an average offset in the brightness for each image pattern. This leads to a modulation of the brightness in the resulting modulation image (formula 3) or amplitude image (formula 4). With an adjusted sine representation, the modulation image or the amplitude image would have a constant brightness. Formulas 3 and 4 contain the intensities of the four images I 1 to I 4. By adding four sine curves, each 90° phase-shifted and adapted to the width, a constant value (across the width) of monitor 1 would result. Figuren 12 and 13 This is shown by the dashed line. However, the lack of adjustment results in a sinusoidal basic modulation ( Fig. 12 for the modulation image, Fig. 13 for the amplitude image), which is caused by the unfavorable choice of the sinusoidal patterns in interaction with the diffusely scattering part of the surface to be measured and leads to a misinterpretation of the measured data.

[0052] This undesirable effect can be avoided by using a correction function that adjusts the sine wave display to the monitor width. The above explanations also apply analogously to the height of monitor 1.

[0053] Fig. 14 shows the gamma of a standard monitor 1 (solid line). With a suitably selected correction function (long dashed line) for the brightness display on monitor 1, a linear brightness impression can be achieved in the resulting image (short dashed line).

[0054] With regard to further advantageous embodiments of the method and device according to the invention, reference is made to the general part of the description and to the appended claims in order to avoid repetition.

[0055] Finally, it should be expressly pointed out that the above-described embodiments of the method according to the invention and the device according to the invention serve only to explain the claimed teaching, but do not limit it to the embodiments. Bezugszeichenliste

[0056] 1Image generation device 2Measurement object 3Detection device 4Correction unit 5First area 6Second area 7Viewing ray 8Width 9Height 10Z-axis 11Grayscale 12Stripes 13Fitted sine curve

Claims

1. Method for optical surface measurement of a measurement object (2), wherein using an image generation device (1) which has a projector and / or a monitor and / or a screen, an image pattern is displayed and the measurement object is irradiated with this image pattern produced, and wherein the image pattern influenced by the measurement object by means of reflection, scattering, diffraction and / or transmission is recorded by means of a detection device (3), wherein, by means of a correction function, the image generation device (1) and consequently the image pattern displayed is adapted in such a manner that the influenced image pattern recorded by the detection device (3) temporally and / or locally has an at least substantially constant and / or homogeneous and / or linear brightness, characterised in that, by means of the correction function, a non-homogeneous brightness distribution of the image generation device (1) is corrected so that the image pattern display has a distribution which is homogeneous over the surface of the image generation device, or in that, by means of the correction function, the grey scale value distribution and / or colour distribution of a series of several image patterns which are displayed one after the other is adapted in such a manner that the image patterns displayed in each case at least substantially have a uniform overall brightness.

2. Method according to claim 1, characterised in that, by means of the correction function, the gamma correction of the image generation device (1) is adapted to the gamma correction of the detection device (3).

3. Method according to claim 1 or 2, characterised in that, by means of the correction function, a structural-type-related, non-homogeneous brightness distribution of the image generation device (1) is corrected.

4. Method according to any one of claims 1 to 3, characterised in that, by means of the correction function, occurrences of non-homogeneity, which are brought about by lateral viewing lines (7), of the image pattern displayed by the image generation device (1) are corrected.

5. Method according to any one of claims 1 to 4, characterised in that, by means of the correction function, the geometric arrangement of the displayed image pattern on or at the image generation device (1) is adapted.

6. Method according to any one of claims 1 to 5, characterised in that a look-up table is used as the correction function.

7. Method according to any one of claims 1 to 6, characterised in that any mathematical function is used as the correction function.

8. Method according to claim 7, characterised in that a linear function is superimposed on the correction function.

9. Method according to any one of claims 1 to 8, characterised in that the correction function acts spatially in one or two axes and / or in that the correction function varies temporally.

10. Method according to any one of claims 1 to 9, characterised in that the detection device (3) has a camera.

11. Apparatus for carrying out the method according to any one of claims 1 to 10, comprising an image generation device (1) having a projector and / or a monitor and / or a screen for displaying an image pattern and a detection device (3) for recording the image pattern influenced by the measurement object (2) by means of reflection, scattering, diffraction and / or transmission, wherein the image generation device (1) has a correction unit (4) which, by means of a correction function, adapts the image pattern displayed in such a manner that the influenced image pattern recorded by the detection device (3) temporally and / or locally has an at least substantially constant and / or homogeneous and / or linear brightness, characterised in that the correction unit (4), by means of the correction function, corrects a non-homogeneous brightness distribution of the image generation device (1) so that the image pattern display has a distribution which is homogeneous over the surface of the image generation device (1), or in that the correction unit (4) by means of the correction function adapts the grey scale value distribution and / or colour distribution of a series of several image patterns which are displayed one after the other in such a manner that the image patterns displayed in each case at least substantially have a uniform overall brightness.