Title of Invention

CALIBRATION ELEMENT FOR CALIBRATING THE MAGNIFICATION RATIO OF A CAMERA, AND A CALIBRATION METHOD

Abstract A calibration element (1) serves for calibrating the magnification ratio of a camera (3). The calibration element (1) has at least one calibration region (4) in which at least one perforation (5) or indentation is provided. The perforation (5) or indentation can be detected by the camera. The calibration element (1) is sufficiently slight in the calibration region (4) that the detection of an upper edge or lower edge of the perforation (5) or indentation produces only negligible differences. In order to determine the dependence of the magnification ratio on the thickness, the calibration element (1) additionally has at least one support foot (8), whose length (9) is selected in such a way as thereby to produce a variation in the measured magnification ratio of the camera image that can be evaluated.
Full Text FORM 2
THE PATENT ACT 1970 (39 of 1970)
The Patents Rules, 2003 COMPLETE SPECIFICATION [See Section 10, and rule 13)
TITLE OF INVENTION
CALIBRATION ELEMENT FOR CALIBRATING THE MAGNIFICATION RATIO OF A
CAMERA, AND A CALIBRATION METHOD



2. APPLICANT(S)
a) Name
b) Nationality
c) Address

TEXMAG GMBH VERTRIEBSGESELLSCHAFT
SWISS Company
ZEHNTENSTRASSE 17,
8800 THALWIL
SWITZERLAND

PREAMBLE TO THE DESCRIPTION
The following specification particularly describes the invention and the manner in which it is to be performed : -


There is known from DE 101 18 886 B4 a calibration ruler that includes a printed marking that can be detected by a camera. This marking codes the respective location such that it is also possible to determine the exact length of the detection range of the camera. This calibration ruler assumes, however, that the object to be detected is flat and is located in a defined and invariable position. In the case of product webs in the fields of textiles, papers and plastics, this condition can be fulfilled without any problem because of the negligible product web thickness, but in the case of rubber webs, however, this restriction leads to intolerable problems. It is necessary here also to take account of the influence of the web thickness on the calibration of the camera.
It is the object of the invention to provide a calibration element of the type mentioned at the beginning that also takes account of the dependence of an object to be detected on thickness in conjunction with a simple design. It is also intended to provide a corresponding calibration method.
This object is achieved according to the invention with the aid of the features of patent claim 1 and the method steps of patent claim 8.
The calibration element in accordance with claim 1 serves for calibrating the magnification ratio of a camera. It is preferred to make use as camera of a CCD or CMOS camera, it also being possible as an alternative to use other imaging methods. Again, whether the camera is a matrix or line camera plays no role. In particular, in cases of application where the aim is to utilize the camera to scan objects in the form of running product webs, a line camera that is aligned transverse to the running direction is completely sufficient. A calibration in the line direction is sufficient in this case. In the case of a matrix camera, the calibration can be performed in row and/or column direction depending on application. The magnification ratio of the camera is important for determining exact measured variables. However, it is dependent both on the position and on the alignment of the camera. Moreover, the magnification ratio also changes with the thickness of the object to be examined,
-2-

since the surface viewed by the camera lies closer to the camera for relatively thick objects than for relatively thin objects. These differences play a role, in particular, when objects are detected exactly using measurement technology. This problem is solved by using a calibration element that has at least one calibration region. Located in this calibration region is at least one perforation or indentation that can be detected by the camera. The size or the mutual spacing of the perforation and indentation is known in this case, and so the measured variables detected by the camera can be compared with known geometric dimensions of the calibration element. It is possible in this way to determine the magnification ratio of the camera, which is dependent on the mounting and alignment. If a number of perforations and indentations are provided, this magnification ratio can also be calculated as a function of the location in the field of view of the camera, in order in this way also to correct imaging errors of the objective such as, for example, a trapezoidal distortion of the camera image.
In order to additionally determine the dependence of the magnification ratio on the thickness of the object to be detected, it is fundamentally sufficient to calibrate the camera in two different object planes if the positions of these planes are known. It is not expedient in this case to use a calibration element with a thick calibration region, since this gives rise to the problem of an unreliable detection of the upper and lower edges of the calibration element. In order to achieve this object, the calibration element has at least one support foot whose length is selected in such a way that a variation which can be evaluated is produced in the magnification ratio of the camera image by rotating the calibration element and setting it down on the at least one support foot. The at least one support foot is at least twice as long as the thickness of the calibration element in the calibration region. Consequently, given a rotated position of the calibration element the calibration region is located in a measurable fashion at the camera, and so the magnification ratio varies correspondingly. This measurable variation in the magnification ratio then produces the desired thickness dependence of the object, and so the magnification ratio of the camera image is calibrated in this way as a function of the respective object
-3-

thickness. Fundamentally, it is also intended to determine the magnification ratio as a function of the location in the field of view of the camera, in order to be able to use the camera to execute geometric measurements that are as accurate as possible.
When detecting the calibration element of the camera, the fundamental problem arises that the camera detects the upper edge, on the one hand, and the lower edge, on the other hand, of the calibration element, the lower edge sometimes being covered by the upper edge and depending on the position of the camera. In order to avoid calibration errors because of these unknowns, in accordance with claim 2, in the calibration region the calibration element has such a slight wall thickness that upper and lower edges of the perforations and/or indentations produce differences in the camera image that are negligible for the calibration procedure. Because of this thin wall thickness of the calibration element in the calibration region, the camera substantially sees only one edge in the region of the perforation, and so faults in the detection of the perforation and/or indentation are excluded.
In accordance with claim 3, it is advantageous when the calibration element has a thickness of at most 2 mm in the calibration region. In the case of the dimensions and alignments of the camera that occur in practice, the upper edge and lower edge of the calibration element can in this case no longer be distinguished and so a measurement error associated therewith lies in the range of a pixel resolution of the camera, and can therefore be neglected.
In accordance with claim 4, a length of at least 10 mm has proved successful for the support foot. Particularly in the case of industrial applications with camera distances in the range of at most one meter, a sufficiently accurate measurable variation in the magnification ratio already results in this way, and so the dependence of the magnification ratio on the object thickness is sufficiently accurately calibrated in this way.
-4-

If only a single support foot is used, this is preferably provided in the middle of the calibration element in order to keep the latter in equilibrium when standing on the support foot. Alternatively, it is also possible to provide a number of support feet, and/or to design the at least one support foot as a web projecting from the calibration element. In accordance with claim 5, it is advantageous in this case when the at least one support foot is provided at the edge of the calibration element. In this way, the at least one support foot protects the calibration region of the calibration element against the effects of force, and thus against destruction. This is important particularly in the harsh industrial sector.
A particularly effective protection of the calibration region results in accordance with claim 6 from a U-shaped or frame-shaped design of the support foot. Moreover, in this case the support foot leads to increased mechanical strength of the calibration element and, in particular strengthens the sensitive calibration region. This also thereby increases the dimensional stability of the calibration region.
In order to avoid uncertainty in the detection of, on the one hand, an upper edge and, on the other hand, of a lower edge of the calibration element, it is advantageous in accordance with claim 7 when the calibration element has at least one indexing means. This indexing means can be designed, for example, as a hole, depression, pin or the like, and corresponds to an appropriate indexing means in the detection region of the camera. It is ensured in this way that the calibration element is always arranged in an identical, reproducible way. It is thereby clear which structures of the calibration element are detected at the upper edge, and which at the lower edge of the camera. A particularly thin design of the calibration element in the calibration region is not required in this case.
The calibration method in accordance with claim 8 has proved successful for calibrating the camera. In this case, at least one calibration element of the aforedescribed type is laid in a field of view of the camera and the first image is produced. This image then includes geometric data of the calibration element
-5-

together with imaging functions of the camera that are still fundamentally unknown. These imaging functions depend, in particular, on the position and alignment of a camera, and on the focal length and setting of the camera objective. Once the geometric properties of the calibration element are known, the magnification ratio of the camera can be calculated by comparing the camera image with the geometric variables of the calibration element. In order, in addition, to take account of the dependence of the magnification ratio on the object thickness, the calibration element is rotated and a further image is produced using the camera. Here, there is no change in the geometric properties of the calibration element itself. All that happens is that the calibration region is moved closer to the camera by the length of the at least one support foot. Subsequently, a linear function of the magnification ratio of the object thickness is calculated from the variation in the magnification ratio that is associated therewith. Here, the magnification ratio corresponds in the case of the first image produced to the object thickness zero and an object thickness that corresponds to the length of the support foot in the case of the second image produced. Consequently, the magnification ratio can be calculated for each desired object thickness by applying this linear function.
In accordance with claim 9, it is advantageous when the magnification ratio is calculated as a function of the location. This can be brought about, in particular, by the calibration element having a number of perforations or indentations such that in this way a plurality of geometric properties are present in the field of view of the camera. These various geometric properties can in this case enable an exact calibration even of distorted images. It is fundamentally adequate in this case to determine the dependence of the thickness of the magnification ratio as a function of location, since the functions of the magnification ratio are essentially decoupled from the thickness, on the one hand, and from the location, on the other hand.
In order for the optical detection of the calibration element by the camera to be configured as precisely as possible, it is advantageous in accordance with claim 10 when edges to be evaluated in the images of the camera are only those in the case of
-6-

which end faces of the calibration element are invisible to the camera. The visibility of the end faces of the calibration element depends exclusively on the relative position between the respective end face, on the one hand, and the camera, on the other hand. If - seen perpendicular to the calibration element - the perforation or indentation is located to the left of the camera, for example, only the left-hand end faces of the perforation or indentation can be seen by the camera. In this case, only the right-hand end faces in the camera image are evaluated. If the perforation or indentation is, by contrast, located to the right of the camera, the left-hand edges of the perforation or indentation are evaluated. If, by contrast, the perforation is positioned both to the left and to the right of the camera, it is impossible to evaluate either of the two end faces properly. In this case, the nearest edges of the respectively neighboring perforations and/or indentations are used. It is ensured in this way that an erroneous evaluation of the lower edge of the calibration element averted from the camera is excluded.
The subject matter of the invention is explained by way of example with the aid of the drawing and without limiting the scope of protection.
In the drawing:
figure 1 shows a two dimensional illustration of a calibration element with a
camera,
figure 2 shows the illustration in accordance with figure 1 with a rotated
calibration element,
figure 3 shows an enlarged illustration of a detail of the arrangement in
accordance with figure 1,
figure 4 shows a diagram, and
-7-

figure 5 shows an alternative embodiment of the calibration element.
The calibration element 1 in accordance with figure 1, which preferably consists of an iron material, is provided in a field of view 2 of a camera 3. The camera 3 is designed in this case as a line camera such that the field of view 2 forms a long, but at the same time narrow, rectangle.
The calibration element 1 has a central calibration region 4 in which a number of perforations 5 are provided. The camera 3 is able to detect these perforations 5 with rich contrast. The limiting edges of the perforations 5 have known calibration lengths. With the aid an image recorded by the camera 3, the magnification ratio of the camera 3 over the field of view 2, can be calculated from the known calibration lengths 6 and distances 7. When a real object is recorded with the aid of the camera 3, it is possible on the basis of this calculation to calculate the exact dimension of the object in the field of view 2 of the camera 3.
The calibration element 1 also has a support foot 8 that extends in the shape of a frame around the calibration region 4. This support foot 8 lends an advantageous dimensional rigidity to the calibration element 1 such that the calibration region 4 can be designed with a relatively thin wall thickness. In the exemplary embodiment, the calibration region 4 and the support foot 8 are separately provided parts that are subsequently interconnected. Alternatively, the calibration element can also be fabricated in one piece.
In the region of the support foot 8, the calibration element 1 has two indexing means 22 that are designed purely by way of example in the form of bores in the exemplary embodiment in accordance with figure 1. Alternatively/ it is also possible to make use of any desired other indexing means such as, for example, pins. Indexing means 22 ensures a reproducible, exact positioning of the calibration element 1 relative to the camera 3, and this facilitates the detection of the perforations 5.
-8-

Figure 2 shows the arrangement in accordance with figure 1, the calibration element 1 having been rotated. The calibration element 1 thereby rests on the support foot 8. In this arrangement the calibration region 4 of the calibration element 1 comes closer to the camera 3 by a height 9 of the support foot 8. This affects the magnification ratio of the camera 3 such that it is possible in this way to determine a dependence of the magnification ratio on an object thickness.
Figure 3 shows an enlarged, sectional illustration of a detail of the arrangement in accordance with figures 1 and 2, with a cut beam path. It is to be seen, in particular, from this illustration that the calibration element 1 has a relatively slight wall thickness 10 in the calibration region 4. An upper edge 11 of the perforation 5 supplies a first image 14 on a photo detector 13 by means of an objective 12 of the camera 3. A lower edge 15 of the same perforation 5 is so close in this case to the upper edge 11 that it supplies the same first image 14 as the upper edge 11 in the case of the present magnification ratios. Consequently, differences resulting from the detection of the upper edge 11, on the one hand, and of the lower edge 15, on the other hand, of the perforation 5 cause errors of at most one pixel, that is to say of the accuracy of the photo detector 13. If the resolution of the photo detector 13 does not need to be completely utilized for the respective application, it is also possible to tolerate slightly different images 14 on the upper edge 11 and lower edge 15. Corresponding geometric conditions result in the case of the right hand upper edge 16 and lower edge 17.
With the rotated calibration element 1, the calibration region 4 lies closer to the camera 3, and this is illustrated in figure 3 by dashed lines. The upper edge 11 and lower edge 15 in this case supply a second image 14' on the photo detector 13 that is sufficiently widely spaced from the first image 14. What is important here is not the actual position of the first image 14 and second image 14' on the photo detector 13, but only the width of the perforation 5 in the camera image. In order to obtain a high accuracy, it is preferred to measure the distances of perforations 5 lying as far apart as possible. Furthermore, it is preferred to evaluate those upper edges 11, 16 for
-9-

which the corresponding lower edges 15,17 are not located in the field of view of the camera 3.
Given known dimensions of the calibration element 1, the first image 14 and second image 14' are used to determine magnification ratios 18 as a function of the object thickness 19 of the object to be examined. The first image 14 corresponds in this case to a thickness zero, while the second image 14' corresponds to the height 9. Two points 20 that define a linear function 21 are obtained in this way in the diagram in accordance with figure 4. This linear function 21 yields the corresponding magnification ratio 18 for each object thickness 19 such that the camera 3 is calibrated for any desired object thicknesses.
Figure 5 shows an alternative embodiment of the calibration element 1 in accordance with figure 1. In this embodiment, the support foot 8 is designed as a central block around which the calibration region 4 extends.
-10-

List of reference numerals

1 Calibration element
2 Field of view
3 Camera
4 Calibration region
5 Perforation
6 Calibration length
8 Support foot
9 Height
10 Wall thickness
11 Upper edge
12 Objective
13 Photo detector
14 First image
14' Second image
15 Lower edge
16 Upper edge
17 Lower edge
18 Magnification ratio
19 Object thickness
20 Point
21 Linear function
22 Indexing means

WE CLAIM:
1. A calibration element for calibrating the magnification ratio (18) of a camera (3), the calibration element (1) having at least one calibration region (4) in which there is provided at least one perforation (5) and/or indentation that can be detected by the camera (3), wherein in order to determine the dependence of the magnification ratio (18) of an object thickness (19) the calibration element (1) has at least one support foot (8), whose length (9) is selected in such a way that a variation which can be evaluated is produced in the magnification ratio (18) of the camera image (14, 14') by rotating the calibration element (1) and setting it down on the at least one support foot (8), the length (9) of the at least one support foot (8) being at least twice as large as a wall thickness (10) of the calibration element (1) in the calibration region (4).
2. The calibration element as claimed in claim 1, wherein in the calibration region (4) the calibration element (1) has a wall thickness (10) so slight that upper (11, 16) and lower edges (15,17) of the perforation (5) and/or indentation produce differences in the camera image (14, 14') that are negligible for the calibration procedure.
3. The calibration element as claimed in claim 1 or 2, wherein the calibration element (1) has a wall thickness (10) of at most 2 mm in the calibration region
(4)-
4. The calibration element as claimed in at least one of claims 1 to 3, wherein the at least one support foot (8) is at least 10 mm long.
5. The calibration element as claimed in at least one of claims 1 to 4, characterized in that the at least one support foot (8) is provided at the edge of the calibration element (1).
-12-

6. The calibration element as claimed in at least one of claims 1 to 5, wherein the at least one support foot (8) extends in the shape of a U or frame around the calibration element (4).
7. The calibration element as claimed in at least one of claims 1 to 6, wherein it has at least one indexing means (22) for securing position.
8. A calibration method for a camera (3), at least one calibration element (1) as claimed in at least one of claims 1 to 7 being laid in a field of view (2) of the camera (3) and a first image (14) being produced, wherein the calibration element (1) is subsequently rotated and a second image (14') is produced with the aid of the camera (3), there being calculated from two images (14,14') in conjunction with known dimensions of the calibration element (1) magnification ratios (18) that form two points (20) of a linear function (21) of the magnification ratio (18) of an object thickness (19), the respective magnification ratio (18) being calculated from the linear function (21) given the prescribed object thickness (19).
9. The calibration method as claimed in claim 8, characterized in that the magnification ratio (18) is calculated as a function of the location.
10. The calibration method as claimed in claim 8 or 9, wherein edges (11,12) to be evaluated in the images (14,16) of the camera (3) are those in the case of which end faces of the calibration element (1) are invisible to the camera (3).
Dated this 9th day of January, 2009

HIRAL CHANDRAKANT JOSHI AqgtfTFOR TEXMAG GMBH VERTRIEBSGESELLSCHAFT
-13-

Documents:


Patent Number 259200
Indian Patent Application Number 74/MUM/2009
PG Journal Number 10/2014
Publication Date 07-Mar-2014
Grant Date 01-Mar-2014
Date of Filing 12-Jan-2009
Name of Patentee TEXMAG GMBH VERTRIEBSGESELLSCHAFT
Applicant Address ZEHNTENSTRASSE 17, 8800 THALWIL, SWITZERLAND.
Inventors:
# Inventor's Name Inventor's Address
1 BOESSMANN HARTMUT BUNZLAUER STRASSE 3, D-33803 STEINHAGEN, GERMANY.
PCT International Classification Number H04N17/00
PCT International Application Number N/A
PCT International Filing date
PCT Conventions:
# PCT Application Number Date of Convention Priority Country
1 08001442.6 2008-01-25 EPO
2 08001043.2 2008-01-21 EPO