Image processing apparatus and image forming apparatus
The image processing device addresses biased image generation by using a comprehensive evaluation system to produce abnormal object images with reduced bias, facilitating accurate abnormality identification in printing devices.
Patent Information
- Application Number
- JP2023044760
- 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 devices generate biased abnormal object images due to biased feature amounts in collected images, leading to inaccurate identification of printing device abnormalities.
An image processing device that includes an abnormal object image collection unit, an abnormal object image generation unit, and a comprehensiveness evaluation unit to generate and evaluate abnormal object images for machine learning, ensuring reduced bias in feature amounts by performing data expansion and threshold-based evaluation.
The device generates abnormal object images with less bias, enabling accurate identification of printing device abnormalities through machine learning.
Smart Images

Figure 2024134447000001_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 an image of the print product (target image), and then identify the cause of the abnormality (abnormal part) based on the target image.
[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 Document 1).
[0004] On the other hand, some learning devices use generative adversarial networks (GANs) to generate images (see, for example, Patent Documents 2 and 3). [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2020-144785 A [Patent Document 2] JP 2018-139071 A [Patent Document 3] JP 2020-123097 A Summary of the Invention [Problem to be solved by the invention]
[0006] Generally, target images including abnormal object images such as unintended streaks or dots are obtained only when an abnormality occurs in a printing device, so when identifying the cause of an anomaly from an abnormal object image in the target image described above using a learning device that has undergone machine learning, it is conceivable to generate additional abnormal object images by performing data augmentation using a generative model such as the above-mentioned GAN, thereby obtaining the amount of training data (abnormal object images as input data) required for machine learning of the learning device that identifies the cause of anomaly. In this way, additional abnormal object images are generated from the collected abnormal object images by data augmentation, so that fewer abnormal object images need to be collected for machine learning.
[0007] In this case, machine learning of such a generative model is performed on the collected abnormal object images, and the machine-learned generative model generates training data for a learner that identifies the cause of the abnormality as described above.
[0008] However, if there is a bias in the collected abnormal object images (specifically, the features of the abnormal object images), the abnormal object images generated by the generative model will also be biased, and if machine learning is performed on such biased abnormal object images (training data), the cause of the anomaly may not be accurately identified.
[0009] The present invention has been made in consideration of the above problems, and aims to provide an image processing device and an image forming device that generate abnormal object images for machine learning with less bias in features. [Means for solving the problem]
[0010] The image processing device of the present invention is an image processing device that generates training data to be used in machine learning of an abnormality cause identification unit that identifies the cause of an abnormality of a printing device from abnormal object images caused by an abnormality of the printing device, and includes an abnormal object image collection unit that collects the abnormal object images, an abnormal object image generation unit that performs data extension on the collected abnormal object images to generate additional abnormal object images, and a comprehensiveness evaluation unit that (a) derives the variance or standard deviation of a predetermined feature for the collected abnormal object images as a first comprehensiveness index, and (b) determines whether the abnormal object image generation unit should perform data extension on the collected abnormal object images to generate additional abnormal object images based on the first comprehensiveness index.
[0011] The image forming apparatus according to the present invention includes the image processing device described above, the printing device, and an image reading device that performs image reading on a print product of the printing device to obtain a target image. The abnormal object image collecting unit collects the abnormal object images from the target image. Effect of the Invention
[0012] According to the present invention, an image processing device and an image forming device are provided that generate abnormal object images for machine learning with less bias in feature amounts.
[0013] 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]
[0014] [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 flowchart illustrating the operation of the image processing device shown in FIG. [Diagram 3]FIG. 3 is a flowchart illustrating the collection of abnormal object images and the comprehensiveness evaluation in FIG. [Figure 4] FIG. 4 is a diagram illustrating the coverage of abnormal object images. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0015] Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
[0016] 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 generates training data used in machine learning for an anomaly cause identification unit that identifies the cause of an anomaly in a specific printing device from an abnormal object image caused by the anomaly in the printing device. Here, the image processing device shown in Fig. 1 is an image forming device such as a multifunction peripheral.
[0017] The image processing apparatus shown in FIG. 1 includes an arithmetic processing unit 1, a storage unit 2, a communication unit 3, a display unit 4, an input unit 5, a printing unit 6, an image reading unit 7, and the like.
[0018] 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.
[0019] 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.
[0020] 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.
[0021] The printing device 6 prints an image on a printing paper using a predetermined printing method such as electrophotography or inkjet printing.
[0022] The image reading device 7 includes an image sensor and an optical system that focuses light from the document onto the image sensor, optically reads a document image from the document, and generates image data of the read image.
[0023] Here, the arithmetic processing device 1 operates as the abnormal object image collecting unit 11, the abnormal object image generating unit 12, the coverage evaluating unit 13, and the abnormality cause identifying unit 14, which are the above-mentioned processing units.
[0024] The abnormal object image collecting unit 11 collects a plurality of abnormal object images. For example, the image reading device 7 performs image reading on the print product of the printing device 6 having an abnormality to obtain a target image, and the abnormal object image collecting unit 11 detects an abnormal object image in the target image and stores it in the storage device 2.
[0025] The abnormal object image generating unit 12 performs data augmentation on the abnormal object images collected by the abnormal object image collecting unit 11 to generate additional abnormal object images.
[0026] In this embodiment, the abnormal object image generating unit 12 includes a learning device, executes machine learning of the learning device using the collected abnormal object images, and generates additional abnormal object images using the learning device after the machine learning. The learning device includes, for example, a generative adversarial network (GAN). Note that the learning device may include other generative models instead of GAN.
[0027] The comprehensiveness evaluation unit 13 (a) derives the variance or standard deviation of a specified feature of the collected abnormal objects as a first comprehensiveness index, and (b) determines whether or not the abnormal object image generation unit 12 generates the above-mentioned additional abnormal object image based on the first comprehensiveness index.
[0028] Furthermore, the coverage evaluation unit 13 determines whether or not to use the collected abnormal object images as training data for the abnormality cause identification unit 14, based on the above-mentioned first coverage index.
[0029] Specifically, if the first comprehensiveness index exceeds a predetermined threshold, the comprehensiveness evaluation unit 13 determines that the abnormal object image generation unit 12 will generate additional abnormal object images, and if not, determines that the collected abnormal object images will not be used as training data for the abnormality cause identification unit 14, and also determines that the abnormal object image generation unit 12 will not generate additional abnormal object images.
[0030] Furthermore, when the abnormal object image generation unit 12 generates an additional abnormal object image, the comprehensiveness evaluation unit 13 (a) derives the variance or standard deviation of a predetermined feature for the collected abnormal object images and the generated additional abnormal object image as a second comprehensiveness index, and (b) determines whether or not to use the collected abnormal object images and the generated abnormal object images as training data for the abnormality cause identification unit 14 based on the second comprehensiveness index.
[0031] Specifically, if the second comprehensiveness index exceeds the first comprehensiveness index, the comprehensiveness evaluation unit 13 determines that the collected abnormal object images and the generated additional abnormal object images will be used for the training data, and if not, determines that neither the collected abnormal object images nor the generated abnormal object images will be used for the training data.
[0032] Here, the above-mentioned feature amounts are the vertical width, horizontal width, aspect ratio, number of pixels, maximum difference in pixel values, etc. of the abnormal object image, and are normalized or standardized. In normalization, for example, scaling is performed within a range from a minimum value of 0 to a maximum value of 1, and in standardization, scaling is performed with an average of 0 and a standard deviation of 1. In addition, the first coverage index and the second coverage index are set to the variance or standard deviation of one or more predetermined feature amounts.
[0033] The anomaly cause identification unit 14 uses a machine learning-prepared learning device to identify the cause of an anomaly in the printing device 6 from an abnormal object image resulting from an anomaly in the printing device 6. Therefore, in this image processing device, training data (pairs of an abnormal object image and an anomaly cause) used for machine learning of this learning device is generated. For example, this learning device is a Convolutional Neural Network (CNN).
[0034] Next, a description will be given of the operation of the image processing device shown in Fig. 1. Fig. 2 is a flow chart illustrating the operation of the image processing device shown in Fig. 1.
[0035] First, the abnormal object image collection unit 11 acquires multiple target images (scanned images of print products) from, for example, the image reading device 7 and stores them in the memory device 2 (step S11), detects abnormal object images in the target images, and stores them in the memory device 2 (step S12).
[0036] Next, the coverage evaluation unit 13 performs a coverage evaluation of the collected abnormal object images (step S13).
[0037] Fig. 3 is a flowchart for explaining collection of abnormal object images and comprehensiveness evaluation in Fig. 2. First, the abnormal object image collector 11 reads a target image from the storage device 2 (step S21), binarizes the target image (step S22), and detects contours (edges) in the binarized target image (step S23).
[0038] Specifically, the pixels in the target image are classified into pixels (detected pixels) that have pixel values that differ from the median pixel value of all pixels in the target image by a predetermined threshold or more, and other pixels, to perform binarization and generate a binary image. The detected pixels in this binary image indicate the pixel positions of the abnormal object image in the target image (before binarization).
[0039] The abnormal object image collection unit 11 determines whether or not one contour has been detected (step S24), and if one contour has been detected, identifies the internal area of that contour in the target image (before binarization) as an abnormal object image.
[0040] On the other hand, if more than one contour is detected (i.e., if multiple contours are detected), the coverage evaluation unit 13 derives the degree of abnormality for each contour (step S25), selects the contour with the maximum degree of abnormality (step S26), and identifies the internal region of the selected contour in the target image (before binarization) as an abnormal object image. Note that the degree of abnormality is calculated, for example, as the product of the number of pixels in the abnormal object image and the maximum difference in pixel values.
[0041] In this manner, abnormal object images are collected from each of a plurality of target images.
[0042] Then, the comprehensiveness evaluation unit 13 derives a feature amount for each of the collected abnormal object images (step S27). Note that the position (upper and lower end positions, left and right end positions, etc.) and the number of pixels of the abnormal object image are specified, and the feature amount is appropriately derived from these values.
[0043] Next, the coverage evaluation unit 13 visualizes the distribution of the derived features for each of the multiple abnormal object images (step S28), and derives a coverage index (variance or standard deviation) for the set of the multiple abnormal object images (step S29).
[0044] Fig. 4 is a diagram for explaining the coverage of abnormal object images. The coverage evaluation unit 13 displays, for example, a distribution diagram as shown in Fig. 4 on the display device 4. When the coverage is low, the points indicating the abnormal object images are densely packed, and when the coverage is high, the points indicating the abnormal object images are dispersed. Note that the visualization method is not limited to this method.
[0045] In addition, the user may visually check the distribution of visualized features, judge whether or not to use the current abnormal object image as training data, and input the judgment result via the input device 5, and the comprehensiveness evaluation unit 13 may judge whether or not to use the current abnormal object image as training data according to the input judgment result.
[0046] When the coverage index is derived for the current plurality of abnormal object images in this manner, returning to FIG. 2, the coverage evaluation unit 13 determines whether or not the coverage index exceeds a predetermined first threshold value (step S14).
[0047] If the coverage index does not exceed the first threshold, the coverage evaluation unit 13 does not use the current abnormal object images as training data. Then, the process returns to step S11, and the abnormal object image collection unit 11 newly collects a plurality of abnormal object images, and the processes from step S12 onward are similarly performed on the new set of abnormal object images.
[0048] On the other hand, if the coverage index exceeds the first threshold, the coverage evaluation unit 13 determines whether the coverage index exceeds a predetermined second threshold (step S14). Note that the second threshold is set higher than the first threshold.
[0049] If the comprehensiveness index exceeds the second threshold, the features of the collected abnormal object images are sufficiently distributed, so that the abnormal object image generation unit 12 does not generate additional abnormal object images, and the comprehensiveness evaluation unit 13 uses the collected abnormal object images as training data for the abnormality cause identification unit 14.
[0050] On the other hand, if the coverage index does not exceed the second threshold, the abnormal object image generating unit 12 executes machine learning of the built-in learning device with the collected abnormal object images (and the known abnormality causes corresponding to the abnormal object images) (step S16). After the machine learning, the abnormal object image generating unit 12 generates additional abnormal object images with the learning device (step S17). Note that a learning device may be provided for each type of abnormality cause, and additional abnormal object images may be generated for each type of abnormality cause.
[0051] Thereafter, the coverage evaluation unit 13 performs a coverage evaluation of the collected abnormal object images and the generated additional abnormal object images in the same manner as in step S13 (step S18). However, here, a feature amount for each of the collected abnormal object images and a feature amount for each of the generated additional abnormal object images are derived, and a coverage index is calculated from the feature amounts.
[0052] Then, the comprehensiveness evaluation unit 13 determines whether the comprehensiveness index obtained in the comprehensiveness evaluation of step S18 is higher than the comprehensiveness index obtained in the comprehensiveness evaluation of step S13 (i.e., whether the comprehensiveness has been improved by the additional abnormal object image) (step S19).
[0053] If it is determined that the comprehensiveness has been improved by the additional abnormal object images, the comprehensiveness evaluation unit 13 uses the collected abnormal object images and the generated additional abnormal object images as training data for the anomaly cause identification unit 14.
[0054] On the other hand, if it is determined that the comprehensiveness has not been improved by the additional abnormal object images, the process returns to step S11, and the abnormal object image collection unit 11 newly collects a plurality of abnormal object images, and the processing from step S12 onwards is similarly performed on the new set of abnormal object images.
[0055] In this manner, training data for the anomaly cause identification unit 14 is generated, and then machine learning is performed on the training data by the anomaly cause identification unit 14. Then, after the machine learning, the anomaly cause identification unit 14 detects an abnormal object image from a target image obtained by reading an image of a print product by the printing device 6, and identifies the cause of the anomaly in the printing device 6 that corresponds to the abnormal object image.
[0056] As described above, according to the above embodiment, the abnormal object image collecting unit 11 collects abnormal object images. The abnormal object image generating unit 12 performs data extension on the collected abnormal object images to generate additional abnormal object images. The comprehensiveness evaluating unit 13 (a) derives the variance or standard deviation of a predetermined feature amount for the collected abnormal object images as a first comprehensiveness index, and (b) determines whether or not the abnormal object image generating unit 12 performs data extension on the collected abnormal object images to generate additional abnormal object images based on the first comprehensiveness index.
[0057] This allows the generation of abnormal object images for machine learning with less bias in feature values, and ultimately allows the cause of the abnormality to be accurately identified from the abnormal object images.
[0058] 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. [Industrial Applicability]
[0059] The present invention is applicable to image forming apparatuses such as multifunction peripherals. [Explanation of symbols]
[0060] 6 Printing device 7 Image reader 11. Anomaly Object Collection Department 12 Anomaly object generation unit 13 Comprehensive Evaluation Department 14 Abnormality cause identification section
Claims
1. An image processing device that generates training data to be used for machine learning of an anomaly cause identification unit that identifies a cause of an anomaly in a printing device from an abnormal object image caused by the anomaly in the printing device, an abnormal object image collection unit that collects the abnormal object images; an abnormal object image generating unit that performs data augmentation on the collected abnormal object images to generate additional abnormal object images; (a) deriving a variance or standard deviation of a predetermined feature amount for the collected abnormal object images as a first comprehensiveness index; (b) a comprehensiveness evaluation unit that determines, based on the first comprehensiveness index, whether or not the abnormal object image generation unit should perform data extension on the collected abnormal object images to generate additional abnormal object images; An image processing device comprising:
2. The image processing apparatus according to claim 1 , wherein the coverage evaluation unit determines whether or not the collected abnormal object images are to be used for the training data based on the first coverage index.
3. The image processing device according to claim 1, characterized in that, when the abnormal object image generation unit generates the additional abnormal object image, the comprehensiveness evaluation unit (a) derives a variance or standard deviation of a predetermined feature amount for the collected abnormal object images and the generated abnormal object image as a second comprehensiveness index, and (b) determines whether or not to use the collected abnormal object images and the generated abnormal object image for the training data based on the second comprehensiveness index.
4. The image processing device according to claim 1, characterized in that the abnormal object image generation unit includes a learning device, executes machine learning of the learning device using the collected abnormal object images, and generates additional abnormal object images using the learning device after the machine learning.
5. The image processing apparatus according to claim 4 , wherein the learning device includes a generative adversarial network.
6. 2. The image processing apparatus according to claim 1, further comprising an abnormality cause identifying unit.
7. An image processing device according to any one of claims 1 to 6, the printing device; an image reading device for reading an image of a print product of the printing device to obtain a target image; The abnormal object image collecting unit collects the abnormal object image from the target image; An image forming apparatus comprising:
Citation Information
Patent Citations
Generation model learning method, generation model learning apparatus and program
JP2018139071A
Learning device, learning method, and learning program
JP2020123097A
Image collection device, image collection system, image collection method, and image collection program
JP2020144785A
