Image processing apparatus and image forming apparatus
The image processing apparatus addresses the challenge of identifying print product abnormalities by using inverse filter processing and machine learning to generate precise training data, improving the accuracy of abnormality detection.
Patent Information
- Application Number
- JP2023044758
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-20
- Publication Date
- 2024-10-03
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing image processing systems face challenges in accurately identifying the cause of abnormalities in print products due to the influence of image reading characteristics, such as blur and distortion, which affect the quality of training data for machine learning.
An image processing apparatus that performs inverse filter processing on abnormal object images to account for image reading characteristics, using training data pairs to estimate the cause of abnormalities through machine learning with a convolutional neural network.
Accurately identifies the cause of abnormalities in print products by generating appropriate training data that accounts for image reading characteristics, enhancing the precision of abnormality detection.
Smart Images

Figure 2024134445000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to an image processing apparatus and an image forming apparatus. [Background technology]
[0002] In addition to the image to be printed, print products generated by multifunction devices and printers may contain abnormal objects due to various abnormal causes (abnormal parts) in the drum, exposure device, developing device, etc. For this reason, it is conceivable to read the image of the print product with a scanner to generate image data of the print product, and based on that image data, detect abnormal objects and identify the cause of the abnormality (abnormal part).
[0003] In some image processing devices, a learning device that has undergone machine learning is used to generate images and recognize images (see, for example, Patent Documents 1 and 2). [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2020-144785 A [Patent Document 2] JP 2020-052513 A Summary of the Invention [Problem to be solved by the invention]
[0005] As described above, it is conceivable to use a scanner to read an image of a print product including an abnormal object, generate image data of the print product, and identify the cause of the abnormality by image recognition as described above. In this case, a lot of training data (pairs of images of abnormal objects as input data and causes of the abnormality as output data) is required for machine learning.
[0006] However, since the images of abnormal objects obtained by image reading depend on the image reading characteristics (such as blurring and distortion) of the image reading device used for image reading, appropriate machine learning requires training data (images of abnormal objects) that take into account these image reading characteristics, but it is difficult to efficiently prepare such training data.
[0007] Furthermore, if machine learning is performed using training data created without taking such image reading characteristics into consideration, the target image (a read image of a printed product containing an actual abnormal object) used to identify the cause of the anomaly will be affected by such image reading characteristics, and the cause of the anomaly may not be identified accurately.
[0008] The present invention has been made in consideration of the above problems, and aims to provide an image processing device that generates appropriate training data for accurately identifying the cause of an abnormality, and an image forming device that accurately identifies the cause of an abnormality using an inference device that has been machine-learned using the training data. [Means for solving the problem]
[0009] The image processing device according to the present invention is an image processing device that identifies an abnormality cause of a printing device from a target image obtained by performing image reading of a print product of the printing device with an image reading device, and includes an abnormal object detection unit that detects an abnormal object image in the target image and performs inverse filtering on the abnormal object image based on a filter that indicates the image reading characteristics of the image reading device, and an inference device that estimates the abnormality cause from the abnormal object image after the inverse filtering. The inference device is a learning device that has undergone machine learning with training data, and estimates the abnormality cause from the abnormal object image after the inverse filtering. The training data is a pair of an abnormal object image as input data and an abnormality cause as output data, and the abnormal object image as input data in the training data has been subjected to the inverse filtering.
[0010] An image forming apparatus according to the present invention includes the above-mentioned image processing device, the printing device, and the image reading device. Effect of the Invention
[0011] According to the present invention, it is possible to obtain an image processing device that generates appropriate training data for accurately identifying the cause of an abnormality, and an image forming device that accurately identifies the cause of an abnormality using an inference device that has been machine-learned using the training data.
[0012] The above and other objects, features and advantages of the present invention will become more apparent from the following detailed description taken in conjunction with the accompanying drawings. [Brief description of the drawings]
[0013] [Figure 1] FIG. 1 is a block diagram showing a configuration of an image processing device according to an embodiment of the present invention. [Diagram 2] FIG. 2 is a block diagram showing the configuration of the abnormality cause identifying unit 11 in FIG. [Diagram 3] FIG. 3 is a diagram for explaining the operation of the abnormal object detection unit 21. As shown in FIG. [Figure 4] FIG. 4 is a block diagram showing a configuration of the inference unit setting unit 12 in FIG. [Diagram 5] FIG. 5 is a diagram illustrating an example of a CTF filter. [Figure 6] FIG. 6 is a diagram showing an example of an image for CTF measurement. [Figure 7] FIG. 7 is a diagram for explaining the derivation of the CTF value. [Figure 8] FIG. 8 is a flowchart illustrating the operation of the inference unit setting unit 12 in the image processing device shown in FIG. [Figure 9] FIG. 9 is a flowchart illustrating the operation of the abnormality cause identifying unit 11 in the image processing device shown in FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0014] Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
[0015] Fig. 1 is a block diagram showing the configuration of an image processing device according to an embodiment of the present invention. The image processing device shown in Fig. 1 is an image forming device such as a multifunction peripheral, and includes a processor 1, a storage device 2, a communication device 3, a display device 4, an input device 5, a printing device 6, an image reading device 7, etc.
[0016] The arithmetic processing device 1 includes a computer, and executes an image processing program on the computer to operate as various processing units. Specifically, the computer includes a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), and the like, and operates as a specific processing unit by loading a program stored in the ROM or storage device 2 into the RAM and executing the program on the CPU. The arithmetic processing device 1 may also include an ASIC (Application Specific Integrated Circuit) that functions as a specific processing unit.
[0017] The storage device 2 is a non-volatile storage device such as a flash memory, and stores an image processing program and data necessary for the processing described below. The image processing program is stored in, for example, a non-transitory computer-readable recording medium, and is installed in the storage device 2 from the recording medium.
[0018] The communication device 3 is a device that performs data communication with an external device, such as a network interface, a peripheral device interface, etc. The display device 4 is a device that displays various information to the user, such as a display panel such as a liquid crystal display, etc. The input device 5 is a device that detects user operations, such as a keyboard, a touch panel, etc.
[0019] The printing device 6 prints an image on a printing paper using a predetermined printing method such as electrophotography or inkjet printing.
[0020] The image reading device 7 includes an image sensor and an optical system that collects light from a document onto the image sensor, optically reads a document image from the document, and generates image data of the read image.
[0021] Here, the arithmetic processing device 1 operates as the anomaly cause identifying section 11 and the inference device setting section 12, which are the above-mentioned processing sections.
[0022] The abnormality cause identifying section 11 identifies the cause of the abnormality in the printing device 6 from a target image obtained by executing image reading of a print product of the printing device 6 by the image reading device 7 .
[0023] Fig. 2 is a block diagram showing the configuration of the abnormality cause identification unit 11 in Fig. 1. As shown in Fig. 2, the abnormality cause identification unit 11 includes an abnormal object detection unit 21, one or more inference units 22-1 to 22-N, and an integrator 23.
[0024] The abnormal object detection unit 21 (a) detects an abnormal object image in a target image, and (b) performs inverse filtering on the abnormal object image based on a filter (a CTF filter described later) that indicates the image reading characteristics of the image reading device 7.
[0025] FIG. 3 is a diagram for explaining the operation of the abnormal object detection unit 21. For example, as shown in FIG. 3, the abnormal object detection unit 21 uses a plurality of spatial filters having different detection sensitivities depending on the direction for each of a plurality of sizes in order to detect a specific shape (such as a line such as a straight line or a curve, a point, a circle, or a polygon), and generates a feature map including the shape of the logical sum of the filter outputs of the plurality of spatial filters. For example, when a line shape appears only in the filter output of a certain spatial filter and no shape appears in the filter output of all the other spatial filters, a feature map including the line shape is generated. Also, for example, when a line shape appears in the filter output of a plurality of spatial filters, a feature map including points at the intersections of the linear shapes (i.e., point shapes that are the logical product of the linear shapes) is generated. For this spatial filter, for example, a second-order differential spatial filter, a two-dimensional Gabor filter, or the like is used. Then, the abnormal object detection unit 21 extracts an image of a position area indicated by the thus generated feature map from the target image as an abnormal object image.
[0026] For example, a one-dimensional horizontal second-order differential filter is used as a filter for vertical streaks (white streaks or black streaks), a one-dimensional horizontal second-order differential filter is used as a filter for horizontal streaks (white streaks or black streaks), and a one-dimensional horizontal second-order differential filter and a one-dimensional vertical second-order differential filter are used as a filter for points.
[0027] Each inference device 22-i (i=1, . . . , N) estimates the cause of anomaly from the abnormal object image after the inverse filter process described above. Specifically, the inference device 22-i is a learning device that has undergone machine learning such as deep learning using training data, and estimates the cause of anomaly from the abnormal object image after the inverse filter process. For example, each inference device 22-i is a Convolutional Neural Network (CNN).
[0028] Here, the training data is a pair of an abnormal object image as input data and an abnormality cause as output data. Furthermore, the abnormal object image as input data in the training data is subjected to inverse filtering based on a filter that indicates the image reading characteristics of the image reading device 7.
[0029] When there are multiple inference devices 22-1 to 22-N, for example, the input data to the inference devices 22-1 to 22-N is a group of abnormal object images classified by a predetermined feature item (for example, a group of abnormal object images classified by the size of the abnormal object image).
[0030] The integrator 23 integrates the multiple inference results obtained by the multiple inference devices 22-1 to 22-N using a predetermined method (majority vote, class membership probability, etc.) to derive a final inference result. Note that when there is only one inference device 22-1 to 22-N (N=1), the integrator 23 is not necessary.
[0031] In addition, the inference unit setting unit 12 (a) generates an abnormal object image (an abnormal object image after the above-mentioned inverse filter processing) as input data in the above-mentioned training data, (b) executes the above-mentioned machine learning for the inference unit 22-i with the abnormal object image, and sets the result of the machine learning in the inference unit 22-i.
[0032] Fig. 4 is a block diagram showing the configuration of the inference unit setting unit 12 in Fig. 1. As shown in Fig. 4, the inference unit setting unit 12 includes an abnormal object detection unit 41, an image generation unit 42, a machine learning unit 43, and a CTF filter generation unit 44.
[0033] Here, the inference unit setting unit 12 generates a plurality of base images corresponding to a plurality of abnormality causes (abnormal parts), and generates a plurality of abnormal object images corresponding to a plurality of abnormality causes by performing the above-mentioned inverse filter processing on the base images. Specifically, the abnormal object detection unit 41 extracts a plurality of abnormal object images (base images) from a plurality of target images (learning images) for each type of abnormality cause in the same manner as the abnormal object detection unit 21, and the image generation unit 42 performs an inverse filter processing based on a CTF filter specified by the CTF filter generation unit 44 on the extracted base images to generate a plurality of abnormal object images after the inverse filter processing, stores them in the storage device 2 as training data together with the type of abnormality cause, and provides them to the machine learning unit 43. FIG. 5 is a diagram showing an example of a CTF filter. As shown in FIG. 5, the CTF filter has filter coefficients (CTF values) for spatial frequencies in the main scanning direction and spatial frequencies in the sub-scanning direction.
[0034] The target image may be, for example, an image created by image editing software, or an image read by the image reading device 7, another scanner, an image forming device, etc. This makes it possible to easily generate a large number of base images. The target image may be an image that is superimposed with noise such as blurring or distortion caused by the image reading characteristics (CTF characteristics, etc.) of the image reading device 7, or an image that is not superimposed with such noise.
[0035] Here, the image reading characteristic is a distribution of contrast transfer function (CTF) for spatial frequency in the main scanning direction and spatial frequency in the sub-scanning direction. Since the optical system of the image reading device 7 has a variation in the depth of field and the degree of blurring differs for each image reading device 7, the CTF distribution specific to the image reading device 7 is measured here.
[0036] In the inverse filter process, the base image is converted into a two-dimensional spatial frequency space of spatial frequencies in the main scanning direction and the sub-scanning direction, and the converted base image (spatial frequency distribution) is multiplied by the inverse of the filter coefficient. A predetermined correction constant may be multiplied together with the inverse of the filter coefficient. In this case, the correction constant is set based on, for example, a change in the variance value of the abnormal object image (the variance value of the pixel values of the pixels in the abnormal object image) before and after the inverse filter process.
[0037] FIG. 6 is a diagram showing an example of a CTF measurement image. FIG. 7 is a diagram explaining derivation of a CTF value. The CTF filter generation unit 44 of the inference unit setting unit 12 (a) prints, for example, a CTF measurement image as shown in FIG. 6 (that is, a plurality of first stripe patterns 101X-1, 101X-2, . . . , 101X-M of a plurality of spatial frequencies in the main scanning direction, a plurality of second stripe patterns 101Y-1, 101Y-2, . . . , 101Y-M of a plurality of spatial frequencies in the sub-scanning direction, a white reference pattern 102, and a black reference pattern 103) by the printing device 6, and (b) generates a CTF filter from the plurality of printed first stripe patterns. (c) a distribution of contrast transfer functions for spatial frequencies in the main scanning direction is determined based on the density distribution of the first stripe patterns 101X-i, and a distribution of contrast transfer functions for spatial frequencies in the sub-scanning direction is determined based on the density distribution of the second stripe patterns 101Y-i, and (d) a CTF filter is generated based on the determined distributions of contrast transfer functions in the main scanning direction and the sub-scanning direction. The image generator 42 performs the above-mentioned inverse filter process with the CTF filter.
[0038] Here, the first stripe pattern 101X-i and the second stripe pattern 101Y-i are black and white stripe patterns. Then, as shown in Fig. 7, for example, the CTF filter generating unit 44 (a) specifies the density DminRef of the white reference pattern 102 and the density DmaxRef of the black reference pattern 103, (b) specifies the density DminX(i) of the white area (area between two adjacent black areas) and the density DmaxX(i) of the black area in the density distribution of each first stripe pattern 101X-i, and (c) derives a CTF value CTFx(i) for the spatial frequency fx(i) of the first stripe pattern 101X-i according to the following formula:
[0039] CTFx(i)=(DminX(i)-DmaxX(i)) / (DminRef-DmaxRef)
[0040] In this way, the distribution of CTF values in the main scanning direction is determined. The distribution of CTF values in the sub-scanning direction is determined in the same manner.
[0041] Here, the CTF filter is expressed as a predetermined function (for example, a quadratic function: Y=aX^2+bX+c; a, b, c: parameters) and is identified by the least squares method or the like from the CTF value of each identified spatial frequency.
[0042] When the image reading device 7 generates RGB color image data as the read image, the CTF filter is set individually for each RGB color plane and applied individually to each color plane of the abnormal object image.
[0043] Next, the operation of the image processing device shown in FIG. 1 will be described.
[0044] (a) Setting of the inference unit 22-i
[0045] FIG. 8 is a flowchart illustrating the operation of the inference unit setting unit 12 in the image processing device shown in FIG.
[0046] In the inference unit setting section 12, the CTF filter generating section 44 first generates a CTF filter as described above, and sets it in the image generating section 42 (step S11).
[0047] Thereafter, when multiple target images for machine learning are prepared in a storage device 2 or the like, the abnormal object detection unit 41 acquires the multiple target images (step S12) and detects abnormal object images (base images) in the multiple target images (step S13).
[0048] The image generating unit 42 performs inverse filtering on each abnormal object image using the above-mentioned CTF filter (step S14). Here, each abnormal object image is transformed from the position domain to the spatial frequency domain by Fourier transform or the like, inverse filtering is performed after the transformation, and after the inverse filtering, it is transformed from the spatial frequency domain to the position domain by inverse Fourier transform or the like. For example, for each coordinate value in the spatial frequency domain, the reciprocal of the filter coefficient of the CTF filter is multiplied by the spatial frequency distribution of the abnormal object image.
[0049] The image generating unit 42 determines whether or not to perform data extension based on user settings, etc. (step S15), and if it is determined that data extension is to be performed, performs data extension (step S16).
[0050] Here, in the data augmentation, for example, an additional new abnormal object image is generated by performing image processing such as rotation, enlargement, and reduction on the generated abnormal object image (the abnormal object image after the CTF filter). Also, an additional new abnormal object image may be generated from the generated abnormal object image by using a generative adversarial network (GAN) or the like.
[0051] Then, as described above, sufficient abnormal object images (a predetermined number of abnormal object images) are generated as input data for the training data, and the machine learning unit 43 uses the training data to perform machine learning for each inference device 22-i, and applies the results of the machine learning (such as each parameter of the CNN) to the inference device 22-i (step S17).
[0052] (b) Identifying the cause of the abnormality
[0053] FIG. 9 is a flowchart illustrating the operation of the abnormality cause identifying unit 11 in the image processing device shown in FIG.
[0054] First, the anomaly cause identifying unit 11 prints a halftone solid image by the printing device 6 and causes the printing device 6 to output the print product (step S31). At this time, if there is an abnormality in the printing device 6, an abnormal object (white streak, dot, color unevenness, etc.) appears in the print product. Note that if there is no abnormality in the printing device 6, no abnormal object appears in the print product.
[0055] Next, the abnormality cause identifying unit 11 causes the image reading unit 7 to read an image of the printed product, and obtains a target image (i.e., an image of the printed product including an abnormal object) (step S32). For example, the printed product is set in the image reading unit 7 by the user, and image reading of the printed product is performed according to the user's operation.
[0056] Then, the abnormal object detection unit 21 of the anomaly cause identification unit 11 detects an abnormal object image in the target image (step S33), performs the above-mentioned inverse filter processing on the detected abnormal object image (step S34), and inputs the abnormal object image after the inverse filter processing to the inference unit 22-i.
[0057] The CTF filter used in this inverse filtering process may be one generated when setting up the inference unit 22-i described above, or may be newly generated in the same manner as when setting up the inference unit 22-i described above.
[0058] Next, each inference device 22-i, which is a machine-learned learning device, identifies the cause of the abnormality corresponding to the abnormal object image (step S35), and the integrator 23 identifies and outputs the final inference result (i.e., the finally identified cause of the abnormality) from the inference results of the inference devices 22-1 to 22-N.
[0059] In this manner, the cause of the abnormality in the printing device 6 is identified.
[0060] As described above, according to the above embodiment, the abnormal object detection unit 21 detects an abnormal object image in a target image, and performs inverse filtering on the abnormal object image based on a filter that indicates the image reading characteristics of the image reading device 7. The inference unit 22-i estimates the cause of the abnormality from the abnormal object image after the inverse filtering. The inference unit 22-i is a learning unit that has undergone machine learning using training data, and estimates the cause of the abnormality from the abnormal object image after the inverse filtering. The training data is a pair of an abnormal object image as input data and an abnormality cause as output data, and the abnormal object image as input data in the training data has been subjected to the above-mentioned inverse filtering.
[0061] This provides training data from which the influence on the read image caused by the CTF characteristics of the image reading device 7 has been removed, providing training data appropriate for identifying the cause of an anomaly. Ultimately, the inference device 22-i that has been machine-learned using the training data can accurately identify the cause of an anomaly.
[0062] It should be noted that various changes and modifications to the above-described embodiments will be apparent to those skilled in the art. Such changes and modifications may be made without departing from the spirit and scope of the subject matter and without diminishing its intended advantages. In other words, such changes and modifications are intended to be included within the scope of the claims.
[0063] For example, in the above embodiment, the parameters of the function expressing the CTF filter (e.g., the above-mentioned a, b, and c) may be automatically calculated using a formula or table based on rules, or may be calculated by machine learning. Furthermore, the functional form of the function is not limited to a quadratic function.
[0064] In the above embodiment, the specified DminX(i) and DmaxX(i) may be the average or median of the densities of a plurality of white regions and the average or median of the densities of a plurality of black regions, respectively. Similarly, the density DminRef of the white reference pattern 102 and the density DmaxRef of the black reference pattern 103 may be the average or median of the densities at a plurality of positions of the white reference pattern 102 and the black reference pattern 103, respectively.
[0065] Further, in the above embodiment, inverse filtering is performed on the detected abnormal object image, but instead, inverse filtering may be performed on the target image, and an abnormal object image (i.e., an abnormal object image after inverse filtering) may be detected from the target image after inverse filtering.
[0066] Furthermore, in the above embodiment, the detection and extraction of abnormal object images is not limited to the above.
[0067] Furthermore, in the above embodiment, the CTF filter generation unit 44 generates a CTF filter for the image reading characteristics of the image reading device 7. Alternatively, instead of providing the CTF filter generation unit 44, the characteristic data (functions, tables, etc.) of the CTF filter may be stored in the storage device 2 and read out from the storage device 2 for use. [Industrial Applicability]
[0068] The present invention is applicable to image forming apparatuses such as multifunction peripherals. [Explanation of symbols]
[0069] 6 Printing device 7 Image reader 12. Inference Machine Setting Section 21 Abnormal object detection unit 22-1~22-N Reasoner
Claims
1. 2. An image processing apparatus for identifying a cause of an abnormality in a printing apparatus from a target image obtained by executing image reading of a print product of the printing apparatus using an image reading device, an abnormal object detection unit that detects an abnormal object image in the target image and performs an inverse filter process on the abnormal object image based on a filter that indicates the image reading characteristic of the image reading device; an inference device that infers a cause of the abnormality from the abnormal object image after the inverse filter process, The inference device is a learning device that has undergone machine learning using training data, and estimates the cause of the abnormality from the abnormal object image after the inverse filter processing; The training data is a pair of an abnormal object image as input data and an abnormality cause as output data; The abnormal object image as input data in the training data is subjected to the inverse filtering process; An image processing device comprising:
2. 2. The image processing device according to claim 1, further comprising an inference machine setting unit that (a) generates the abnormal object image as input data in the training data, and (b) executes the machine learning and sets a result of the machine learning in the inference machine.
3. the image reading characteristic is a distribution of a contrast transfer function with respect to a spatial frequency in a main scanning direction and a spatial frequency in a sub-scanning direction, the inference unit setting unit (a) prints a plurality of first stripe patterns of a plurality of spatial frequencies in a main scanning direction and a plurality of second stripe patterns of a plurality of spatial frequencies in a sub-scanning direction by the printing device, (b) reads the printed plurality of first stripe patterns and the plurality of second stripe patterns by the image reading device, (c) specifies a distribution of contrast transfer functions for spatial frequencies in the main scanning direction based on a density distribution of the first stripe patterns, and specifies a distribution of contrast transfer functions for spatial frequencies in the sub-scanning direction based on a density distribution of the second stripe patterns, and (d) generates the filter based on the specified distributions of contrast transfer functions in the main scanning direction and the sub-scanning direction; 3. The image processing device according to claim 2,
4. 2. The image processing apparatus according to claim 1, wherein the image reading characteristic is a distribution of a contrast transfer function with respect to a spatial frequency in a main scanning direction and a spatial frequency in a sub-scanning direction.
5. 2. The image processing apparatus according to claim 1, wherein the inverse filter processing involves multiplication by the inverse of a filter coefficient in the filter.
6. An image processing device according to any one of claims 1 to 5, the printing device; The image reading device; An image forming apparatus comprising:
Citation Information
Patent Citations
Model parameter learning device, control device and model parameter learning method
JP2020052513A
Image collection device, image collection system, image collection method, and image collection program
JP2020144785A
