IMAGE PROCESSING APPARATUS, CONTROL METHOD THEREOF, AND NON-TRANSITORY COMPUTER-READABLE STORAGE MEDIUM
20220329700 · 2022-10-13
Inventors
Cpc classification
H04N1/00029
ELECTRICITY
H04N1/00034
ELECTRICITY
H04N1/29
ELECTRICITY
G03G15/5062
PHYSICS
H04N1/40006
ELECTRICITY
International classification
H04N1/00
ELECTRICITY
Abstract
This disclosure provides an image processing apparatus that is connected to a printing apparatus, sequentially receives a plurality of recording media on which printing was performed by the printing apparatus, and inspects a quality of images formed on the recording media, wherein the image processing apparatus receives a reference image, acquires a plurality of scanned images by sequentially scanning the recording media output from the printing apparatus and having the images to be inspected recorded thereon, receives phase information of an image bearing member of the printing apparatus, detects, for each of the scanned images, a defect on the scanned image by comparing a pixel value of the reference image and a pixel value of the scanned image, and determines whether a defect has reproducibility based on positions of defects on the recording media calculated from the phase information.
Claims
1. An image processing apparatus that is to be connected to a printing apparatus, that sequentially receives a plurality of recording media on which printing was performed by the printing apparatus, and that inspects a quality of images formed on the recording media, the image processing apparatus comprising: a reference image reception unit configured to receive a reference image; a scanned image reception unit configured to acquire a plurality of scanned images by sequentially scanning the recording media output from the printing apparatus and having the images to be inspected recorded thereon; a phase information reception unit configured to receive phase information of an image bearing member of the printing apparatus; a defect detection unit configured to, for each of the scanned images, detect a defect on the scanned image by comparing a pixel value of the reference image and a pixel value of the scanned image; and a determination unit configured to determine whether a defect has reproducibility based on positions of defects on the recording media calculated from the phase information.
2. The apparatus according to claim 1, wherein the image bearing member of the printing apparatus includes a photosensitive drum that employs an electrophotographic recording method, an intermediate transfer belt configured to transfer a toner image formed on the photosensitive drum, and a transfer roller configured to transfer a toner image on the intermediate transfer belt onto a recording medium, and the phase information is information that is obtained by the printing apparatus synchronizing with the image processing apparatus by communication with the printing apparatus, and associates a rotational phase of the image bearing member with a scanning pixel position of a scanner of the scanned image reception unit.
3. The apparatus according to claim 1, wherein the determination unit masks a region on the image bearing member corresponding to a pixel region of the scanned images as a region for determining whether the defect has reproducibility.
4. The apparatus according to claim 1, wherein the determination unit excludes a region on the image bearing member corresponding to a paper white region of the reference image from a region for determining whether the defect has reproducibility.
5. The apparatus according to claim 1, wherein if defect position displacement between the scanned images aligned with the reference image is larger than a predetermined threshold, and defect position displacement between the scanned images not aligned with the reference image is smaller than a predetermined threshold, the determination unit determines that the defect is a defect of a sensor that acquires the scanned images of the scanned image reception unit.
6. The apparatus according to claim 1, wherein the scanned image reception unit includes a correction unit configured to correct an image obtained by scanning, according to position displacement due to conveyance of the recording medium on which the image is recorded.
7. A method of controlling an image processing apparatus that is to be connected to a printing apparatus, that sequentially receives a plurality of recording media on which printing was performed by the printing apparatus, and that inspects a quality of images formed on the recording media, the method comprising: (a) receiving a reference image; (b) acquiring a plurality of scanned images by sequentially scanning the recording media output from the printing apparatus and having the images to be inspected recorded thereon; (c) receiving phase information of an image bearing member of the printing apparatus; (d) for each of the scanned images, detecting a defect on the scanned image by comparing a pixel value of the reference image and a pixel value of the scanned image; and (e) determining whether a defect has reproducibility based on positions of defects on the recording media calculated from the phase information.
8. A non-transitory computer-readable storage medium storing a program which, when read and executed by a computer, causes the computer to execute the steps of a method of controlling an image processing apparatus that is to be connected to a printing apparatus, that sequentially receives a plurality of recording media on which printing was performed by the printing apparatus, and that inspects a quality of images formed on the recording media, the method comprising: (a) receiving a reference image; (b) acquiring a plurality of scanned images by sequentially scanning the recording media output from the printing apparatus and having the images to be inspected recorded thereon; (c) receiving phase information of an image bearing member of the printing apparatus; (d) for each of the scanned images, detecting a defect on the scanned image by comparing a pixel value of the reference image and a pixel value of the scanned image; and (e) determining whether a defect has reproducibility based on positions of defects on the recording media calculated from the phase information.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0009]
[0010]
[0011]
[0012]
[0013]
[0014]
[0015]
[0016]
[0017]
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
[0024]
[0025]
[0026]
[0027]
[0028]
[0029]
[0030]
[0031]
[0032]
[0033]
[0034]
[0035]
[0036]
[0037]
[0038]
[0039]
[0040]
[0041]
[0042]
[0043]
[0044]
[0045]
DESCRIPTION OF THE EMBODIMENTS
[0046] Hereinafter, embodiments will be described in detail with reference to the attached drawings. Note, the following embodiments are not intended to limit the scope of every embodiment. Multiple features are described in the embodiments, but limitation is not made to embodiments that requires all such features, and multiple such features may be combined as appropriate. Furthermore, in the attached drawings, the same reference numerals are given to the same or similar configurations, and redundant description thereof is omitted.
First Embodiment
[0047] In the first embodiment, a method for determining whether there is reproducibility of a defect from a scanned image, even when a reproduction position of the defect varies depending on a cycle length of a photosensitive drum and an intermediate transfer belt, a paper length, an image formation timeline, or the like in a printing apparatus, will be described.
[0048]
[0049] The image processing apparatus 100 of the present embodiment is connected to the printing apparatus 190, and performs inspection processing for checking the presence or absence of the defect in the paper, that is, the printed matter, that the printing apparatus 190 forms the image on and sends through the conveying path 192. That is, the image processing apparatus 100 functions as an inspection processing apparatus. The image processing apparatus 100 internally includes a CPU 101, a RAM 102, a ROM 103, a main memory 104, an image scanning unit 105 (hereinafter referred to as a scanner), an interface (I/F) 106 with the printing apparatus, a general-purpose interface (I/F) 107, a user interface (UI) panel 108, and a main bus 109. The image processing apparatus 100 further includes a printed matter conveying path 110 connected to the conveying path 192 of the printing apparatus 190, an output tray 111 of a printed product that has passed the inspection, and an output tray 112 of the printed matter that has been found to have a defect and failed the inspection. A switching unit (not illustrated) for switching which of the output trays 111 and 112 the printed matter is to be discharged is provided on the conveying path 110, and the switching unit operates according to the control of the CPU 101. It should be noted that classification of the printed matter is not limited to two types of pass and fail, and the printed matter may be further classified.
[0050] The CPU 101 is a processor that collectively controls each part in the image processing apparatus 100. The RAM 102 functions as a main memory, a work area, and the like of the CPU 101. The ROM 103 stores a group of programs executed by the CPU 101. The main memory 104 stores an application executed by the CPU 101, data used for image processing, and the like. The image scanning unit (hereinafter simply referred to as a scanner) 105 can scan one side or both sides of the printed matter sent from the printing apparatus 190 on the conveying path 110 and acquire it as image data. The printing apparatus I/F 106 is connected to the printing apparatus 190, and can synchronize the processing timing of the printed matter with the printing apparatus 190 and communicate the operating status of each other. The general-purpose I/F 107 is a serial bus interface such as USB or IEEE 1394, and the user can take out data such as a log and take some data into the image processing apparatus 100. The UI panel 108 is, for example, a liquid crystal display, functions as a user interface of the image processing apparatus 100, and displays a current status and settings, to inform the user. Further, the UI panel 108 includes a touch panel or buttons, to receive instructions from the user. The main bus 109 connects parts of the image processing apparatus 100 with each other. In addition, although omitted from
[0051] As a whole, the image processing apparatus 100 performs the inspection processing described below on the basis of the image data of the printed matter scanned by the scanner 105 while conveying on the conveying path 110 the printed matter sent from the printing apparatus 190. As a result of the inspection processing, the printed matter that has passed the inspection is conveyed to the output tray 111 for pass, and the printed matter that has failed the inspection is conveyed to the output tray 112 for fail. Thus, only those having a confirmed quality can be collected in the output tray 111 as products for delivery.
[0052] With reference to
[0053] After the print job is submitted, the printing apparatus 190 forms the toner image according to a well-known electrophotographic recording method on the photosensitive drum 193 that rotates in synchronization with the conveyance of the printing paper, and transfers the formed toner image to the intermediate belt 194. Then, the toner image on the intermediate belt 194 is transferred to the surface of the conveyed printing paper by the voltage-applied transfer roller 195.
[0054] When scratches 201 and 202 illustrated in
[0055]
[0056] A reference image reception unit 301 receives a reference image that is stored in advance in the RAM 102 or the main memory 104 and is an inspection reference for the printed matter. The reference image reception unit 301 outputs the received reference image to a defect detection unit 305. It should be noted that the reference image is an ideal image assuming that the image recorded on the recording medium without defects is scanned. Then, the reference image is sent from the printing apparatus 190 or the print server 180 at the time of start processing in an inspection mode, and is stored in the RAM 102 or the main memory 104.
[0057] A phase information reception unit 302 receives phase information stored in the RAM 102 or the main memory 104 and outputs the phase information to a reproducibility determination unit 306. Here, the phase information is information associating a rotational phase of the image bearing member obtained by synchronizing the printing apparatus 190 and the image processing apparatus 100 by communicating with the printing apparatus 190 through the printing apparatus I/F 106, and a scanning pixel position of the scanner 105.
[0058] A scanned image reception unit 303 causes the scanner 105 to scan the printed matter that is discharged from the printing apparatus 190 in synchronization with the signal input through the printing apparatus I/F 106 and is conveyed on the conveying path 110. Then, the scanned image reception unit 303 receives the image data obtained by scanning by the scanner 105, and outputs the received image data as the scanned image to an image correction unit 304.
[0059] The image correction unit 304 corrects conveying position displacement of the printed matter conveyed on the conveying path 110 and position displacement due to the bending of the paper, for the scanned image. The image correction unit 304 outputs the corrected image to the defect detection unit 305.
[0060] The defect detection unit 305 generates defect information indicating the defect on the corrected image from the defect image generated on the basis of a difference between the corrected image and the reference image. Then, the defect detection unit 305 outputs the generated defect information to the reproducibility determination unit 306.
[0061] The reproducibility determination unit 306 calculates a generation position of the defect on the image bearing member, such as the photosensitive drum 193 and the intermediate belt 194, for the defect generated on a plurality of the scanned images on the basis of the phase information, and determines the reproducibility of the defect detected in between the scanned images. Then, the reproducibility determination unit 306 outputs the determination result to the UI panel 108 or the printing apparatus 190.
Operation of Image Processing Apparatus 100
[0062] An operation of the image processing performed by the image processing apparatus 100 will be described.
[0063] In step S401, the reference image reception unit 301 receives the reference image that is the inspection reference for the printed matter stored in the RAM 102 or the main memory 104. The reference image may be set as, for example, the scanned image of the printed matter visually determined to have no defects in advance. In the present embodiment, the reference image illustrated in
[0064] In step S402, the phase information reception unit 302 receives the phase information stored in the RAM 102 or the main memory 104. In the present embodiment, conveyance timing of the printed matter and the correspondence between the rotational phase of the image bearing member including the photosensitive drum 193 and the intermediate belt 194 and the scanning pixel position of the scanner 105 are received as the phase information.
Here, Y.sub.s is the number of pixels in a height direction of the scanned image, and ΔY.sub.s is a value obtained by converting a time interval between an end and a start of the scanning into pixels by the scanned image resolution. ΔY.sub.ini is a value obtained by converting a time interval between a time when the job is submitted and a start of a first scanned image into pixels by the scanned image resolution. ΔY.sub.sp is a value obtained by converting a time interval from the start of the scanning until a time when the printed matter is conveyed on the scanner 105 into pixels by the scanned image resolution. Y.sub.d and Y.sub.b are values obtained by converting a period of the photosensitive drum 193 and the intermediate belt 194 into pixels by the scanned image resolution.
[0065]
[0066] In step S403, the scanned image reception unit 303 acquires the image data (scanned image) by scanning the printed matter. In the present embodiment, it is assumed that the scanned image illustrated in
[0067] In step S404, the image correction unit 304 corrects the conveying position displacement of the printed matter conveyed on the conveying path 110 and the position displacement due to the bending of the paper, for the scanned image. Details of this image correction processing will be described later with reference to
[0068] In step S405, the defect detection unit 305 detects a pixel region having a large difference value on the defect image as the defect, from the defect image generated on the basis of the difference between the corrected image and the reference image. Details of defect detection processing will be described later with reference to
[0069] In step S406, the reproducibility determination unit 306 calculates from the phase information a position where the defect occurs on the image bearing member, such as the photosensitive drum 193 and the intermediate belt 194, which corresponds to defect pixel positions detected in the scanned images, and determines the reproducibility of the detected defect between the scanned images. Details of reproducibility determination processing will be described later with reference to
Operation of Image Correction Unit 304
[0070] Next, the details of the image correction processing in the above step S404 will be described with reference to a flowchart of
[0071] In step S801, the image correction unit 304 corrects the conveying position displacement of the printed matter conveyed on the conveying path 110 and the position displacement due to the bending of the paper, for the scanned image. The image correction unit 304 of the present embodiment detects feature points on the reference image and the scanned image by a known template matching technique, and calculates an affine transformation matrix for movement and rotation to align pixel positions between the feature points. Then, the image correction unit 304 uses the calculated affine transformation matrix, to generate an image in which the pixel position of the scanned image is aligned with the pixel position of the reference image. In the present embodiment, as illustrated in
[0072] In step S802, the image correction unit 304 generates an image obtained by trimming the alignment image in the image region of the reference image, and ends the processing. In the present embodiment, the corrected image illustrated in
Operation of Defect Detection Unit 305
[0073] Next, the details of the defect detection processing in the above step S405 will be described with reference to a flowchart of
[0074] In step S1001, the defect detection unit 305 generates a difference image ΔIMG having a pixel value of an absolute value of a difference between the pixel value of the corrected image and the pixel value of the reference image. A defect image IMG.sub.def is generated by performing binarization processing on the difference image ΔIMG at a preset threshold I.sub.th. Since it is the binarization processing, one bit is sufficient for each pixel constituting the defect image IMG.sub.def. Here, the threshold I.sub.th is a threshold for detecting the defect region, and in the present embodiment, I.sub.th=10, but it may be set by the user. In the present embodiment, a binarized image illustrated in
[0075] In step S1002, the defect detection unit 305 labels each defect region on the defect image IMG.sub.def and ends the processing. In the present embodiment, defect region numbers “1”, “2”, and “3” are labeled to the defects 701, 702, and 703 illustrated in
Operation of Reproducibility Determination Unit 306
[0076] Next, the details of the reproducibility determination processing in step S406 of
[0077] In step S1201, the reproducibility determination unit 306 generates an image bearing member region image IMG.sub.cur indicating the position of the defect detected on a scanned image IMG.sub.scan on the image bearing member, such as the photosensitive drum 193 and the intermediate belt 194. Specifically, the reproducibility determination unit 306 calculates a pixel position Y.sub.d_cur corresponding to a start position Y.sub.d of the photosensitive drum 193 on the defect image with respect to the defect image illustrated in
[0078] The reproducibility determination unit 306 generates the image bearing member region image IMG.sub.cur indicating the position of the defect detected on the scanned image IMG.sub.scan on the image bearing member based on the following equation (2), between the region images.
[0079] In the present embodiment, as illustrated in
[0080] In step S1202, the reproducibility determination unit 306 determines whether the RAM 102 or the main memory 104 stores an image bearing member region image IMG.sub.pre indicating the position of the defect already detected on an image bearing member region. If the IMG.sub.pre is stored, the reproducibility determination unit 306 determines that it is possible to determine the reproducibility of the defect on the scanned image IMG.sub.scan, and shifts the processing to step S1203. Further, if the IMG.sub.pre is not stored, the reproducibility determination unit 306 determines that the reproducibility of the defect cannot be determined, and shifts the processing to step S1208. In the present embodiment, the defect image illustrated in
[0081] In step S1203, the reproducibility determination unit 306 initializes a variable i indicating the defect region number with “1”. In step S1204, the reproducibility determination unit 306 determines whether an amount ΔS.sub.i of position displacement of a defect region i satisfies ΔS.sub.i<S.sub.th according to the following equation (3).
[0082] In the present embodiment, the amount of position displacement of the defect region i is calculated from a ratio of an area ΔS.sub.i of the defect region i remaining on the difference image to the area S.sub.i of the defect region i on the IMG.sub.cur. S.sub.th is a threshold for determining the reproducibility of the defect region, and S.sub.th=0.1 in the present embodiment. If ΔS.sub.i<S.sub.th is satisfied, the reproducibility determination unit 306 determines that the defect region i is the defect that is repeatedly reproduced, and shifts the processing to step S1205. If ΔS.sub.i<S.sub.th is not satisfied, the reproducibility determination unit 306 determines that the defect region i is a randomly generated defect, and shifts the processing to step S1206. In the present embodiment, the image illustrated in
[0083] In step S1205, the reproducibility determination unit 306 stores the defect region i in the RAM 102 or the main memory 104 as a reproducible defect region where the defect is repeatedly reproduced. In step S1206, the reproducibility determination unit 306 increments (updates) the variable i indicating the defect region number by “1”.
[0084] In step S1207, the reproducibility determination unit 306 determines whether the defect region number i satisfies i>n. When it is determined that i>n is satisfied, the reproducibility determination unit 306 determines that the determination processing has been performed on all the defect regions, and shifts the processing to step S1208. On the other hand, if it is determined that i>n is not satisfied, the reproducibility determination unit 306 returns the processing to step S1204.
[0085] In step S1208, the reproducibility determination unit 306 stores the IMG.sub.cur in the RAM 102 or the main memory 104 as the image bearing member region image IMG.sub.pre indicating the position of the defect already detected on the image bearing member region, and ends this processing.
[0086]
[0087] By performing the image processing described above, even when the reproduction position of the defect varies due to the cycle length of the photosensitive drum and the intermediate transfer belt, the paper length, the image formation timeline, or the like, it is possible to determine the presence/absence of reproducibility of a defect from the scanned image.
[0088] In the present embodiment, an 8-bit grayscale image is used, but an RGB color image may also be used. Further, the number of bits may be 16 bits, and the number of channels and the number of bits of the image data are not limited.
[0089] Further, in the present embodiment, the image is aligned by affine transformation at the time of alignment processing, but projection transformation may be used, and geometric transformation processing is not particularly limited.
[0090] Further, in the present embodiment, the position displacement of the defect detected between a plurality of the defect images is calculated from the ratio of the area remaining on the difference image between the defect images to the area of the defect region, but it may be calculated from the position displacement of the center of gravity of the defect region, and a method for calculating the position displacement of the defect is not particularly limited.
[0091] In the present embodiment, the reproducibility of the defect is determined by the printing apparatus that outputs the image with one photosensitive drum and one intermediate belt, but for example, the photosensitive drum may be four CMYK drums, and the number and configuration of the image bearing member for determining the reproducibility are not particularly limited.
[0092] In the present embodiment, the user is warned by displaying a defect region image determined to be reproduced repeatedly on the UI, but error information of occurrence of repeated defects may be output to the printing apparatus 190, to stop the print job of the printing apparatus 190, and a method for outputting the error information is not particularly limited.
Second Embodiment
[0093] In the first embodiment, a determination is made regarding the presence/absence of reproducibility of a defect due to a scratch on the photosensitive drum 193 having a period shorter than the height of the defect image. However, when the defect is repeatedly generated due to the scratch on the intermediate belt 194 having a period longer than the height of the defect image, the defect is detected on the defect images every plurality of printing papers. As a result, when the defects are compared between consecutive defect images, the reproducibility may be erroneously determined. Therefore, in a second embodiment, a method for determining with high accuracy the reproducibility of the defect caused by the scratch on the intermediate belt 194 having a period longer than the height of the defect image by masking the pixel region corresponding to the defect image as a determination region in the image bearing member region will be described.
[0094] In the present embodiment, the scanned image illustrated in
Operation of Reproducibility Determination Unit 306
[0095] A flow of the reproducibility determination processing of the second embodiment will be described with reference to
[0096] In step S2101, the reproducibility determination unit 306 generates an image IMG.sub.cur_mask indicating a region for determining the reproducibility of the defect detected on the defect image. Details of processing for generating a determination region image will be described later with reference to
[0097] In step S2102, the reproducibility determination unit 306 generates a common region image IMG.sub.mask common to a reproducibility determination region image IMG.sub.pre_mask on the image bearing member region image IMG.sub.pre, which indicates the position of the defect already detected on the image bearing member region, and the IMG.sub.cur_mask generated in step S2101. In the present embodiment, the IMG.sub.pre_mask is an image in which the pixel region excluding a region 2401 illustrated in
[0098] In step S2103, the reproducibility determination unit 306 overwrites and updates the pixel value of the image IMG.sub.pre with the pixel value of the image IMG.sub.cur, in an IMG.sub.cur_mask pixel region which is the region for determining the reproducibility by the image IMG.sub.cur, among the pixel regions on the image IMG.sub.pre. In the present embodiment, the image illustrated in
[0099] In step S2104, the reproducibility determination unit 306 overwrites and updates as the image IMG.sub.pre_mask the region obtained by taking a union of the region image IMG.sub.pre-mask for determining the reproducibility and the image IMG.sub.cur_mask, and ends the processing.
[0100] In the present embodiment, the image IMG.sub.pre_mask is an image whose entire surface is the region to be determined as illustrated in
Flow of Generation Processing of Determination Region Image IMG.SUB.cur-mask .in Step S2101
[0101] Next, the details of the generation processing of the determination region image in step S2101 will be described with reference to a flowchart of
[0102] In step S2201, the reproducibility determination unit 306 generates a defect detection region image R.sub.b obtained by performing binarization processing on the image IMG.sub.cur illustrated in
[0103] In step S2202, the reproducibility determination unit 306 sets the image R.sub.b to the region image IMG.sub.cur_mask for determining the reproducibility on the image IMG.sub.cur, and ends the processing.
[0104] The above reproducibility determination processing is repeatedly performed for the first, second, . . . , (i−1)th, i-th, and (i+1)th scanned images. Therefore, for example, in the (i−1)th scanned image, when the image illustrated in
[0105] By performing the image processing described above, even when the repeated defect caused by the scratch on the intermediate belt 194 having a period longer than the height of the defect image occurs, the reproducibility of the defect can be determined with high accuracy.
Modified Example (When Defect Position is Paper White Region, Excluded from Determination Region)
[0106] Hereinafter, a modified example of the generation processing of the determination region image in step S2101 will be described with reference to a flowchart of
[0107] In the first and second embodiments, a determination is made regarding the presence/absence of reproducibility of a defect for an image in which a pictorial pattern is output on the entire surface of the image. However, color loss in which sufficient color material does not adhere due to the scratch or the like on the photosensitive drum 193 does not occur on the paper white region where the color material does not originally adhere, and thus when the output image includes the paper white region, the reproducibility of the defect due to color loss may be erroneously determined. Therefore, in this modified example, a method for determining the reproducibility of the defect with high accuracy even when the output image includes the paper white region by excluding the pixel region corresponding to the paper white region in the image bearing member region image from the determination region will be described.
[0108] In this modified example, images illustrated in
Flow of Generation Processing of Determination Region Image IMG.SUB.cur_mask .in Step S2101
[0109] Hereinafter, a modified example of the generation processing of the determination region image IMG.sub.cur_mask in step S2101 will be described with reference to the flowchart of
[0110] Since a flow of the generation processing of the determination region image IMG.sub.cur_mask in step S2101 of this modified example is the same as that described with reference to
[0111] In step S2901, the reproducibility determination unit 306 generates the paper white region image by performing binarization processing on the scanned image at the threshold I.sub.p. The threshold I.sub.p is a threshold for detecting the paper white region, and in the present embodiment, I.sub.p=250. In the present embodiment, the scanned image illustrated in
[0112] In step S2902, the reproducibility determination unit 306 generates an image not(R.sub.p) in which the binarized image of the paper white region image R.sub.p is gradation inverted, and a common region image (logical product image) of the defect detection region image R.sub.b. The reproducibility determination unit 306 sets the generated common region image to the region image IMG.sub.cur_mask for determining the reproducibility on the image IMG.sub.cur, and ends the processing. In the present embodiment, the binary image having the pixel value 1 in the regions 3101 to 3103 illustrated in
[0113] The above reproducibility determination processing is performed for the (i−1)th, i-th, and (i+1)th scanned images. In the (i−1)th and i-th scanned images, when images illustrated in
[0114] By performing the image processing described above, even when the output image includes the paper white region, the reproducibility of the defect due to color loss can be determined with high accuracy.
Third Embodiment
[0115] In the first and second embodiments, a determination is made regarding the presence/absence of reproducibility of a defect caused by a scratch on an image bearing member, such as the photosensitive drum 193 and the intermediate belt 194. However, when a sensor defect occurs, it may be erroneously determined that the defect is repeatedly reproduced on the scanned image even though the actual output image itself has no defect. Therefore, in the third embodiment, a method for discriminating the defect caused by the scratch on the image bearing member from the sensor defect and performing different processing will be described. Specifically, as an example of another processing, when the sensor defect is detected, the output image itself has no defect, and thus processing to ignore the sensor defect and output the image or processing to display the sensor defect error on the UI to warn the user may be performed.
[0116] In the present embodiment, images illustrated in
[0117] Defect images illustrated in
Operation of Reproducibility Determination Unit 306
[0118] The flow of the reproducibility determination processing of the third embodiment is the same as that described with reference to
[0119] In step S3401, the reproducibility determination unit 306 determines whether the detected defect is a defect caused by the sensor defect by comparing the defect images corresponding to the i-th and (i+1)th scan images. Details of sensor defect determination processing will be described later with reference to
Flow of Sensor Defect Determination Processing in Step S3401
[0120] Hereinafter, the details of the sensor defect determination processing in step S3401 will be described with reference to a flowchart of
[0121] In step S3501, the reproducibility determination unit 306 determines whether or not a defect image IMG.sub.def_pre indicating the position of the already detected defect on the reference image is stored in the RAM 102 or the main memory 104. If the IMG.sub.def_pre is stored, the reproducibility determination unit 306 determines that it is possible to determine whether there is the sensor defect on the scanned image IMG.sub.scan, and shifts the processing to step S3502. Further, if the defect image IMG.sub.def_pre is not stored, the reproducibility determination unit 306 determines that it is not possible to determine whether there is the sensor defect, and shifts the processing to step S3509. In the present embodiment, the defect image IMG.sub.def_pre illustrated in
[0122] In step S3502, the reproducibility determination unit 306 initializes the variable i indicating the defect region number with “1”. In step S3503, the reproducibility determination unit 306 determines whether an amount ΔS.sub.def of position displacement of the defect region i on the defect image satisfies ΔS.sub.def≥S.sub.th according to the following equation (4).
[0123] Here, S.sub.th is the threshold for determining the reproducibility of the defect region, and S.sub.th=0.1 in the present embodiment. If ΔS.sub.def≥S.sub.th is satisfied, the reproducibility determination unit 306 determines that the defect region i is the sensor defect or the randomly generated defect, and shifts the processing to step S3504. Further, if ΔS.sub.def≥S.sub.th is not satisfied, the reproducibility determination unit 306 determines that the defect region i is the defect that is repeatedly reproduced due to the scratch on the image bearing member, and shifts the processing to step S3507. In the present embodiment, a defect image IMG.sub.def_cur illustrated in
[0124] In step S3504, the reproducibility determination unit 306 generates images IMG.sub.inv_pre and IMG.sub.inv_cur obtained by performing inverse geometric transformation on the defect images IMG.sub.def_pre and IMG.sub.def_cur using an inverse matrix of the affine transformation matrix calculated by the correction processing in step S404. In the present embodiment, the images IMG.sub.inv_pre and IMG.sub.inv_cur illustrated in
[0125] Here, S.sub.th is the threshold for determining the reproducibility of the defect region, and S.sub.th=0.1 in the present embodiment. If ΔS.sub.inv<S.sub.th is satisfied, the reproducibility determination unit 306 determines that the defect region i is the sensor defect, and shifts the processing to step S3506. If ΔS.sub.inv<S.sub.th is not satisfied, the reproducibility determination unit 306 determines that the defect region i is the randomly generated defect, and shifts the processing to step S3507. In the present embodiment, the image illustrated in
[0126] In step S3506, the reproducibility determination unit 306 stores the defect area i as the sensor defect region in the RAM 102 or the main memory 104.
[0127] In step S3507, the reproducibility determination unit 306 updates the variable i indicating the defect region by incrementing the variable i by “1”. In step S3508, the reproducibility determination unit 306 determines whether the defect region number i satisfies i>n. If i>n is satisfied, it is determined that the sensor defect determination processing has been performed on all the defect regions, and the processing is shifted to step S3509. Further, if i>n is not satisfied, the reproducibility determination unit 306 returns the processing to step S3503. In step S3509, the reproducibility determination unit 306 stores the IMG.sub.def_cur as the defect image IMG.sub.def_pre indicating the position of the already detected defect on the reference image in the RAM 102 or the main memory 104, and ends this processing.
[0128]
[0129] By performing the image processing described above, even when the defect is repeatedly detected on the scanned image due to the sensor defect, it is possible to discriminate the defect caused by the scratch on the image bearing member from the sensor defect and perform different processing.
Other Embodiments
[0130] Some embodiment(s) of the present disclosure can also be realized by a computer of a system or apparatus that reads out and executes computer-executable instructions (e.g., one or more programs) recorded on a storage medium (which may also be referred to more fully as a ‘non-transitory computer-readable storage medium’) to perform the functions of one or more of the above-described embodiment(s) and/or that includes one or more circuits (e.g., application specific integrated circuit (ASIC)) for performing the functions of one or more of the above-described embodiment(s), and by a method performed by the computer of the system or apparatus by, for example, reading out and executing the computer-executable instructions from the storage medium to perform the functions of one or more of the above-described embodiment(s) and/or controlling the one or more circuits to perform the functions of one or more of the above-described embodiment(s). The computer may comprise one or more processors (e.g., central processing unit (CPU), micro processing unit (MPU)) and may include a network of separate computers or separate processors to read out and execute the computer-executable instructions. The computer-executable instructions may be provided to the computer, for example, from a network or the storage medium. The storage medium may include, for example, one or more of a hard disk, a random-access memory (RAM), a read only memory (ROM), a storage of distributed computing systems, an optical disk (such as a compact disc (CD), digital versatile disc (DVD), or Blu-ray Disc (BD)™), a flash memory device, a memory card, and the like.
[0131] While the present disclosure has described exemplary embodiments, it is to be understood that some embodiments are not limited to the disclosed exemplary embodiments. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions.
[0132] This application claims priority to Japanese Patent Application No. 2021-066715, which was filed on Apr. 9, 2021 and which is hereby incorporated by reference herein in its entirety.