Method for deterministic image inspection of printed products of a machine for processing printing substrates
11288793 · 2022-03-29
Assignee
Inventors
- Frank Schumann (Heidelberg, DE)
- Jan Krieger (Heidelberg, DE)
- Bennet Carstensen (Sandhausen, DE)
- Peter Eisele (Oestringen, DE)
Cpc classification
B41F33/0036
PERFORMING OPERATIONS; TRANSPORTING
International classification
Abstract
A method for inspecting printed products of a machine for processing printing substrates includes recording and digitizing produced printed products by using at least one image sensor and analyzing the printed products by using a computer to find potential defects. Defects in the printed products are detected by the computer by comparing the recorded and digitized printed image with a digital reference image, analyzing occurring deviations, and marking defective printed products in a manner suitable for removal. The computer spatially subdivides every digitized printed image into regions with deviations, calculates the time required to analyze every one of the regions, and terminates the analysis of a digitized printed image when the time required to analyze the regions exceeds a predefined value of time per digitized printed image.
Claims
1. A method for inspecting printed products of a machine for processing printing substrates, the method comprising: using at least one image sensor to record and digitize produced printed products and using a computer to analyze the printed products to find potential defects; using the computer to detect defects in the printed products by comparing the recorded and digitized printed image with a digital reference image, analyzing occurring deviations and marking defective printed products in a manner suitable for removal of the defective printed products; using the computer to spatially subdivide every digitized printed image into regions with deviations, calculate a time required to analyze every one of the regions, and terminate the analysis of a digitized printed image when the time required to analyze the regions exceeds a predefined value of time per digitized printed image; carrying out the comparison between the recorded digitized printed image and a digital reference image by creating a differential image between the printed image and the reference image and analyzing the created differential image; carrying out the spatial subdivision of every digitized printed image into regions with deviations by isolating regions with deviations in the differential image when the differential image is analyzed; and at least one of: subdividing regions with deviations having a relatively low filling grade in the differential image into individual smaller regions and analyzing the individual smaller regions, or using the computer to carry out position correction for the individual smaller regions in at least one of the recorded digitized printed image or the reference image, and defining the filling grade by a ratio of pixels with deviations in the differential image relative to a total number of pixels in a surrounding region of a deviation.
2. The method according to claim 1, which further comprises using the computer to calculate the time required to analyze every region immediately before analyzing a region in question, to terminate the analysis of a current digitized printed image when the predefined value of time is exceeded, and to mark deviations in not-yet-analyzed regions as print defects.
3. The method according to claim 1, which further comprises using the computer to calculate the time required for the analysis of all regions before the analysis is started, to only analyze regions in a current digitized printed image for which sufficient time exists regarding the predefined value of time, and to mark the deviations of non-analyzed regions as print defects.
4. The method according to claim 1, which further comprises not further analyzing regions with deviations having a relatively high filling grade in the differential image, marking the deviations having the relatively high filling grade as print defects, and defining the filling grade by the ratio of pixels with deviations in the differential image relative to the total number of pixels in the surrounding region of the deviation.
5. The method according to claim 1, which further comprises implementing the method separately for every one of the at least one image sensors, allowing time saved in the processing of a digitized printed image of an image sensor to be flexibly used by the computer for the processing of a digitized printed image of potential further image sensors.
6. The method according to claim 1, which further comprises providing the at least one image sensor as part of an inline image recording system of a sheet-fed printing machine, using the system to analyze the produced printed sheets as printed products in the sheet-fed printing machine, and using a waste deflector to remove printed sheets having been marked as defective.
Description
BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWING
(1)
(2)
(3)
(4)
(5)
DETAILED DESCRIPTION OF THE INVENTION
(6) Referring now in detail to the figures of the drawings, in which mutually corresponding elements have the same reference symbols, and first, particularly, to
(7) The method of the invention is schematically illustrated in
(8) Case 1: There are some very large image defects 11, 11a caused, for instance, by the wrong reference image 8. Yet when they are processed by using a GPU on a graphics card of the image processing computer 6, those few large deviations 11, 11a may not be distributed in such a way that the GPU is efficiently used to capacity.
(9) Case 2: There are too many deviations 11b for them to be eliminated within the predefined time. In most such cases, there are many very small deviations 11b.
(10) A combination of both cases is likewise possible. In the following paragraphs, the two cases are treated separately.
(11) If there are large deviations 11, 11a as in Case 1, there are two scenarios:
(12) Case 1a: An entirely wrong image was used. This means that many large deviations 11 with a high filing grade are created. In this context, the filling grade is understood as the ratio between pixels with deviations 11 and the number of pixels in the surrounding rectangle of the deviation 11.
(13) Case 1b: There are one or more large sharp-edged object(s) that have not been properly aligned. This means that a large deviation 11a with a low filling grade is created, namely only a thin deviation at the edge of the object.
(14) The method of the invention is based on the concept of not doing local position correction because in Case 1a, local position correction will not have any positive effect anyway. In Case 1 b, local position correction might have a positive effect. In accordance with the invention, a differentiation between the two cases is made on the basis of the filling grade of the deviations 11, 11a. This will be explained below in a corresponding way on the basis of examples for every case.
(15) Example of Case 1a:
(16) As shown in
(17) Example of Case 1 b:
(18) As shown in
(19) Thus, it is clear that all possibilities that occur in an image inspection process and are Case 1 may be converted into a Case 2 (like Case 1b) or need not even be further processed (like Case 1a).
(20) An example of Case 2, which is the one mainly to be processed and in which a large number of very small deviations 11b occurs from the start, is in turn shown in
(21) The method of the invention is now carried out for every contributing camera/image sensor 5 of the image recording system 2. For this purpose, the fact that the first part of the image inspection algorithm takes a comparatively constant period of time is exploited. This part is at the beginning of the image inspection algorithm. However, there also is a second part for which the required computation time fluctuates to a great extent. Now the concept is to divide this variable part into blocks of time and to estimate the computing time of these blocks of time in advance.
(22) Factors that influence the computing time of the deviation elimination process include: the surface area of the surrounding rectangle of a deviation 11, 11a, 11 b: A.sub.A the number of deviations 11, 11a, 11b: n the computing speed of the computing unit 6: m
(23) Factors that influence the available computing time are: the printing speed
(24) Furthermore, two facts are known from analyses using a GPU:
(25) 1. Computing time increases approximately linearly with the deviation size.
(26)
(27) 2. Computing time increases approximately linearly with the number of deviations. t.sub.g≅t.sub.s×n
(28) For a serial system such as a single CPU, the total time t.sub.g would be calculated as the total of the computing times of the n deviations 11, 11a, 11b:
(29)
(30) For a parallel system such as a GPU, the computing time is harder to predict if the distribution of the deviations 11, 11a, 11b to the individual cores of the GPU is not actively controlled. Therefore, only a very rough estimate of the computing time may be made for a GPU if the deviations 11, 11a, 11b are randomly allocated to the cores of the GPU. Due to the aforementioned fact, it therefore makes sense to take multiple steps to approximate the actual computing time.
(31) As mentioned above, the sequence of steps is schematically shown in
(32) The following is a brief example for a better understanding. At maximum printing speed, the sheet inspection system has 250 ms of computing time for every camera 5. The constant part of the computations takes 100 ms. At a GPU computing speed of m=16.5 Mpx/s, 5000 deviations that are 100*220 px.sup.2 in size may be calculated in the remaining 150 ms.
(33) In addition, further optimizations are possible. For instance, the constant m could be determined by a short test during every start-up phase of the image recording system 2. This means that it would not have to be defined as a global constant. A further concept is to use the total of the computing times of the cameras 5 per sheet to allocate more computing time to individual image parts.
(34) For example, due to a smaller paper format (edge trimming), the first calculation with camera 0 only takes a total of 190 ms instead of 250 ms. Then the remaining 60 ms might be added to the next camera image inspection so that the next camera 5 would then have 310 ms. If this inspection is then completed in 280 ms, the remaining 30 ms will in turn be transferred to the next camera image inspection until all four camera images have been processed.
(35) The following is a summary list of reference numerals and the corresponding structure used in the above description of the invention: 1 user 2 image recording system 3 control unit 4 printing machine 5 image sensor/camera 6 graphics processing unit 7 display 8, 8a, 8b digital target/reference image 9, 9a, 9b digitally recorded print/camera image 10, 10a, 10b differential image 11, 11a, 11b deviation