[0001] The invention relates to a device for the pixel-by-pixel photoelectric measurement of a planar or flat measured object or object to be measured.
[0002] So called scanners are used especially in the graphics industry for the pixel-by-pixel photoelectric scanning of planar measured objects. They include a measuring head which is moveable relative to the measured object in one or two dimensions, which captures the spectral remission of respectively one pixel of the measured object or object to be measured by way of a 0°/45° measurement geometry and converts it into corresponding electric signals. Scanners equipped with fiber optics are also already known, which can measure a complete image line at once. However, scanners which without relative movement between the measurement head and the measured object can measure a larger measurement surface pixel-by-pixel and with sufficient accuracy for the color measurement and under the for the color measurement generally conventional, standardized geometric conditions and are not known.
[0003] On the other hand, video cameras are used for the scanning of images or for recording purposes, which are equipped with a two-dimensional image sensor onto which the complete image to be scanned is projected by way of the camera lens so that no relative movement between the camera and the image is required. The image sensor generally consists of a two-dimensional array of light converter elements integrated into a chip, normally on CCD basis (charge coupled devices). Color enabled video cameras either have several image sensors with upstream color filters or an image converter with integrated color filters. The resolution of the scanning is fixed by the number of light converter elements available for each color channel and by the projection scale.
[0004] The geometric conditions for the color measurement are defined by international standards. For the normally used 0°/45° measurement geometry the illumination of the measurement surface is to be carried out at 45° +/−5° to the normal of the measurement surface and the remitted measuring light captured at an observation angle of 0° +/−5° to the normal of the measurement surface. The light path can also be selected to be the opposite.
[0005] It is an significant problem of the calorimetric measurement by way of a video camera of large surface measured objects that on the one hand the optical projection means cannot be made completely free of geometrical distortions at reasonable cost and produce more or less pronounced reflection images and that on the other hand scattered or adventitious light effects occur between the individual image points of the measured object or object to be measured and are measured as well because of the necessarily missing measurement shutters or other screening devices. Furthermore, especially with larger measured objects or object to be measured, the angle of incidence of the measurement light on the filters used for the spectral splitting is not the same at all image points, whereby spectral errors occur as well.
[0006] A measurement device of the generic type is now to be improved with the present invention such that it is suitable for color measurements.
[0007] The solution of the object underlying the present invention is achieved by providing a device for the pixel-by-pixel photoelectric measurement of a planar and/or flat object with a data processing means which is constructed for carrying out a scattered or adventitious light correction for reducing scattered or diffused light influences.
[0008] In a preferred embodiment, the data processing means is constructed for calculating a scattered light image from the measured data of the measured object or object to be measured and to subtract the former pixel-by-pixel from the measured data of the measured object.
[0009] According to the basic idea of the invention, means are provided for compensating or correcting at least those scattered light influences which are most disturbing. It is especially advantageous when the data processing means realizing the corrective measures carries out all desired corrective measures, i.e. in the ideal case a geometry correction, a reflection correction, a scattered light reflection, a white standardization, a white border standardization and a spectral correction.
[0010] Preferred embodiments of the invention will be described in the following by way of example only and with reference to the drawings, wherein
[0011]
[0012]
[0013]
[0014]
[0015]
[0016]
[0017]
[0018]
[0019]
[0020]
[0021]
[0022]
[0023] The first preferred embodiment of the measurement device in accordance with the invention as schematically illustrated in
[0024] The video camera
[0025] The filter wheel
[0026] The size of the scanned image points of the measured object M is determined by the resolution of the image sensor
[0027] The two flash light sources
[0028] In order to achieve a homogeneous illumination strength over the whole illuminated surface of the object M, the two blend filters
[0029] In the preferred embodiment illustrated in
[0030] For the measurement of the measured object, the individual bandpass filters
[0031] When using an image sensor with, for example, (about) 300,000 light converter elements, the raw measured data include 300,000×16 or 300,000'18 individual measured values. The raw measured data
[0032] The spectral characteristic of interference filters is dependent on the angle of incidence of the light beams. This angle is not constant but dependent on the position of the measured image points on the measured object. However, it can be calculated from the position of the respective image point and in turn the actual reflective filter characteristic for the respective image point position can then be determined therefrom. The spectral values can be determined by interpolation for the nominal wavelengths, for example, 400, 420, 440 . . . 680, 700 nm. Therefor, the angle dependency of the filter characteristics can be corrected by recalculation. This is further discussed below.
[0033] In the above mentioned embodiment, the measured object M is spectrally measured (in discreet steps). This results in universal measurement data which can be used for any calorimetric evaluation. However, instead of measuring the complete spectrum, for example, only a few color extracts can be measured, for which correspondingly fewer color filters would then be required. For example, the standardized R, G, B-filters or X, Y, Z-filters according to CIE can be used. The result of those measurements would then be R, G, B-values or X, Y, Z-values for each individual image point of the measured object M.
[0034] Instead of the sequential arrangement with the filter wheel
[0035] In the case of R, G, B-filters, a higher image resolution relative to classical image sensors can be achieved by providing different numbers of light converter elements for the individual colors. For example, twice as many light converter elements can be provided with a green filter than light converter elements equipped with a red filter or a blue filter. This corresponds to the higher resolution capabilities of the human eye for green compared to red and blue. However, the conversion of the R, G, B-measured values measured with such an arrangement into color measurement numbers according to CIE is possible only approximately.
[0036] An analogous arrangement is possible if instead of the R, G, B-filters those with the CIE standardized X, Y, Z-spectral characteristics are used. However, it is difficult to manufacture all these filter characteristics sufficiently exactly on a single chip. Furthermore, the color measurement numbers determined through the use of such filters are only valid for the physical light type actually used during the measurement. The calculation of the color measurement numbers of any light type, as is possible with a spectral measurement, is not possible. Furthermore, a color recipe, for example, based only on X, Y, Z-measured values according to CIE is not possible. An improved resolution analog to the above described R, G, B-arrangement can be achieved in that twice as many light converter elements are provided with a Y filter than with an X or Z filter.
[0037] It would theoretically be possible to integrate 16 different narrow band color filters into the image sensor so that a spectral measurement therewith would be possible. However, the practical manufacture of sufficiently narrow band filters and of so many different (interference-) color filters directly onto the light converter elements of a single chip is technologically very difficult. Furthermore, image resolution and light sensitivity would sink to {fraction (1/16)} of a conventional (color neutral) image sensor.
[0038] Another possibility for the simultaneous measurement of the whole spectrum consists, according to a further aspect of the invention, in the use of several video cameras, each of which measures a small spectral region of about 20 nm bandwidth and which are grouped, for example, in a 4×4 matrix about the optical axis of the tele-lens. Such an arrangement enables the complete resolution of the image sensors used and also has the full light sensitivity. However, it is disadvantageous that no exact parallel tele-centrical projection is possible for all cameras. Furthermore, the cameras due to their eccentrical positioning have different geometrical registrations. However, they can be corrected by calculating a corresponding transformation of the image co-ordinates.
[0039] According to a further preferred embodiment of the measurement device in accordance with the invention, a simultaneous spectral measurement can be realized by use of a specially constructed spectral-video-camera. A principal schematic of such a spectral video camera is shown in
[0040] The essential feature of the camera referred to as a whole by
[0041] Since it is difficult in practice to make the wavelength region transitions of interference mirrors sufficiently narrow band, according to a further aspect of the invention, the measuring light is first split by way of three semi-transparent mirrors
[0042]
TABLE 1 Beam Splitting Transition Bandpass Mean Mirror Wavelength Filter Wavelength 264 520 265 440 276 400 277 480 266 600 278 640 279 560 267 540 268 460 280 420 281 500 269 620 282 620 283 580 270 560 271 480 284 440 285 520 272 640 286 680 287 600 273 580 274 500 288 460 289 540 275 660 290 700 291 620
[0043] The color neutral semi-transparent mirrors are preferably realized in a generally known manner by the interfaces of essentially about semi-cube-shaped glass prisms. Analogously, the color selective beam splitting mirrors which are realized by interference filters are applied onto interfaces of glass prisms. The bandpass filters are also applied directly onto the glass prisms and the image sensors are mounted directly onto the glass prisms. The individual glass prisms are connected with optical contact so that the losses caused by medium transitions are prevented. The glass prisms are mutually three-dimensionally positioned and oriented such that a compact configuration is created with space for all image sensors.
[0044] The beam splitter can also be positioned directly following the tele-lens. Although one then needs a lens for each channel, the smaller aperture angles of such an arrangement are advantageous.
[0045] With ideal beam-splitter mirrors in a 1-2-4-8-arrangement, it is principally possible to split the spectrum into 16 spectral regions of 20 nm bandwidth without losses so that each inner sensor receives 100% of the light (of its wavelength region). The band characteristics are thereby determined only by the mirror interference layers so that no additional bandpass filters are required.
[0046] Table 2 shows the transition wavelengths of such a 1-2-4-8-arrangement of (ideal) beam splitter mirrors as well as the mean wavelengths of the resulting spectral regions.
TABLE 2 Mean Wavelengths Transition Wavelengths [nm] [nm] Interference Beam Splitter Spectral Regions 400 410 430 470 550 420 440 450 460 480 490 510 500 520 530 540 560 570 590 630 580 600 610 620 640 650 670 660 680 590 700
[0047] A simultaneous video camera with 16 spectral regions is very expensive to manufacture. A compromise between such a spectral camera and an X, Y, Z-three region camera is a camera with, for example, seven spectral regions which can be built with corresponding filters. Five filters thereby have a bandwidth of 30 nm each and mean wavelengths of 470, 500, 530, 560, and 590 nm. A filter covers the wavelength region of 400-470 nm and images the Z-characteristic according to CIE in the region of 400-450 nm. A seventh filter covers the wavelength region of 590-700 nm and images in the region of 620-720 nm the X-characteristics according to CIE. With the mentioned filters, the X, Y, Z-characteristics according to CIE can be well reproduced by calculation, which is important for an absolutely exact color measurement. A further filter can be provided which lies in the infrared region and therefore cannot be used for the determination of color measurement numbers. However, this infrared filter allows in a manner known in the art further information on the measured object, for example, whether an image point appears black because of over-printing of the three colors cyan, magenta and yellow or because it is printed with black ink.
[0048] The raw measured data
[0049] Before the actual correction operations in the data processor
[0050] The optical imaging system of the measurement device is generally not absolutely perfect, but causes a (ideally as small as possible) geometric distortion which must be corrected before all further operations.
[0051] A test image is measured with the measuring device, which includes a test pattern in the form of a rectangular frame and a cross centered in the frame. The corners of the frame and the intersections of the frame with the cross define 9 reference points, which are used for the determination of the geometric distortions. The theoretical position and shape of the test pattern is referred to in
[0052] The position deviations
[0053] Of course, other test patters can also be used for the determination of the geometric distortion of the imaging system.
[0054] For the geometric correction of the measured object, the geometry correction region to which an image point belongs is determined for each image point (by way of its image point coordinates) and the position deviation
TABLE 3 Region Number Image Points (in pixel) (in pixel) 1 x1 . . . x8, y1 . . . y8 3.25 −5.75 2 x9 . . . x16, y1 . . . y8 3.2 −5.7 And so on and so on and so on and so on
[0055] The further correction measures described below are carried out after the geometric rectification of the measured object, for each individual spectral channel and separately in each respective spectral channel.
[0056] A first important correction measure is a contrast correction. Because of the properties of real (which means non-ideal) lenses, filters, closure windows of the image sensor, etc. each image point of the measured object provides a non-negligible contribution to the brightness of all other image points. These contributions are distance dependent on the one hand and location dependent on the other and overall are so large that the demanded measurement accuracy (less than 1 dL*) cannot be achieved. (dL* is the unit of the brightness error in the CIE-L*a*b* system). This is where the contrast correction applies.
[0057] The contrast correction includes at least a so-called scattered light correction wherein for each image point the (distance dependent) scattered light influence of the other image points on the respective image point is subtracted. The processing requirements, for this (according to conventional methods) would be enormous and impractical (for an assumed 300,000 image points, 90 billion multiplications and as many additions as well as the one time determination of the 90 billion multiplication factors). Consequently, according to an essential aspect of the invention, only a relatively small region (for example 16×16 pixel) surrounding the respective image point can be used for the scattered light correction, and the correction carried out at full resolution only in an inner core region (for example 8×8 pixel) within this surrounding region. Outside this region, the correction is carried out with binary decreasing resolution. Further details are provided below.
[0058] Preferably, the contrast correction also includes a (preceeding) so-called reflex correction. In this correction measure—which represents a special form of a scattered light correction—especially the point-symmetrical reflection images (ghost images) produced by the camera lens are subtracted from the measured data of the measured object. The (mainly location dependent) reflex correction is carried out by way of reflex correction coefficients determined from test images and is also further described further below. The reflex correction is carried out before the scattered light correction.
[0059] A further important correction measure is the white normalization. Even when the image illumination of the measured object is as constant and homogeneous as possible, a generally known white normalization with the help of a white reference image is required for an exact remission measurement. A white reference image is understood to be a recording (measured remission values) of a homogeneously white (physical) image with known reference remission values in each spectral channel (determined for example by way of a separate spectrophotometer)' which recording is made with the image sensor
[0060] The quotient of the remission value of the measured object to the corresponding (stored) remission value of the white reference image is calculated for each pixel (in each spectral channel) for the white normalization. The result are normalized remission values for each image element in each pixel. Absolute remission values are obtained by multiplication of the so normalized remission values with the corresponding (known) reference remission values (absolute white calibration values) of the homogeneously white (physical) image. The white normalization is a correction measure generally known and therefore does not need any further explanation.
[0061] A further important correction step after the contrast correction or after the white normalization, consists in a so called white border normalization. It is a goal thereof to compensate the integral illumination variations from measured object illumination to measured object illumination, which are always present in practice. A defined border region of the homogeneously white (physical) image already mentioned in connection with the white normalization is used herefor, or a correspondingly, homogeneously white object mask with preferably equal white shade is used as the image. Alternatively, a white border region of the measured object and delimiting the same can be used. If the border region of the homogeneously white physical image is used, it can serve as an object mask at the same time.
[0062] The actual mean brightness (mean of the remission values) of the border region is determined from the actually measured remission values of the pixels belonging to the border region used. Furthermore, the corresponding mean brightness for a corresponding border region of the white reference image is determined (from the stored data). The quotient of the mean brightnesses of the border region of the white reference image to that of the actually measured border region is used as correction factor, with which the data measured or the measured object are multiplied for the white border normalization, so that the new white border brightness of the actual measurement corresponds with that of the white reference image after the white border normalization. By way of the white border normalization, the mean brightness of the white border regions is raised or lowered to the white calibration value and integral illumination variations between the individual measured object illuminations are compensated in this manner.
[0063] The image data corrected in this way can then be analyzed in any way or further processed. Especially, the color measurement numbers of the individual image points of the measured object can be calculated therefrom in a generally known manner and used, for example, for the control of a printing machine.
[0064] As already mentioned, the imaging optic, especially the lens of the CCD camera, produces a reflection image, which generally, relative to the optical axis or relative to the image center, is point symmetrical to the actual image content. Although the reflection image is of relatively low intensity (in the order of 0.2% of the brightness of the original image) it is clearly detectable. Furthermore, the reflection image is out of focus. Depending on the centering of the lenses or optics of the imaging system, the center of symmetry can also be located slightly outside the image center and furthermore, the reflection image can be somewhat smaller or larger than the original image.
[0065] Measurements of different test images of the types shown in
[0066] In preparation for the reflection correction, the location of the centre of symmetry
[0067] The reflection correction is then carried out by way of the empirical correction parameters in that an artificial reflection image is reduced from the measured image by mirror copying about the centre of symmetry and low pass filtering (bringing out of focus or smudging), possibly enlargement or reduction (interpolated linearly between the extreme values), as well as distance dependent reduction of the brightness, which artificial reflection image is then subtracted from the original image. This is illustrated in
[0068] The above described reflection correction is relatively calculation intensive. According to an important aspect of the invention, the calculation effort can be reduced in that the calculation of the artificial reflection image is carried out at a lower resolution. Which resolution results in the ideal compromise between calculation effort and correction precision must be determined through experimentation. In a practical realization of the measurement device, a resolution of ⅛ of the full resolution (of the uncorrected image) has proven suitable, whereby the calculation effort was reduced by a factor of 64. The calculation of auxiliary images with a more coarse resolution is carried out in the same manner as described further below in connection with the scattered light correction.
[0069] The scattered light correction for each image point subtracts from the brightness value (remission value) of the respective image point the distance dependent brightness contribution of all image points surrounding the image point. The brightness contribution
[0070] The scattered light corrected remission value R′
[0071] In accordance with the invention, one now proceeds in the manner that a correction at full resolution is carried out only for a relatively small image region (typically 16×16 pixel) and within the same for an even smaller core region (typically 8×8 pixel). Outside the mentioned image region, the correction is carried out preferably with binary graduation and at decreasing resolution with increasing distance. A graduation of the resolution other than binary is of course also possible.
[0072] For this purpose, for example, five auxiliary images with, for example, binary graduated resolution and with fixed relation to the image border are calculated from the image with full resolution (raw measured data or already reflex corrected data). The image with full resolution defined by the raw data or the reflex corrected measured data is in the following referred to as the original image. The auxiliary images have ½, ¼, ⅛, {fraction (1/16)}and {fraction (1/32)} of the resolution of the original image. The corrections are determined from the original image and the auxiliary images. For the calculation of an auxiliary image with the next lower (half) resolution, four adjacent image points are combined in a generally known manner, whereby the mean remission of these four image points represents the remission value of the corresponding image points of the coarser auxiliary image.
[0073] For the following and purely for exemplary illustration purposes, a maximum resolution (set by the image sensor) of 480×640 is assumed for the original image, which corresponds to 307,200 image points. Accordingly, the five auxiliary images then have resolutions of 240×320 (76,800 image points), 120×160 (19,200 image points), 60×80 (4800) image points, 30×40 (1200 image points), and 15×20 (300 image points).
[0074] Core regions respectively including , for example, 8×8 pixels are now selected so that they on the one hand cover the whole image (of highest resolution) without overlap and without gaps and on the other hand fit into the grid of the auxiliary images with binary graduated resolution. The positions or coordinates (for example of a corner point) of the core regions relative to the grid of the image with full resolution and of each auxiliary image are stored. The core regions overlap with the image points of the auxiliary image with ⅛ resolution.
[0075] According to the invention, the scattered light correction is calculated separately for each resolution. For each original image with full resolution and for the auxiliary images with the binary graduated resolutions, 6 scattered light contributions from defined analysis regions are calculated (for each image point of the original image). The 6 scattered light contributions are added up to a total scattered light contribution and the latter is finally subtracted from the raw data of individual image points.
[0076] The following operations are with respect to an 8*8 core region and are carried out (sequentially) for all core regions.
[0077] For the calculation of the scattered light correction of any image point of the original image with the full resolution, that 8*8 core region KB (out of the previously defined core regions) is determined in which the image point to be corrected is located. Subsequently, one analysis region AB
TABLE 4 Region Resolution Dimension Number of Elements Core Region KB {fraction (1/1)} 8 * 8 64 Analysis Region 1 {fraction (1/1)} 16 * 16 256 Analysis Region 2 ½ 12 * 12 144 Analysis Region 3 ¼ 10 * 10 100 Analysis Region 4 ⅛ 8 * 8 64 Analysis Region 5 8 * 8 64 Analysis Region 6 15 * 20 300
[0078] The determination of the dimensions of the analysis regions is carried out empirically, so that a sufficient scattered light correction results. The larger the analysis regions with higher resolution, the better the correction, whereby however the calculation effort increases at the same time. The exemplary dimensioning according to Table 4 delivers the required correction accuracy with a justifiable calculation effort.
[0079] The relative location of the core region and the analysis regions within the respectively larger analysis regions of course change depending on where the core region is located in the image or the outermost analysis region. It is an essential condition that the region limits correspond with the grid of the respectively coarser auxiliary image and that the region limits coincide with the pixel limits of the same resolution. With this condition (and the once fixed dimensions), the resolution regions—apart from equivalent symmetrical solutions—can be clearly determined (calculated) and stored.
[0080] Scattered light correction of a core region of 8*8 pixels:
[0081] Starting with the largest image resolution (15*20) the scattered light contributions of the image points of the coarsest analysis regions AB
[0082] Furthermore, the auxiliary image data of the analysis region AB
[0083] The scattered light contributions of the image points of the analysis region AB
[0084] In an analogous manner, the scattered light contributions of the image points of the (already cleaned of scattered light) analysis regions AB
[0085] After completion of the calculations, the six scattered light contributions of the analysis regions AB
[0086] Scattered light correction of the whole image:
[0087] For the scattered light correction of the remaining image points of the original image, the same calculations are carried out for all remaining core regions. According to a further aspect of the invention, always the same correction coefficients (in the here-described exemplary embodiment overall 194464) are used. Of course, for each core region actually only a partial amount (here for example 30095) of the overall 194464 correction coefficients are required. The correction coefficients effectively used for each core region are fixed by the relative positions of the core region and the analysis regions.
[0088] As is apparent from the above number examples, the calculation effort for the scattered light correction in accordance with the invention is several orders of magnitude lower than with the classical approach. The scattered light correction is actually only made practical in this manner.
[0089] Scattered light correction of individual image regions
[0090] In practical applications, often only the spectra and color measurement numbers of particular image regions are of interest. In those cases, a scattered light correction for only the image points of that image region or those image regions is sufficient. Thus, the scattered light corrections are calculated only for those core regions which include at least one image point of the image regions of interest.
[0091] Determination of the scattered light correction coefficients
[0092] The determination of the correction coefficients required for the scattered light correction is described below.
[0093] The (N*M)
[0094] The elements of the scattered light coefficient matrix (s
[0095] For a clear determination of the elements of a scattered light coefficient matrix, the same number of independent measurements are required as the number of the independent matrix elements. Correspondingly, at least 194464 measurement procedures would be necessary for the above already mentioned six correction coefficient matrixes of the six resolution steps (which can be calculated as the inverse to the corresponding six scattered light coefficient matrixes) with overall 194464 coefficients. Of course, this is not practical. Furthermore, the extremely low scattered light contributions of individual image points cannot be measured with sufficient precision.
[0096] In order to reduce the effort for the determination of the correction coefficients, one makes use of the fact that the scattered light influence within the framework of the precision required here is not location independent but only distance independent. Thus, one proceeds as follows in accordance with the invention.
[0097] Eight test images with special scattered light elements are produced and measured (analysed) with the measuring device. Each scattered light element consists (similar to the calibration elements) of a single white annulus. The (mean) radii and annulus widths of the scattered light elements are different for each test image. Overall, eight differently sized scattered light elements are provided, the mean radii of which are, for example, 2, 3, 8, 16, 25, 50, 100 and 200 pixels. The annulus widths vary between about 1 pixel for the smallest and about 40 pixels for the largest annulus. Each test image preferably includes several identical scattered light elements in order to obtain several measurement results and to be able to reduce the measurement error in this manner. Especially the smallest scattered light elements are somewhat critical insofar as the centre of measurement (pixel) is not always exactly at the centre of the annulus. Groups of scattered light elements are therefor preferably provided on these test images, whereby the elements of one group are respectively displaced by ½ or ¼ pixel relative to the pixel raster. In this manner, at least in one scattered light element of the group one pixel is always located sufficiently exactly in the centre of the scattered light element. The measured values from this scattered light element (identifiable by the lowest scattered light) are then used.
[0098]
[0099] As already mentioned, the scattered light is measured at the centre of the scattered light elements. The measured scattered light is respectively normalized onto one pixel (measured remission divided by the annular surface in pixel units). The quotient of normalized scattered light to brightness of the white pixels provides the relative scattered light influence and thereby those coefficients of the scattered light matrix which are valid for all those image point pairs which are spaced from one another by the (mean) annular radius of the measured scattered light element.
[0100] By way of numerous test measurements with scattered light elements of different size, it was found that the scattered light influence decreases at a double logarithmic scale at least in some sections and also overall approximately linear with distance.
[0101] The eight (or more) scattered light coefficients for the 8 (or more) pixel spacings defined by the annular radii and measured by way of the 8 (or more) scattered light elements can now be used as bases for a step by step linear interpolation. The distances of the possible image point pairs are known for each level of resolution (in this example overall 194,464 pairs). By the mentioned interpolation, the associated scattered light coefficients can be calculated with sufficient precision for each occurring pixel distance. Therefore, for each level of resolution results a scattered light coefficient matrix of the dimensions 256*256, 144*144, 100*100, 64*64, and 300*300, overall 194,464 scattered light coefficients, of which of course very many are equal since many image point pairs have the same pixel distance.
[0102] The 6 scattered light coefficient matrices so calculated are now inverted and thereby provide the six correction coefficient matrices. They are then multiplied with the respectively associated calibration factor according to the preceding explanations and are then available for the calculation of the scattered light correction. Under the condition that the calculation routines are programmed in a powerful program language, for example, C++, the calculation of the correction coefficient matrices by way of the measured data of the test images can be carried out in a few seconds on an average office computer.
[0103] Calibration of the scattered light correction
[0104] The scattered light correction can still be optimized when according to a further important aspect of the invention, a calibration of the scattered light correction is carried out with the goal to minimize the mean square residual error of the correction. Residual error refers to the still present brightness difference (to the theoretically expected value) in an image point after the scattered light correction. For example, the measured brightness (after the scattered light correction) in a black image region should actually be 0. However, upon insufficiently exact correction of the scattered light, a (very small) remaining brightness is still measured, which represents the residual error for the respective image region.
[0105] The calibration of the scattered light correction consists essentially in that the scattered light contribution of the six analysis regions is evaluated with (generally different) weights and the weighted sum (in place of the normal unweighted sum) of the individual scattered light contributions is subtracted from the emission value of the image point. This can then be represented by the following Formula 2:
[0106] Whereby
[0107] In practice, the scattered light correction contributions are not weighted, but the correction coefficients (of the respective level of resolution) which are used for their calculation are multiplied with the calibration factor associated with the respective level of resolution, for example, the 65,536 correction coefficients of the level of resolution 1/1 with the calibration factor G
[0108] The determination of the calibration factors is carried out by measurement and evaluation of test images with suitable image patterns. The test images are preferably provided with special calibration elements. A separate test image is provided for each resolution with a calibration element adjusted to the resolution. Although the calibration elements principally can be of any construction, it is recommended that the calibration elements are built after the analysis regions in order to guarantee the independence of the measurements.
[0109] As is apparent, each calibration element consists only of a white (polygonal) annulus. The outer dimensions of the annulus correspond to the analysis region AB
[0110] The 6*n differences D
[0111] This equation system which includes at least six equations is solved for the unknowns G1 . . . G6 and the marginal condition that the sum of the squares of the errors becomes minimal (compensation calculation). As is apparent, the equation system can be written as a matrix equation
[0112] wherein (−F) represents an error vector with the components −Fn, (G) represents an unknown vector with the components G1 . . . G6, and (D) a coefficient matrix with the elements Dn,i. The matrix equation is solved for the unknowns according to the known rules of the compensation calculation as follows:
[0113] wherein (D)
[0114] The correction coefficients of the individual levels of resolution are multiplied (calibrated) with the calibration factors G
[0115] White normalization and white border normalization:
[0116] The reflex and scattered light correction are followed by the white normalization and white border normalization in the above already described manner. Thereafter is carried out, as the last correction measure, a spectral or wavelength correction for the interference filters used for the spectral splitting.
[0117] The spectral characteristics of interference filters are, as already mentioned above, dependent on the angle of incidence of the light beams. This angle is not constant, but dependent on the position of the measured image point on the measured object. However, it can be calculated from the position of the respective image point, and the filter characteristic actually in effect for the respective image point position can then be determined therefrom.
[0118] When the spectrum measured under a preselected angle of incidence of γ with the use of preselected interference filters is referred to as (SP)
[0119] wherein (IM)γ is an interpolation matrix valid for the angle of incidence γ with n
[0120] The interpolation matrices (IM)γ associated with the spectral correction in accordance with the invention are now determined and stored for a number, for example 50, of discreet angles of incidence γ (for example between 0° and 17°). One of these 50 discreet angles of incidence γ is appointed to each image point region of, for example, 8*8 pixels according to its location on the measured object. Subsequently, the spectrum (SP)γ of each image point (previously of course contrast corrected) according to the preceding description is recalculated by way of the interpolation matrix (IM)γ belonging to the associated angle of incidence γ according to the above formula for the nominal spectral regions of, for example, 400, 420, 440 . . . 680, 700 nm.
[0121] After this last correction measure, corrected image data (spectra)