METHOD AND DEVICE FOR CHECKING VALUE DOCUMENTS, AND METHOD AND DEVICE FOR GENERATING CHECKING PARAMETERS FOR USE IN A METHOD FOR CHECKING VALUE DOCUMENTS
20230274600 · 2023-08-31
Inventors
Cpc classification
G06V10/267
PHYSICS
G06V10/457
PHYSICS
G06V10/751
PHYSICS
G07D7/207
PHYSICS
G06F18/214
PHYSICS
G06V10/25
PHYSICS
G06V30/414
PHYSICS
International classification
G07D7/207
PHYSICS
Abstract
A method is for generating element templates for forming templates when checking value documents of a specified value document type having at least two specified manufacturing elements, which, where applicable, partially overlap each other, and the element templates correspond to the manufacturing elements. Digital training images of training value documents of the specified value document type and a digital reference image of a reference value document of the specified value document type are used, which each have pixels to which pixel data are respectively assigned.
Claims
1.-23. (canceled)
24. A method for generating element templates for forming templates when checking value documents of a specified value document type, in particular bank notes, wherein value documents of the specified value document type have at least two specified manufacturing elements, in particular print layers and/or security elements, which, where applicable partly, overlap each other, and the element templates correspond to the manufacturing elements, wherein digital training images of training value documents of the specified value document type and a digital reference image of a reference value document of the specified value document type, which each have pixels to which pixel data are respectively assigned, are used, having the following steps: for the training images, respectively ascertaining a position of the manufacturing elements, and assigning pixels of the respective training image to the manufacturing elements using the reference image and taking into account the respectively ascertained positions of the manufacturing elements, for each of the manufacturing elements, generating a first element template which includes those pixels that have been assigned to the respective manufacturing element in all the training images, and for each of the manufacturing elements, generating a second element template which includes those pixels that have been assigned to the respective manufacturing element in one or several of the training images.
25. The method according to claim 24, in which the training value documents and the reference value document comprise or are preferably finished and/or freshly printed value documents of the specified value document type, in particular of the same currency and/or denomination.
26. The method according to claim 24 comprising the further step of: generating a background template which includes those pixels that have not been assigned to any of the manufacturing elements in any of the training images and background template pixel data assigned thereto, respectively, which is ascertained from pixel data which are assigned to the respective pixels of the training images.
27. The method according to claim 24, in which, when ascertaining the position of the respective manufacturing elements in a respective one of the training images, the position is ascertained with respect to the same positional reference system or relative to at least one of the manufacturing elements in a specified one of the training images or relative to at least one of the manufacturing elements in the reference image.
28. The method according to claim 24, in which, when assigning pixels of the respective training image to the manufacturing elements for a respective pixel of the respective training image, a degree of match between a pixel environment of the pixel and a pixel environment of a corresponding pixel in the reference image are ascertained, wherein the respective pixel environments of the respective pixel in the training image and in the reference image are offset in accordance with the respective relative position of the respective manufacturing element in the training image to that in the reference image, and the respective pixel of the training image is assigned to one of the manufacturing elements in dependence on the ascertained match degrees according to a specified assignment criterion.
29. The method according to claim 24, in which, when assigning pixels of the respective training image to the manufacturing elements for a respective pixel of the respective training image, a first degree of match between a first pixel environment of the pixel and a first pixel environment of a pixel in the reference image are ascertained, wherein the first pixel environments in the training image and in the reference image are offset, in accordance with the respective relative position of the respective manufacturing element in the training image, to that in the reference image, and the respective pixel of the training image is assigned, in a first assignment, to one of the manufacturing elements in dependence on the ascertained first match degrees according to a specified first assignment criterion, and for a respective pixel of the respective training image, a second degree of match between a second pixel environment of the pixel and a second pixel environment in the reference image is ascertained, wherein the second pixel environments in the training image and in the reference image are offset, in accordance with the respective relative position of the respective manufacturing element in the training image, to that in the reference image, and the respective pixel of the training image is assigned, in a second assignment, to one of the manufacturing elements in dependence on the ascertained second match degrees according to a specified second assignment criterion, and the second pixel environments respectively comprise more pixels than the first pixel environments.
30. The method according to claim 29, in which the first element template for the respective manufacturing elements includes only those pixels which, in all the training images, were assigned to the respective manufacturing element in the first assignment, and wherein the second element template for the respective manufacturing elements includes those pixels which, in at least one of the training images, were assigned to the respective manufacturing element in the second assignment.
31. The method according to claim 24, wherein, when generating the element templates, first element template pixel data is assigned to the pixels included in the first element template and second partial template pixel data is assigned to the pixels included in the second element template, wherein the first and/or second element template pixel data is ascertained from pixel data assigned to the respective pixels of the training images or correspond to the pixel data assigned to the respective pixels of the training images.
32. The method according to claim 24, in which for providing the training images, digital images of several training value documents of the specified value document type are captured and/or for providing the reference image, a digital image of a reference value document of the specified value document type is captured.
33. A computer program with program code means for carrying out the method according to claim 24 when the program is executed on a computer.
34. A computer-readable data carrier with program code which is executable by a computer, so that the computer executes a method according to claim 24.
35. A method for checking value documents of a specified value document type, which respectively have two specified manufacturing elements, in particular print layers and/or security elements, using element templates, generated in particular by means of a method according to claim 24, for the manufacturing elements, having the steps of: providing a digital value document image of a value document of the specified value document type to be checked, which comprises the pixel which respectively have pixel data assigned thereto, for the provided value document image, ascertaining a position of the manufacturing elements, ascertaining a template for the digital value document image using the element templates for the manufacturing elements and the ascertained positions of the manufacturing elements, checking the digital value document image using the ascertained template.
36. The method according to claim 35, in which, when ascertaining the template, pixels of the template that are present in the element templates displaced in accordance with the ascertained positions of the manufacturing elements are respectively assigned template pixel data that are ascertained for the manufacturing elements in dependence on element template pixel data of corresponding pixels of element templates displaced in accordance with the respectively ascertained positions.
37. The method according to claim 35, in which for at least one of the manufacturing elements, a first and a second element template are used, in which, when ascertaining the template, to pixels of the template which are present in the first element templates displaced in accordance with the ascertained positions of the manufacturing elements, template pixel data are assigned which were ascertained using element template pixel data of the respective pixels in the first element templates displaced according to the ascertained positions of the manufacturing elements, for the remaining pixels which are present in at least one of the second element templates displaced in accordance with the ascertained positions of the manufacturing elements, template pixel data is ascertained using the element template pixel data of respectively corresponding pixels of the at least one of the second element templates displaced in accordance with the ascertained positions of the manufacturing elements.
38. The method according to claim 35, in which a background template is used that includes pixels which are not included in any of the element templates for the manufacturing elements, and in which, when ascertaining the template for the digital value document image, for the remaining pixels which are present in the background template, template pixel data is respectively ascertained using the element template pixel data of a respective corresponding pixel of the background template.
39. The method according to claim 35, in which when providing the value document image, a digital value document image of a value document to be checked is captured by means of an image capture unit and stored in a memory unit.
40. A method for processing, in particular checking and/or counting and/or sorting and/or destroying, value documents of a specified value document type which respectively have two specified manufacturing elements, in particular print layers and/or security elements, in which value documents are individually transported past an image capture unit for capturing a digital value document image, a digital value document image is captured during the transport of a respective value document past the unit, and is then checked, in real time, with a method according to claim 35.
41. A computer program with program code means for carrying out the method according to claim 35 when the program is executed on a computer.
42. A computer-readable data carrier with program code which is executable by a computer, so that the computer executes a method according to claim 35.
43. A device for generating element templates for forming templates when checking value documents of a specified value document type, wherein value documents of the specified value document type have at least two specified manufacturing elements, in particular print layers and/or security elements, which, where applicable, partially overlap each other, with a memory unit for storing digital training images of the specified value document type, a reference image of a reference value document of the specified value document type and generated element templates, wherein the device is configured to carry out a method according to claim 24 using the training images and the reference image and to store the generated element templates in the memory unit.
44. A device for checking value documents, in particular bank notes, which respectively have at least two specified manufacturing elements, in particular print layers and/or security elements, using element templates for the manufacturing elements, in particular generated in a method according to claim 35, comprising: an evaluation unit which has at least one memory in which the element templates are stored and an interface for providing a digital value document image, wherein the evaluation unit is adapted to carry out the method for the manufacturing elements.
45. The device according to claim 44, which further has an image capture unit for capturing a digital value document image of a value document to be checked, which is connected to the interface for providing a digital value document via a signal connection.
46. A device for processing, in particular checking and/or counting and/or sorting and/or destroying, value documents of a specified value document type, in particular bank notes which respectively have at least two specified manufacturing elements, in particular print layers and/or security elements, comprising a feeding unit for feeding individual or singled value documents to be processed, an output unit with at least one output portion for receiving processed value documents, a transport unit for transporting individual or singled value documents from the feeding unit to the output unit, and a checking device according to claim 44, wherein the image capture unit of the checking device is arranged at the transport path and is adapted in such a way that digital value document images of value documents to be checked which are transported past the image capture unit are captured during the transport and are provided for use in the checking device.
Description
[0066]
[0067]
[0068]
[0069]
[0070]
[0071]
[0072]
[0073]
[0074]
[0075]
[0076]
[0077] A value-document processing device 10 in
[0078] It has a feeding unit 14 for feeding value documents 12, an output unit 16 for delivering or receiving processed, i.e. sorted, value documents, and a transport unit 18 for transporting singled value documents from the feeding unit 14 to the output unit 16.
[0079] The feeding unit 14 in the example comprises an input pocket 20 for a value-document stack and a singler 22 for singling value documents 12 out of the value-document stack in the input pocket 20 and feeding singled value documents to the transport unit 18.
[0080] The output unit 16 in the example comprises three output portions 24, 25 and 26 into which processed value documents can be sorted depending on the intermediate result of the processing, in the example a check. In the example, each of the portions comprises a stack pocket and a stacking wheel (not shown) by means of which fed value documents can be deposited in the stack pocket. In other embodiment examples, one output portion may be replaced by a unit for destroying bank notes.
[0081] The transport unit 18 has at least two, in the example three, branches 28, 29 and 30 at whose ends respectively one of the output portions 24 or 25 or 26 is arranged, and, at the branching points, gates 32 and 34 controllable by actuating signals, by means of which value documents are feedable to the branches 28 to 30 and thus to the output portions 24 to 26 in dependence on actuating signals.
[0082] At a transport path 36, defined by the transport unit 18, between the feeding unit 14, in the example more precisely the singler 22, and the first gate 32 after the singler 22 in the transport direction T there is arranged a sensor unit 38 which captures physical properties of the value documents when value documents are being transported past and which forms sensor signals rendering the capture results which represent sensor data. In this example, the sensor unit 38 has an image capture unit 40 with an optical remission sensor that captures a remission color image of the value document, and other sensors 42, symbolized only by boxes, for physical properties of a value document.
[0083] A control and evaluation unit 46 is connected via signal connections to the sensor unit 38 and the transport unit 18, in particular the gates 32 and 34. In connection with the sensor unit 38 it classifies a value document in dependence on the signals or sensor data of the sensor unit 38 for the value document into one of specified sorting classes. These sorting classes can be specified, for example, in dependence on a state value ascertained by means of the sensor data and in dependence on an authenticity value also ascertained by means of the sensor data. As state values, for example, the values “fit for circulation” or “not fit for circulation” can be used, as authenticity values the values “forged”, “suspect” or “authentic”. In dependence on the ascertained sorting class, it controls by emitting actuating signals the transport unit 18, here more precisely the gates 32 or 34, such that the value document is outputted, in accordance with its sorting class ascertained in the classification into an output portion of the output unit 16, said portion being assigned to the class. The assignment to one of the specified sorting classes or the classification is effected here in dependence on criteria specified for the judgement of the state and the judgement of the authenticity, which criteria depend on at least a part of the sensor data.
[0084] The control and evaluation device 46 has for this purpose in particular, besides at least one corresponding interface 44 for the sensor unit 38 or the sensors thereof, in particular of the image capture unit 40, a processor 48 and a memory 50 connected with the processor 48, in which memory at least one computer program with program code is stored, upon whose execution the processor 48 controls the device, and evaluates the sensor signals of the sensor unit 38, in particular for ascertaining a sorting class of a processed value document. Furthermore, program code is stored therein, upon whose execution the processor 48 controls the device and, according to the evaluation, drives the transport unit 18.
[0085] The interface 44, the processor 50 and the memory 48 or a portion of the memory 48 in which a corresponding computer program and method parameters are stored form an evaluation unit 47 within the meaning of the present disclosure. In this example, the evaluation unit 47 evaluates the signals of the remission sensor 40 separately from those of the other sensors. The processor 50 and other portions of the memory 48 may also perform other functions in addition, for example, controlling the value document processing device 10.
[0086] The remission sensor 40 is configured to capture an RGB remission image of a value document as it is transported past the remission sensor 40 by means of the transport unit 18, and to generate a digital image therefrom which is evaluated by the evaluation unit 47.
[0087] In dependence on the value document properties, the control and evaluation unit 46, precisely the evaluation unit 47, respectively ascertains, using the sensor data of the different sensors in partial evaluations, whether or not the ascertained value document properties represent an indication of the state or the authenticity of the value document. Subsequently, corresponding data can be stored in the control and evaluation device 46, for example in the memory 50, for later use. In dependence on the partial evaluations, the control and evaluation unit 46 then ascertains, as an overall result for the check according to a specified overall criterion, a sorting class and forms the sorting or actuating signal for the transport unit 18 in dependence on the ascertained sorting class.
[0088] For processing value documents 12, value documents 12 inserted into the input pocket 20 as a stack or singly are singled by the singler 22 and fed in singled form to the transport unit 18, which transports the singled value documents 12 past the sensor unit 38. The latter captures the properties of the value documents 12, sensor signals being formed which render the properties of the respective value document. The control and evaluation device 46 captures the sensor signals or sensor data, ascertains in dependence thereon a sorting class, in the example a combination of an authenticity class and a state class, of the respective value document, and controls the gates in dependence on the result such that the value documents are transported in accordance with the ascertained sorting class into an output portion assigned to the respective sorting class.
[0089] The evaluation unit 47 together with the image capture unit 40 form an example for a checking device for checking value documents of a specified value document type which respectively have two specified manufacturing elements, in particular print layers and/or security elements. Accordingly, the computer program includes instructions for executing a method for checking value documents of a specified value document type, in particular bank notes, which respectively have two specified manufacturing elements, in particular print layers and/or security elements, using element templates for the manufacturing elements, in particular generated by means of an adaptation method described in the following. In the checking method, a digital value document image of a value document to be checked is captured by means of the remission sensor 40 and provided in the evaluation unit 47 in a corresponding portion of the memory 50. For the provided value document image, positions of the manufacturing elements are ascertained and a template for the digital value document image is ascertained in real time using at least two of the element templates for the manufacturing elements and the ascertained positions of the manufacturing elements as well as, in this example, a background template. Thereafter, the digital value document image is checked using the ascertained template.
[0090] For providing element templates, there serves an adaptation device shown very schematically in
[0091] An example of a digital image 60 of a value document 12 of a specified value document type having two specified manufacturing elements 62 and 64 in the form of print layers is shown very schematically in
[0092] The digital image 60 includes pixels 66, which in the example are arranged on a square grid and represent locations in the digital image and thus on the imaged value document. The image is pre-processed in such a way that it only represents the value document 12 over the full area, i.e. the edges of the value document in the image run along the corresponding edge pixels. This pre-processing, in this example, is carried out for all images so that the images contain corresponding representations.
[0093] Shown are, marked by different patterning, two regions 62 and 64 which show the different manufacturing elements, in the example print layers, which do not overlap in this example.
[0094]
[0095] An example of a training image of a value document in the form of a bank note, more precisely a 5 Euro banknote, is shown in
[0096] For generating element templates, the following exemplary adaptation method is used, which is very schematically illustrated in
[0097] In the adaptation method, digital training images of training value documents of the specified value document type and a digital reference image of a reference value document of the specified value document type are used. In the example, finished and clean, preferably freshly printed value documents of the specified value document type are used for this, which preferably have variations in the position of the manufacturing elements. Preferably, the value documents also include those with great differences in the position of the manufacturing elements.
[0098] The training images and the reference image can, for example, be captured with the processing device 10 described, in particular the remission sensor 40, for which purpose the digital images fed to the evaluation unit 47 are stored. These can be transmitted to the adaptation device 70 by means of a memory medium or via a data connection not shown and stored there in the memory unit 72 and thus be provided. The digital images respectively have the same pixel numbers and pixel arrangements and show the entire value document.
[0099] In step S10, for each of the training images and preferably the reference image, a position of the manufacturing elements is ascertained.
[0100] The positions are ascertained with respect to the same positional reference system, which is given by the edges of the value document in the image or, since the image only shows the entire value document, by the edges of the image or corresponding axes.
[0101] For ascertaining the positions, in the present example, anchor regions 62A and 64A are used which were previously established for value documents of the specified value document type and are characteristic for the manufacturing element and, in particular, are always visible. In this embodiment example, respectively only one anchor region is used to simplify the representation, in other embodiment examples, preferably at least two or more anchor regions are used for each of the manufacturing elements. The anchor regions usually contain several pixels, but for simplicity's sake they are represented by only one pixel in the very schematic
[0102] In the value document image shown in
[0103] In the present example, the position is described by a position vector in a rectangular coordinate system with axes parallel to the edges of the value document, the first component of which is the x-coordinate of the pixel and the second coordinate of the y-pixel.
[0104] In the following step S12, for the respective training images, pixels are assigned to the manufacturing elements or manufacturing elements are assigned to pixels, wherein the reference image is used and the position of the manufacturing elements is taken into account in the training images.
[0105] In the example, for each of the training images, the following sub-steps are carried out for each of the specified manufacturing elements:
[0106] To take the position into account, a displacement vector is ascertained for the respective manufacturing element, which corresponds to the difference of the ascertained position of the respective manufacturing element in the training image and the position of the respective manufacturing element in the reference image or the difference of the position vectors.
[0107] For the assignment of pixels, a specified pixel environment of a respective pixel in the respective training image is compared with a specified pixel environment of a corresponding pixel of the reference image, the position of a respective manufacturing element being taken into account. The pixel environments for a pixel are defined the same in each case.
[0108] In the example, this is done by comparing the pixel environment around the respective pixel in the respective training image with the corresponding pixel environment of the corresponding pixel in the reference image under the hypothesis that the respective pixel in the training image belongs to one of the manufacturing elements. This means that the pixel environment of the pixel in the training image is compared with a pixel environment of a corresponding pixel in the reference image, wherein the difference in the positions of the pixel environments in the training image and in the reference image corresponds to the displacement vector, i.e. the difference of the position of the respective manufacturing element in the training image and that in the reference value image.
[0109] In relation to the training image, this means that for a given one of the manufacturing elements, the training image is displaced or offset relative to the reference image by the displacement vector but in the opposite direction, i.e. in the direction and by a distance, which is given by the difference in the positions of the manufacturing element in the training image and that in the reference value image, and pixel environments and pixels in the displaced training image and the reference image are compared.
[0110] The comparison is made by ascertaining a match degree of the pixel properties of the pixels of the pixel environments. For each pixel environment of a respective pixel, for example a 5×5 pixel environment of the respective pixel including the pixel itself, for example a degree of match of the pixel data for the pixel environment in the displaced training image with those in the reference image is ascertained; in the example, a 2D correlation for the pixel data of the pixel environment with the pixel is ascertained as the match degree.
[0111] In the examples in
[0112] After these match degrees have been ascertained for each of the specified manufacturing elements, it is then decided by means of an assignment criterion, in dependence on the ascertained match degrees, whether the pixel can be assigned to one of the manufacturing elements and, if so, to which of the manufacturing elements. The assignment criterion in the present example is to assign that manufacturing element that has the highest degree of match. However, this assignment is only made if the match degree exceeds a specified minimum value. If this is not the case, an assignment of a manufacturing element is not made.
[0113] In the following step S14, for each of the manufacturing elements, a first element template and a second element template are generated.
[0114] This is done in such a way that the first element template for the respective manufacturing element includes those pixels that were assigned to the respective manufacturing element in all the training images. The element template pixel data for the pixel is ascertained depending on the corresponding pixel data of the training images. For a soiling check, for example, as pixel data there can be established lower and upper limits for permissible pixel data values, which result from the minimum and maximum, respectively, of the corresponding pixel data of the corresponding pixels in the training images.
[0115] For each of the manufacturing elements, a second element template is generated such that it includes those pixels that were assigned to the respective manufacturing element in one or more training images. Here too, the element template pixel data for the pixel can be ascertained in dependence on the pixel data for corresponding pixels in the training images in which the assignment was found. In a soiling check, for example, as pixel data there can be established lower and upper limits for permissible pixel data values, which are ascertained from the minimum and maximum, respectively, of the corresponding pixel data of the pixels in the training images.
[0116] In step S16, a background template is generated that includes those pixels that are not included in any of the element templates, in particular none of the first and second element templates. These are assigned data as pixel data, which is ascertained using the pixel data of corresponding pixels in the training images. In a soiling check, for example, as pixel data there can be established lower and upper limits for permissible pixel data values, which result from the minimum and maximum, respectively, of the corresponding pixel data of the pixels in the training images.
[0117] In step S18, in this example, the element templates and the background template or corresponding data are stored in the memory 72. They can also be transmitted by means of a mobile memory or via a data connection to another device, which then preferably stores and particularly preferably uses them.
[0118] In the operation of the device 10, in the example, a checking method for checking value documents of the specified value document type is carried out. For this purpose, element templates, in this example the element templates ascertained with the previously described method, and, in this embodiment example in the same memory 48, instructions of a computer program are stored in the evaluation unit 47 in the memory 48, upon whose execution the checking method is carried out by the evaluation unit or its processor. For the checking method, the ascertained element templates are stored in the memory 48. The checking method is carried out in real time, with the value documents being transported past the image capture unit 40 at a rate of more than 25 value documents per second, preferably more than 30 value documents per second.
[0119] The checking method uses respectively two element templates for the manufacturing elements and one background template. These are generated with the adaptation method described above.
[0120] A first element template for a manufacturing element, in the example a print layer, defines which pixels of an image of a value document 12 to be checked are to be uniquely assigned to this manufacturing element, in the example of this print layer, and which element template pixel data are to be used for the respective pixels of an individual template to be generated.
[0121] A second element template for a manufacturing element, in the example a print layer, establishes which pixels of an image of a value document 12 to be checked are to be considered as belonging to this manufacturing element or this print layer according to a specified criterion and which element template pixel data are to be used for ascertaining the template pixel data for the respective pixels for the value document image.
[0122] The background template is assigned only to the value document 12 as a whole and establishes which template pixel data is to be used for pixels that are not to be assigned or associated with one of the manufacturing elements or one of the print layers and are thus not included in any of the element templates. Such a background template therefore exists only once for a value document type.
[0123] The checking method is very schematically illustrated in
[0124] As described at the beginning, value documents 12 to be checked are transported past the sensor unit 38 and thus the remission sensor 40 by the transport unit 18.
[0125] In step S20, for a value document transported past the remission sensor 40, a digital image of the value document, i.e. a value document image, is captured and, where applicable after preprocessing, is transmitted to the evaluation unit 47. There it provided in the memory 48 for checking. In such a pre-processing, for example, the actual image of the value document could be aligned, when the value document was not perfectly aligned relative to the remission sensor upon the capture of the value document image and, accordingly, the longitudinal and transverse edges are not parallel to the corresponding axes of the coordinate system.
[0126] In step S22, positions of the manufacturing elements are ascertained for the provided value document image, which is effected according to step S10.
[0127] In step S24, an individual template for the digital value document image is then generated using the element templates for the manufacturing elements and the ascertained positions of the manufacturing elements as well as the background template.
[0128] For this, the element templates for the manufacturing elements are displaced in accordance with to the ascertained positions of the respective manufacturing elements. So, in the example of the value document image in
[0129] First, the first element templates are used. Pixels of the template, which are present in the first element templates displaced in accordance with the ascertained positions of the manufacturing elements, are assigned template pixel data which are ascertained in dependence on element template pixel data of the first element templates displaced in accordance with the ascertained positions of the manufacturing elements. More precisely, in the case where the pixel is present in only one of the displaced element templates, the corresponding element template pixel data is used for the pixel as template pixel data. If, on the other hand, the pixel in the value document is found in both element templates displaced according to the positions, the template pixel data is ascertained from the corresponding element template pixel data. In the example of a soiling check, as the lower limit, for example, the minimum of the element template pixel data of the corresponding pixels could be ascertained and as the upper limit the maximum.
[0130] For the remaining pixels of the template which are present in at least one of the second element templates displaced in accordance with the ascertained positions of the manufacturing elements, template pixel data is ascertained using the element template pixel data of a respective corresponding pixel of the at least one of the second element templates which are displaced in accordance with the ascertained positions of the manufacturing elements. The procedure is not fundamentally different from that for the first element templates.
[0131] Finally, for the remaining pixels of the template that are not present in the first or second element templates but only in the background template, template pixel data is respectively ascertained using the background template pixel data of a respectively corresponding pixel of the background template. With that, a complete template for the entire value document is present.
[0132] In step S26, the digital value document image is then checked using the ascertained template. For this, methods known in the art that require a template can be used. In a soiling check there can be checked, for example, whether the pixel data for the pixels of a value document image lie within an interval whose limits are given by the template pixel data of the corresponding pixel of the template. If the pixel data lies below the interval, there is soiling.
[0133] As a result, a signal can be emitted in step S28 that renders the result of the check.
[0134] A second embodiment example differs from the first embodiment example in that in the adaptation method, the assignment of the pixels to manufacturing elements and the subsequent creation of the element templates is modified. Steps S12 and S14 are replaced by steps S12′ and S14′. The adaptation method is very schematically illustrated in
[0135] In step S12′, two assignments are carried out in the example, which differ in the size of the pixel environment and the assignment criterion. The respective ascertainment of the match degree is made analogously to the first embodiment example.
[0136] More precisely, a first assigning of the respective pixel of the training image is made taking into account the respective position of the manufacturing elements to one of the manufacturing elements in dependence on the ascertained first match degrees according to the specified first assignment criterion. The pixel environment is, for example, a 3×3 pixel environment of the pixel including the pixel.
[0137] For the second assigning or the second assignment, for pixels of the training image, a second degree of match of a second pixel environment of the respective pixel of the training image with a corresponding pixel environment of a corresponding pixel of the reference image is ascertained, taking into account the respective ascertained position of the manufacturing elements. The second pixel environment can be, for example, a 5×5 pixel environment.
[0138] The second assignment is made analogously to the first assignment, wherein the second assignment criterion may differ from the first assignment criterion by the choice of the minimum value. The minimum value can, however, also be selected as the same.
[0139] In the modified step S14′, the first and second element templates are generated based on these assignments.
[0140] More specifically, for each of the manufacturing elements, a first element template is generated using the corresponding first assignment, which includes those pixels that have been assigned to the respective manufacturing element in the first assignment in all the training images. As element template pixel data, an average value over the pixel data of the respective pixel in the training images is used. In other embodiment examples, the element template pixel data may also comprise a lower and upper limit for an interval of permissible values, which may be given by the minimum and the maximum of the pixel data of the respective pixel in the training images, respectively.
[0141] For each of the manufacturing elements, there is further generated a second element template using the corresponding second assignment, which includes those pixels that were assigned in at least one of the training images to the respective manufacturing element in the second assignment. As element template pixel data, an average value over the pixel data of the respective pixel in the training images is used. In other embodiment examples, the element template pixel data may also comprise a lower and upper limit for an interval of permissible values, which may be given by the minimum and the maximum of the pixel data of the respective pixel in the training images, respectively.
[0142] The other steps are unchanged compared to the first embodiment example.
[0143] The corresponding checking method remains unchanged, except for the use of the other element templates.
[0144] This variant is illustrated by the example of the value document type in
[0145] The pixels included in the first element templates and the element template pixel data assigned to these pixels characterize points on the training value documents where the respective print layer is dominant, i.e. that the respective print layer overlays all other possibly present print layers at this point so that the other print layers are quasi not visible.
[0146]
[0147]
[0148]
[0149]
[0150]
[0151] Further embodiment examples differ from the previously described embodiment examples in that as element template pixel data and background template pixel data, values are used, that are a function of the pixel data of the corresponding pixels in the training images in which they were assigned to the manufacturing element and the background, respectively. For example, the values could be average values over the pixel data of the pixel. These templates could be suitable for a different type of soiling check, but also for an authenticity check. Possible acceptable tolerances during checking may be specified by the checking method.
[0152] In other embodiment examples, instead of interval limits, specified points of an interval, for example its center, and its length could be used as pixel data.
[0153] Still further embodiment examples may differ from the previously described embodiments in that the pixel surroundings may be selected to be greater. The selection may depend on the resolution of the digital images and the sizes of visible structures on value documents of the specified value document type.
[0154] Further embodiment examples differ from the previously described embodiment examples in that the control and evaluation unit 46 is divided into two parts, an evaluation unit corresponding to the evaluation unit 47 and a control device separate from the latter which receives signals from the evaluation unit and uses them for control.
[0155] In still other embodiment examples, the adaptation device may be part of a value document processing device. For example, the evaluation unit of the device of the first embodiment example could have a corresponding computer program that is executed in an adaptation mode of the value document processing device, in which no value documents are processed.