Image processing apparatus, image processing method, and program
The image processing apparatus converts color values outside the reading device's range into the readable range, maintaining gradation, to accurately inspect printed matter for defects.
Patent Information
- Application Number
- JP2023063958
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-11
- Publication Date
- 2024-10-24
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing print inspection systems inaccurately detect printing defects due to color variations outside the color reproduction range of the reading device, leading to false positives or negatives.
An image processing apparatus that generates a reference image by converting color values outside the reading device's color reproduction range into that range using a color profile, maintaining gradation and accurately inspecting printed matter.
Enables high-accuracy inspection of printed matter by accurately detecting color variations that may cause defects, even in highly saturated colors.
Smart Images

Figure 2024150915000001_ABST
Abstract
Description
[Technical Field]
[0001] The present disclosure relates to techniques for inspecting printed materials. [Background technology]
[0002] Printed materials output from a printing device may have print defects due to color variations caused by changes in the thickness and distribution of color materials on the paper surface due to variations in the printing device. Systems for inspecting the presence or absence of such print defects include, for example, print inspection systems that automatically inspect printed materials based on the difference between a read image obtained by reading the printed material to be inspected with a reading device and a reference image generated from the image data used to print the printed material. Because the color reproduction range indicating the range of colors that can be processed by the printing device differs from the color reproduction range indicating the range of colors that can be processed by the reading device, color variations that could result in print defects may be erroneously detected as print defects even when there are no color variations that could result in print defects in the printed material output from the printing device.
[0003] Patent document 1 discloses a method for preventing the above-mentioned erroneous detection by not calculating the difference between the reference image and the read image for pixels where the color values of the image data used to print the printed material are outside the color reproduction range of the reading device. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] Japanese Patent Application Laid-Open No. 2013-179546 Summary of the Invention [Problem to be solved by the invention]
[0005] However, with the method of Patent Document 1, pixels whose color values are outside the color reproduction range of the reading device are not inspected, and therefore printed matter cannot be inspected with high accuracy. [Means for solving the problem]
[0006] An image processing device according to one aspect of the present disclosure is an image processing device that inspects a printed material based on image data used for printing, and has a generation means that converts the color values of the image data using a color profile that associates color values within the color reproduction range of the printing device that performed the printing with color values within the color reproduction range of a reading device that reads the printed material, thereby generating a reference image for the inspection, and is characterized in that the generation means generates the reference image using the color profile that has been compressed to fit within the color reproduction range of the reading device, while maintaining the gradation of color values of the inspection area in the printed material that are outside the color reproduction range of the reading device. [Effects of the Invention]
[0007] According to the technology of the present disclosure, printed matter can be inspected with high precision. [Brief explanation of the drawings]
[0008] [Figure 1] FIG. 1 illustrates an example of the configuration of a print inspection system. [Figure 2] FIG. 2 is a block diagram showing the functional configuration of the image processing apparatus; [Figure 3] 10 is a flowchart showing the flow of an inspection process. [Figure 4] FIG. 10 is a diagram illustrating an example of a UI screen. [Figure 5] FIG. 10 is a diagram illustrating an example of a file in which device characteristic information is described. [Figure 6] FIG. 1 is a diagram for explaining an overview of a color reproduction compression method. [Figure 7] 10 is a flowchart showing details of a compression parameter calculation process. [Figure 8] FIG. 10 is an explanatory diagram for explaining a method of saturation compression. [Figure 9] FIG. 10 is a diagram illustrating an example of compression parameters. [Figure 10] 10 is a flowchart showing details of a reference image generation process. [Figure 11] FIG. 1 is a diagram for explaining an overview of a color reproduction compression method. [Figure 12]10 is a flowchart showing details of a compression parameter calculation process. DETAILED DESCRIPTION OF THE INVENTION
[0009] Hereinafter, embodiments of the technology of the present disclosure will be described in detail with reference to the accompanying drawings. Note that the following embodiments do not limit the technology of the present disclosure according to the claims, and not all combinations of features described in the embodiments are necessarily essential to the solution of the technology of the present disclosure. Identical components are given the same reference numerals, and descriptions thereof will be omitted.
[0010] <<Embodiment 1>> In this embodiment, we will explain a mode in which color values (print colors) of the inspection area that are outside the color reproduction range of the reading device are compressed to fit within the color reproduction range of the reading device based on the detected color variation value set by the user, and then inspection is performed.
[0011] (Print inspection system configuration) 1 is a diagram showing an example of the overall configuration of a print inspection system that outputs and inspects printed materials, including an image processing device 100. The print inspection system according to this embodiment includes an image processing device (inspection device) 100, a printing server 180, and a printing device 190. The printing server 180 has a function of generating a print job for causing the printing device 190 to execute a print process, and submitting the generated print job to the printing device 190. The printing server 180 also has a function of receiving a print job generation request, manuscript data to be printed (hereinafter also referred to as image data), etc. from an external device (not shown) that is communicably connected via a network.
[0012] (Printing Device Overview) The printing device 190 has a printing function of forming an image on a recording medium such as paper (hereinafter referred to as a "sheet") based on a print job submitted from the printing server 180. The printing method used by the printing device 190 includes offset printing, electrophotography, inkjet printing, and the like. In this embodiment, the electrophotography method is described as an example, but the present invention is not limited to this. A user sets a sheet in a paper feed unit 191 in advance. When a print job is submitted, the printing device 190 generates print image data that has been subjected to image processing for printing, which will be described later. Thereafter, the printing device 190 transports the sheet set in the paper feed unit 191 along a transport path 192, forms an image on one or both sides of the sheet, and transports the sheet to the image processing device (inspection device) 100.
[0013] (Overview of image processing device 100) The image processing device 100 is an information processing device that inspects the printout output from the printing device 190 for print defects.
[0014] The image processing device 100 includes a CPU 101, a RAM 102, a ROM 103, an image reading device 105, a printing device I / F (interface) 106, a general-purpose I / F (interface) 107, a UI (user interface) panel 108, and a main bus 109. The image processing device 100 also includes a conveyance path 110 for conveying sheets (printed sheets) printed by a printing device 190, a discharge tray 111 for printed sheets that pass inspection, and a discharge tray 112 for printed sheets that fail inspection. In the example of FIG. 1 , the output tray 111 and the output tray 112 are connected to the CPU 101 via the main bus 109. Depending on the inspection result of the printed sheet, the destination of the printed sheet is set to either the discharge tray 111 or the discharge tray 112. The sheet to be inspected is obtained by the printing device 190 forming an image on the sheet, and is conveyed through a conveyance path 192 inside the printing device 190.
[0015] The image processing device according to each embodiment described below can be realized by a computer including a processor and a memory. For example, a processor such as CPU 101 can execute a program stored in a memory such as RAM 102 or ROM 103 to realize the functions of each unit. The processor such as CPU 101 can also control each module in the image processing device 100 as necessary. Note that the image processing device according to the present embodiment may also be configured by a plurality of processing devices connected via a network, for example.
[0016] The CPU 101 is a processor that controls each unit within the image processing device 100. The RAM 102 temporarily stores applications executed by the CPU 101, data used for image processing, etc. The ROM 103 stores a group of programs executed by the CPU 101.
[0017] The image reading device (scanner) 105 reads one or both sides of a printed sheet to be inspected, output from the printing device 190, on a conveying path 110 and acquires the read image data. The conveying path 110 serves as the background when the image reading device 105 reads the image of the printed sheet, and can be configured to have a color (e.g., black) that makes it easy to distinguish it from the printed sheet in the image. The printing device I / F 106 is connected to the printing device 190, and the image processing device 100 can communicate with the printing device 190 through the printing device I / F 106. For example, the printing device 190 and the image processing device 100 can be synchronized via the printing device I / F 106 to mutually notify each other of their operating statuses. The UI panel 108 outputs information to the user. The UI panel 108 may be a display device such as a liquid crystal display and functions as a user interface for the image processing device 100. The UI panel 108 notifies the user of, for example, the current status or settings of the image processing device 100. The UI panel 108 may also include an input device such as a touch panel or buttons. In this case, instructions from the user can be received by the user operating the input device. The main bus 109 is a transmission path that connects the modules of the image processing device 100 so that data can be transmitted and received between them.
[0018] While the printed sheet output from the printing device 190 is being transported along the transport path 110, the image processing device 100 performs an inspection process to check for defects on the printed sheet based on image data of the printed sheet acquired by the image reading device 105. If the printed sheet is determined to pass the inspection process, it is transported to an output tray 111. If the printed sheet is determined to fail the inspection process, it is transported to an output tray 112. By this operation, only the printed sheet determined to have no defects is output onto the output tray 111.
[0019] (Functional configuration of image processing device) FIG. 2 is a block diagram showing the functional configuration of the image processing device 100 according to this embodiment.
[0020] The image processing device 100 includes a document acquisition unit 201 , a scanned image acquisition unit 202 , a setting acquisition unit 203 , a device characteristic acquisition unit 204 , a calculation unit 205 , a reference image generation unit 206 , an inspection unit 207 , and a display unit 208 .
[0021] The original acquisition unit 201 acquires original data, which is the original data of the printed matter. The original data is also referred to as image data used for printing. The read image acquisition unit 202 acquires a read image of the printed sheet, which is the object of inspection and on which printing has been performed. Specifically, the read image acquisition unit 202 acquires read image data obtained by the image reading device 105 reading the printed sheet on the conveying path 110. The read image acquisition unit 202 is also referred to as an image acquisition unit. The setting acquisition unit 203 acquires inspection setting information related to inspection settings. The device characteristic acquisition unit 204 acquires information (also referred to as device characteristic information) indicating the color reproduction range, which is the color reproduction characteristic (device characteristic) of each of the image reading device 105 and the printing device 190.
[0022] The calculation unit 205 determines whether the color value of the printed sheet output from the printing device 190 (hereinafter also referred to as the printed color) is within the color reproduction range indicating the color range that can be input by the image reading device 105 or outside the color reproduction range. When the calculation unit 205 obtains a determination result that it is outside the color reproduction range, it determines a parameter for compressing the color value of the printed sheet within the color reproduction range of the image reading device 105. When inspecting whether there are defects in the read image of the printed sheet to be inspected, which is acquired by the image acquisition unit 202, the reference image generation unit 206 generates defect-free image data as a reference image for comparison. That is, the reference image is generated from the image data for printing the printed sheet using a color profile created using parameters to be described in detail later or a color profile created by applying a known compression method. Note that the reference image generation unit 206 is also referred to as a generation unit. The inspection unit 207 inspects whether the inspection target image contains defects by comparing the difference between the reference image generated by the generation unit 206 and the inspection target image acquired by the image acquisition unit 202. The display unit 208 displays a UI for notifying the user of information and for receiving input of information necessary for processing from the user.
[0023] (Processing executed by the image processing device) FIG. 3 is a flowchart showing the flow of processing executed by the image processing device 100. The CPU 101 reads out a program stored in the ROM 103 that realizes the flowchart shown in FIG. 3 and executes it using the RAM 102 as a work area. Thereby, the CPU 101 plays the role of each functional configuration shown in FIG. 2. In the following flowcharts, each step will be denoted as "S".
[0024] In S301, the display unit 208 displays a UI screen for receiving input (instructions from the user) by user operation regarding information necessary for inspection on the UI panel 108.
[0025] <UI screen> 4 is a diagram showing an example of a UI screen displayed in S301. The UI screen 400 includes an image read button 410, an image display area 420, an inspection area setting screen 430, and an inspection setting end button 440.
[0026] The image read button 410 is a button for reading original data in order to perform inspection settings. An input field for specifying a target image is provided to the left of the image read button 410, allowing the target image to be specified. When the user presses the image read button 410 with the target image specified in the input field, the specified target image is displayed in the image display area 420. The image display area 420 is provided on the left side at the center in the vertical direction of the UI screen 400. This area displays the image specified in the input field and confirmed by the user's operation on the image read button 410. In the example of FIG. 4, the image display area 420 displays an image including an important inspection area 421, a standard inspection area 422, and simple inspection areas 423 and 424.
[0027] It is assumed that the important inspection area 421 is specified as an area surrounding the person on the left side in the vertical center of the image displayed in the image display area 420. The standard inspection area 422 is specified as an area surrounding the house on the right side in the vertical center of the image displayed in the image display area 420. The simple inspection area 423 is specified as an area surrounding the character string "XXXXXXXXXXXX" in the center on the upper vertical side of the image displayed in the image display area 420. The simple inspection area 424 is specified as an area surrounding the character string "ABCDEFGHIJKLMN" in the center on the lower vertical side of the image displayed in the image display area 420.
[0028] The inspection area setting screen 430 is a screen for setting the inspection area and the detection level of color variation to be detected in the inspection area for the printed image by referring to the printed image displayed in the image display area 420 by user operation, and can also be said to be a setting area for accepting settings. The setting screen 430 has a display area 431 for setting the priority inspection area, a display area 432 for setting the standard inspection area, and a display area 433 for setting the simple inspection area.
[0029] The display area 431 for setting the priority inspection area displays the line type (dashed line) 4311 of the target area and the color variation inspection level 4312. Note that, although an example is shown in which level 5 is set as the color variation inspection level 4312, the present invention is not limited to this.
[0030] The display area 432 for setting the standard inspection area displays the line type (dotted line) 4321 of the target area and the color variation inspection level 4322. Note that, although an example is shown in which level 4 is set as the color variation inspection level 4322, the present invention is not limited to this.
[0031] A display area 433 for setting a simple inspection area displays a line type (two-dot chain line) 4331 of the target area and a color variation inspection level 4332. Note that, although an example is shown in which level 3 is set as the color variation inspection level 4332, the present invention is not limited to this.
[0032] The color variation inspection levels 4312, 4322, and 4332 are also called color variation levels.
[0033] The user designates an inspection area using a pointing device such as a mouse while referring to the image displayed in the image display area 420. In this embodiment, three inspection areas can be designated depending on the detection level for detecting defects: a critical inspection area 421, a standard inspection area 422, and simple inspection areas 423 and 424. The number of designated inspection areas is not limited to three; the number may be greater than or less than three. Furthermore, if no inspection area is designated, the same inspection level is applied to the entire image to detect the presence or absence of defects. In this embodiment, five levels of color variation detection levels are provided, and a threshold value for the color variation value ΔE to be detected is set for each level. For example, the threshold value for the color variation value ΔE is set to 5 or more for detection level 5, 10 or more for detection level 4, 15 or more for detection level 3, 20 or more for detection level 2, and 25 or more for detection level 1. In this way, threshold values for the color variation value to be detected for each detection level are set and stored, and the presence or absence of defects is determined by referring to these threshold values. The variation value corresponds to a difference value obtained by calculating the difference between the pixel value of the reference image and the pixel value of the image to be inspected. The threshold value of the color variation value ΔE set as the detection level of the color variation corresponds to the threshold setting of the color variation amount shown in FIG. 6(b) described later. The inspection setting end button 440 is a button for ending the inspection setting. When the inspection setting end button 440 is pressed by a user operation, the UI screen 400 is closed and the inspection setting is ended.
[0034] In S302, the document acquisition unit 201 acquires document data, which is the original data of the printed matter, and stores it in RAM 102. In S303, the setting acquisition unit 203 acquires the information input by the user in S301. As the input information, the setting acquisition unit 203 acquires color variation values associated with the pixel values and detection levels of the document data in the inspection area specified by the user. In other words, the setting acquisition unit 203 acquires information related to the inspection settings (hereinafter also referred to as inspection setting information) set by user input via a user interface that accepts user input, and information indicating the importance of defect determination in the inspection area of the printed matter.
[0035] In S304, the device characteristic acquisition unit 204 acquires information (device characteristic information) related to the device characteristics of the image reading device 105 and the printing device 190. That is, the device characteristic acquisition unit 204 acquires device information related to the color reproduction characteristics of the image reading device 105 and device information related to the color reproduction characteristics of the printing device 190.
[0036] (Equipment characteristics) FIG. 5 is a diagram showing an example of a file in which device characteristic information is described. The device characteristic acquisition unit 204 acquires device characteristic information indicating device characteristics. That is, the device characteristic acquisition unit 204 acquires a three-dimensional lookup table (LUT) 500, as shown in FIG. 5, in which the correspondence between device-dependent colors (RGB values) 510 and device-independent colors (e.g., CIE-Lab values) 520 is described. The LUT is generated in advance by scanning or outputting a chart for generating the LUT in the image reading device 105 and the printing device 190 to be used, and measuring the chart with a measuring instrument, and then stored in RAM 102. That is, the device characteristic acquisition unit 204 acquires device characteristic information generated for the image reading device 105 and device characteristic information generated for the printing device 190. Although FIG. 5 illustrates the LUT 500 in which the correspondence between device-dependent colors (RGB values) 510 and device-independent colors (CIE-Lab values) 520 is described, this is not limiting. Note that an LUT corresponding to the device to be used is referenced.
[0037] In S305, the calculation unit 205 calculates parameters (hereinafter also referred to as compression parameters) for compressing the print color output by the printing device 190 to within the color reproduction range of the image reading device 105 when the print color is outside the color reproduction range of the image reading device 105. Details of the calculation process of the compression parameters by the calculation unit 205 will be described later.
[0038] In S306, the generation unit 206 generates a reference image from the document data acquired by the document acquisition unit 201. When converting the CMYK values of the document data into RGB values of the scanned image, a color profile is generated using the compression parameters calculated in S305, and the generated color profile is applied to the document data to generate the reference image. Details of the reference image generation process by the generation unit 206 will be described later.
[0039] In S307, the image acquisition unit 202 acquires a read image (inspection image) obtained by the image reading device 105 reading the printed sheet to be inspected on the conveying path 110, and stores the image in RAM 102. Note that the image reading device 105 generates a read image by reading the printed sheet to be inspected, but this is also applicable to a case where an image acquired using another device is used. For example, a read image obtained by a device other than the image reading device 105 may be stored in an auxiliary storage device (not shown). In this case, the image acquisition unit 202 can acquire the read image from the auxiliary storage device.
[0040] In S308, the inspection unit 207 inspects the printed sheet to be inspected for defects based on the comparison result between the reference image and the scanned image. For example, the inspection unit 207 aligns the reference image and the scanned image, calculates the difference between the two images, and determines pixels where the calculated difference exceeds a predetermined threshold as defective pixels. In this embodiment, the presence or absence of color variation is determined using a color variation value corresponding to a detection level specified by the user as a threshold. Note that in this embodiment, the presence or absence of color variation is determined for each pixel, but the presence or absence of color variation may also be determined using pixel values averaged over a predetermined area. If the inspection unit 207 detects a defective pixel in S308, the printed sheet to be inspected is determined to be unacceptable. At this time, the CPU 101 included in the image processing device 100 controls the transport of the printed sheet to be inspected to the output tray 112. If the inspection unit 207 does not detect any defective pixels, the printed sheet to be inspected is determined to be acceptable. At this time, the CPU 101 provided in the image processing apparatus 100 performs control so that the printed sheet to be inspected is conveyed to the output tray 111.
[0041] When the process of S308 is completed, the flow shown in FIG. 3 ends.
[0042] (Overview of color gamut compression methods) An overview of the color reproduction compression method in this embodiment will be explained using Fig. 6. To explain the overview of the color reproduction compression method, Fig. 6 is a diagram that schematically shows on the ab chromaticity plane in the CIE-Lab color space how to compress the printed colors of the printing device 190 into the color reproduction range of the reading device 105 when the printed colors are outside the color reproduction range of the reading device 105. Fig. 6(a) shows an example of a general compression method, and Fig. 6(b) shows an example of a compression method according to this embodiment.
[0043] In a typical compression method, as shown in FIG. 6(a), input values within the color reproduction range of the printing device that overlap with the low-saturation region of the color reproduction range of the image reading device 105 are maintained as an uncompressed region. On the other hand, input values outside the color reproduction range of the printing device that overlap with the high-saturation region of the color reproduction range of the image reading device 105 are compressed into a compressed region using a predetermined compression coefficient. However, when detecting color variations in highly saturated printed colors using this compression method, the gradation is crushed by compressing the data into the compressed region using the predetermined compression coefficient, making it impossible to accurately detect variations in the desired color values. In other words, with a typical compression method, the correspondences between the respective color distributions P21, P22, P23, P24, and P25 after compression cannot be maintained, and therefore the correspondences between the respective color distributions P11, P12, P13, P14, and P15 before compression cannot be maintained, resulting in differences.
[0044] Therefore, in this embodiment, as shown in FIG. 6(b), for colors within the range of the color variation threshold set during inspection, coordinate conversion is performed without compression to fit within the color reproduction range of the reading device 105 while preserving the gradation. Color value compression is performed on color values in low-saturation regions that are not included in the inspection target. As such, the compression method of this embodiment eliminates gradation loss in high-saturation regions compared to general methods, enabling accurate detection of color variations. In other words, with the compression method of this embodiment, the correspondences between the respective color distributions P41, P42, P43, P44, and P45 after compression are maintained and remain the same as those between the respective color distributions P31, P32, P33, P34, and P35 before compression.
[0045] Note that if the color values to be inspected are distributed on both the high saturation side and the mid- to low saturation side within the same hue, it is not possible to preserve the gradation of all areas. A method for calculating compression parameters in such cases will be described in embodiment 2. In this embodiment, the color reproduction compression method uses a method in which the input saturation value is converted to the saturation value of the reproduction destination without changing the lightness and hue of the input color value. Note that other methods may also be used, such as compressing the lightness value in a predetermined direction, for example, toward the mid-lightness value L=50, or shifting the hue angle in a predetermined direction. Furthermore, although this embodiment uses the CIE-Lab color space as the color space to be compressed, other visually uniform color spaces, such as CIECAM02, may also be used.
[0046] <Compression parameter calculation process> FIG. 7 is a flowchart showing the details of the compression parameter calculation process executed by the calculation unit 205 in S305.
[0047] In S701, the calculation unit 205 acquires the information on the inspection settings acquired in S303. As the information on the inspection settings, the calculation unit 205 acquires the pixel values of the document data in the inspection area designated by the user and the color variation values associated with the detection levels.
[0048] In S702, the calculation unit 205 calculates color values of the inspection area based on pixel values of the document data in the inspection area acquired in S701. The calculation of color values from pixel values involves calculating Lab values, which are device-independent colors, from pixel values, which are device-dependent colors, based on the LUT representing the device characteristic information of the printing device 190 acquired in S304.
[0049] In S703, the calculation unit 205 determines whether the color values of the inspection area calculated in S702 are outside the color reproduction range of the image reading device 105. If the determination result indicates that any of the color values of the print colors of the inspection area are outside the color reproduction range of the image reading device 105 (YES in S703), the process proceeds to S704. If the determination result indicates that all of the color values of the print colors of the inspection area are outside the color reproduction range of the image reading device 105 (NO in S703), color reproduction compression is unnecessary, and the flow shown in FIG. 7 is terminated without calculating compression parameters. The determination result of whether the color values of the print colors of the inspection area are within or outside the color reproduction range is obtained by performing the following determination. That is, the determination result is obtained by determining whether the Lab values of the inspection area calculated in S702 are included in a hexahedron formed by the Lab values of 4913 colors of the image reading device 105 described in the device characteristic information. The above judgment result may also be obtained by further dividing the hexahedron into six tetrahedrons and performing an inside / outside judgment on the divided tetrahedrons to determine whether the Lab value, which is the color value of the inspection area, is outside the color reproduction range of the image reading device 105.
[0050] In S704, the calculation unit 205 calculates the hue angle h for compression based on the Lab values of the color values determined to be outside the color reproduction range of the image reading device 105. For example, the hue angle h is calculated using the following equation (1). h=tan -1 (b * / a * ) ··(1)
[0051] In S705, the calculation unit 205 determines compression parameters based on the Lab values of the color values determined to be outside the color reproduction range of the image reading device 105. In the compression method of this embodiment, the Lab values determined to be outside the color reproduction range of the image reading device 105 are converted into coordinate values within the color reproduction range of the image reading device 105 along the direction of the hue angle h calculated in S704. In this embodiment, the lightness value and hue during compression are compressed to be equal in lightness and hue to the color value to be compressed, and compression is performed in the saturation direction. Compression in the saturation direction is performed so as to maintain the gradation of the threshold setting for the detected color variation, as shown in FIG. 8 and the following equations (2) and (3).
[0052] (Saturation compression conversion formula) Cin>Cmax Cout=Cin+Cmax-Cin_max-th ··(2) Cin≦Cmax Cout=Cin×(2×Cmax-Cin_max-th) / Cmax ·(3) In the saturation compression conversion formulas (2) and (3) and in Figure 8, Cin represents the input saturation (the color reproduction range of the printing device 190), and Cout represents the output saturation (the color reproduction range of the image reading device 105). Cmax represents the maximum saturation value of the image reading device 105 for the input hue. Cin_max represents the maximum saturation value of the printing device 190 for the input hue, and th represents the color variation threshold setting value.
[0053] In this embodiment, the correspondence between input and output saturation is stored as a table as a compression parameter. The maximum saturation value of the printing device at the hue angle of the input color value is divided into 10 equal parts as the input saturation value, and the saturation value calculated from the input value using the above-mentioned saturation compression conversion formula is stored as the output saturation value in correspondence with the input saturation value. In this embodiment, the maximum saturation value of the printing device is divided into 10 equal parts as the input saturation value, but there is no limit to the number of parts, and the input saturation value may be set nonlinearly rather than equally divided. In this embodiment, the input and output saturation relationship is stored as a table as a compression parameter, but the input and output saturation relationship may also be approximated by a function and the approximated function may be stored.
[0054] In S706, the calculation unit 205 stores the hue angle determined in S704 and the saturation compression parameter calculated in S705 in a buffer.
[0055] (Compression parameters) 9 is a diagram showing an example of compression parameters stored in S706 by the calculation unit 205. The compression parameters 900 include a compression direction (lightness) 911, a compression direction (hue) 912, and a saturation compression parameter 920.
[0056] Equal lightness is set in the compression direction (lightness) 911. Equal hue is set in the compression direction (hue) 912.
[0057] With saturation compression parameter 920,<h=30~50> Regarding 921, (input (In), output (Out)) are set to (Cin1, Cout1), (Cin2, Cout2), (Cin3, Cout3), . . . , (Cin10, Cout10).
[0058] <h=255~265> Regarding 922, (input (In), output (Out)) are set to (Cin11, Cout11), (Cin12, Cout12), (Cin13, Cout13), . . . , (Cin20, Cout20).
[0059] When the process of S706 is completed, the flow shown in FIG. 7 ends.
[0060] (Details of the reference image generation process) FIG. 10 is a flowchart showing the details of the reference image generation process executed by the generation unit 206 in S306.
[0061] In S1001, the generation unit 206 acquires the manuscript data acquired in S302. In S1002, the generation unit 206 acquires the device characteristic information acquired in S304.
[0062] In S1003, the generation unit 206 creates a color profile for converting the color values of the original data using the compression parameters calculated in S305. Specifically, the color profile references the device characteristic information acquired in S1002 and the compression parameters calculated in S305, and creates a 3DLUT in which the device characteristics of the printing device 190 are used as the input color reproduction and the device characteristics of the image reading device 105 are used as the output color reproduction. If, in S703, it is determined that all color values in the inspection area are within the color reproduction range of the image reading device 105 and no compression parameters are calculated, a color profile is created using a compression method based on minimum color difference. The compression method based on minimum color difference uses a compression method that performs coordinate transformation to a point where ΔE, the Euclidean distance in the CIE-Lab color space, is minimized as the color difference. In the compression method based on minimum color difference, the color values of all print colors within the color reproduction range of the image reading device 105 are maintained as they are, and colors outside the color reproduction range are transformed to coordinates on the color gamut surface of the image reading device 105 where ΔE is minimized.
[0063] In S1004, the generation unit 206 converts the color values of the original data using the color profile created in S1003. In S1005, the generation unit 206 saves the image converted in S1004 in a buffer as a reference image. When the processing of S1005 is completed, the flow shown in FIG. 10 ends.
[0064] As described above, according to this embodiment, by compressing color values outside the color reproduction range based on the color values of the inspection area specified by the user and the threshold setting for the color variation to be detected, to fall within the color reproduction range of the image reading device, it is possible to appropriately detect the presence or absence of color variations even in highly saturated printed colors. In other words, it is possible to appropriately detect the presence or absence of color variations that could cause print defects in colors of printed matter that fall outside the color reproduction range of the image reading device. Therefore, even if the color values of the image data used for printing are outside the color reproduction range of the reading device, the entire color reproduction range of the printing device is inspected, allowing for accurate inspection of printed matter.
[0065] <<Embodiment 2>> In the first embodiment, when the color of an inspection area specified by a user falls outside the color reproduction range of the image reading device 105, the color is compressed to a color that falls within the color reproduction range of the reading device 105 while maintaining the gradation of the color variation threshold setting specified by the user. In the present embodiment, when the color values of the print color within the same hue range from low saturation to high saturation, the importance of the inspection area set by the user is referenced, and processing is performed so that the gradation of the color value of an area with high importance is maintained. Note that the processing in the calculation unit 205, which is different from the processing described in the first embodiment, will be described as a new calculation unit 215, and the other processing is the same as in the first embodiment, so description thereof will be omitted.
[0066] (Overview of color gamut compression methods) An overview of the color reproduction compression method of this embodiment will be described using FIG. 11. Similar to FIG. 6, FIG. 11 is a diagram that schematically illustrates the positional relationship of color values on the ab chromaticity plane to explain the overview of the color reproduction compression method of this embodiment. In FIG. 11, the color values of the inspection area specified by the user, both the important inspection area and the standard inspection area, are distributed within the same hue. The area in which the gradation is maintained varies depending on the compression method, which affects the accuracy of color variation detection. Therefore, in this embodiment, the importance of the inspection area specified by the user is referenced, and compression parameters are calculated so as to prioritize preserving the gradation of the color values of the area with high importance. In FIG. 11, for example, if a color value outside the color reproduction range of the image reading device 105 is input and the color values of the important inspection area are distributed within the same hue angle, priority is given to preserving the gradation of the color value of the important inspection area, and the compression of the color value outside the color reproduction range is reproduced by compressing the gradation. That is, the correspondence relationships between the color distributions P1121, P1122, P1123, P1124, P1125, and P1126 of the standard inspection area after compression will be different and will not maintain the correspondence relationships before compression, as shown below. That is, the correspondence relationships between the color distributions P1111, P1112, P1113, P1114, P1115, and P1116 of the standard inspection area before compression will be different and will not maintain the correspondence relationships. If a color value outside the color reproduction range is an important inspection area, it is converted to coordinates within the color reproduction range of the image reading device 105 while maintaining the gradation within the color variation specified by the user, as in the first embodiment.
[0067] <Compression parameter calculation process> 12 is a flowchart showing details of the compression parameter calculation process executed in S305 by the calculation unit 205. The processes of S1201 to S1203, S1205, S1206, and S1211 are the same as the processes of S701 to S706 in the first embodiment, and therefore description thereof will be omitted.
[0068] In S1204, the calculation unit 205 determines whether the color values of multiple inspection areas are contained within the same hue. If the determination result indicates that the color values of multiple inspection areas are contained within the same hue (YES in S1204), the process proceeds to S1207. If the determination result indicates that the color values of multiple inspection areas are not contained within the same hue (NO in S1204), the process proceeds to S1205. In this embodiment, the determination of whether or not the color values are contained within the same hue is made by determining whether the hue angle overlaps with the inspection area within a range of ±5 of the hue angle calculated from the color values of the inspection area. Note that in this embodiment, the range is set to ±5 of the hue angle, but if the variation in the color values of the inspection area is relatively large, the hue angle range may be set relatively wider, or may be set based on statistical values such as the average value or standard deviation of the color values of the inspection area.
[0069] In S1207, the calculation unit 205 refers to the importance of the inspection area of the color value determined to be outside the color reproduction range of the image reading device 105, and if the calculation unit 205 obtains a determination result that the inspection area has the highest importance (YES in S1207), the process proceeds to S1205. If the calculation unit 205 obtains a determination result that the inspection area does not have the highest importance (NO in S1207), the process proceeds to S1208. In S1208, the calculation unit 205 calculates the hue angle h for compression based on the Lab value of the color value of the inspection area.
[0070] In S1209, the calculation unit 205 determines a maintenance area in which gradation is maintained when compressing color values based on the color values of the inspection area with the highest importance. In this embodiment, the maintenance area for the hue angle is set to a value obtained by adding the color variation threshold setting value obtained in the inspection settings to the highest saturation value of the color values of the inspection area with the highest importance. If the input saturation value of the print color is smaller than the saturation value set as the maintenance area, the input saturation value is not compressed and is saved as is. Note that in this embodiment, the highest saturation value of the color values of the inspection area is used as described above, but other statistical values such as the average or median of the saturation values may also be used.
[0071] In S1210, the calculation unit 205 calculates compression parameters for compressing the color values of the inspection area determined to be outside the color reproduction range into the color reproduction range of the image reading device 105. The color values of the inspection area determined to be outside the color reproduction range are linearly compressed between the saturation value of the maintenance area set in S1210 and the maximum saturation value of the image reading device 105, based on the ratio between the maximum saturation value of the printing device 190 and the maximum saturation value of the image reading device 105 at the hue angle of the color value.
[0072] In S1211, the calculation unit 205 stores the calculated hue angle and saturation compression parameters in a buffer. When the process of S1211 ends, the flow shown in FIG.
[0073] As described above, according to this embodiment, the presence or absence of color variation in the image to be inspected can be detected by calculating compression parameters according to the importance of the inspection area set by the user and prioritizing the preservation of the gradation of the color values of the inspection area with high importance. In other words, even if the color values of the print color to be inspected are distributed on the high saturation side and the medium / low saturation side within the same hue, the gradation of the color values of the inspection area with the highest importance can be preserved.
[0074] (Other embodiments) The present disclosure can also be realized by supplying a program that realizes one or more functions of the above-described embodiments to a system or device via a network or a storage medium, and having one or more processors in the computer of the system or device read and execute the program. It can also be realized by a circuit (e.g., ASIC) that realizes one or more functions.
[0075] The disclosure of this embodiment includes the following configuration examples.
[0076] (Configuration 1) An image processing device that inspects printed matter based on image data used for printing, a generating means for converting color values of the image data using a color profile that associates color values within the color reproduction range of a printing device that performed the printing with color values within the color reproduction range of a reading device that reads the printed matter, and generating a reference image for the inspection; The generating unit generates the reference image using the color profile compressed to fit within the color reproduction range of the reading device, while maintaining the gradation of color values that fall outside the color reproduction range of the reading device, among the color values of the inspection area in the printed matter. 1. An image processing device comprising:
[0077] (Configuration 2) a first acquisition means for acquiring parameters to be applied to the color profile; the first acquisition means acquires the parameter for compressing a color value of the inspection area of the printed matter to be detected as a print defect within the color reproduction range of the reading device while maintaining the gradation of the range of color variation values, when the color value of the inspection area of the printed matter is outside the color reproduction range of the reading device; The generating means generates the reference image using the color profile to which the parameters acquired by the first acquiring means are applied. 2. The image processing device according to configuration 1,
[0078] (Configuration 3) a second acquisition means for acquiring device information indicating the color reproduction characteristics of the printing device, device information indicating the color reproduction characteristics of the reading device, and inspection area information indicating the importance of defect determination for an inspection area of the printed matter; When the color values of a plurality of inspection areas are distributed within the same hue, the first acquisition means acquires the parameter for compressing the color values of the inspection area determined to have a high importance for the defect determination within the color reproduction range of the reading device while maintaining the gradation of the color values of the inspection area based on the inspection area information acquired by the second acquisition means. 3. The image processing device according to configuration 2.
[0079] (Configuration 4) further comprising a user interface for accepting user input; The second acquisition means acquires the inspection area information indicating the importance of the defect determination set by a user input received via the user interface. 4. The image processing device according to configuration 3.
[0080] (Configuration 5) The user interface includes an image display area that displays an image represented by the image data, and a setting area that receives settings of the inspection area and a color variation level that indicates the importance of the defect determination in the inspection area in the image displayed in the image display area. 5. The image processing device according to configuration 4.
[0081] (Configuration 6) The parameters are a table or a function that represents the correspondence between the direction of the hue angle to be compressed, the direction of the lightness value, and the input and output of the saturation. 6. The image processing device according to any one of configurations 2 to 5,
[0082] (Configuration 7) When the color value of the inspection area in the printed matter output from the printing device is within the color reproduction range of the reading device, the generating means generates the reference image using the color profile to which a compression method that minimizes color difference is applied, which minimizes the color value of the inspection area and the color value within the color reproduction range of the reading device. 7. The image processing device according to any one of configurations 1 to 6,
[0083] (Configuration 8) The image data acquisition device further includes a third acquisition means for acquiring the image data. 8. The image processing device according to any one of configurations 1 to 7,
[0084] (Configuration 9) An image processing method for inspecting a printed matter based on image data used for printing, comprising: a generating step of converting color values of the image data using a color profile that associates color values within the color reproduction range of a printing device that performed the printing with color values within the color reproduction range of a reading device that reads the printed matter, to generate a reference image for the inspection; In the generating step, the reference image is generated using the color profile compressed to fit within the color reproduction range of the reading device, while maintaining the gradation of color values that fall outside the color reproduction range of the reading device among the color values of the inspection area in the printed matter. An image processing method comprising:
[0085] (Configuration 10) A program for causing a computer to function as each means of the image processing device according to any one of configurations 1 to 8. [Explanation of symbols]
[0086] 100 Image processing device 206 Reference image generation unit
Claims
1. An image processing device that inspects a printed matter based on image data used for printing, a generating means for converting color values of the image data using a color profile that associates color values within a color reproduction range of a printing device that performed the printing with color values within a color reproduction range of a reading device that reads the printed matter, to generate a reference image for the inspection; The generating means generates the reference image using the color profile compressed to a color reproduction range of the reading device while maintaining the gradation of color values of the inspection area in the printed matter that are outside the color reproduction range of the reading device.
13. An image processing device comprising:
2. a first acquisition means for acquiring parameters to be applied to the color profile; the first acquisition means acquires the parameter for compressing a color value of the inspection area of the printed matter within a color reproduction range of the reading device while maintaining a gradation within a range of color variation values to be detected as a print defect, when the color value of the inspection area of the printed matter is outside the color reproduction range of the reading device; The generating means generates the reference image by using the color profile to which the parameters acquired by the first acquiring means are applied.
2. The image processing device according to claim 1,
3. a second acquisition means for acquiring device information indicating a color reproduction characteristic of the printing device, device information indicating a color reproduction characteristic of the reading device, and inspection area information indicating a degree of importance of a defect determination for an inspection area of the printed matter, The first acquisition means acquires the parameter for compressing the color values of the inspection area determined to have a high importance in the defect determination within a color reproduction range of the reading device while maintaining the gradation of the color values of the inspection area determined to have a high importance in the defect determination, based on the inspection area information acquired by the second acquisition means, when the color values of the inspection areas are distributed within the same hue.
3. The image processing device according to claim 2.
4. a user interface for receiving user input; The second acquisition means acquires the inspection area information indicating the importance of the defect determination set by a user input received via the user interface.
4. The image processing device according to claim 3.
5. The user interface includes an image display area for displaying an image represented by the image data, and a setting area for receiving settings of the inspection area and a color variation level representing the importance of the defect determination in the inspection area in the image displayed in the image display area.
5. The image processing device according to claim 4.
6. The parameters are a table or a function that represents the correspondence between the direction of the hue angle to be compressed, the direction of the lightness value, and the input and output of the saturation.
3. The image processing device according to claim 2.
7. The generating means generates the reference image using the color profile to which a compression method that minimizes color difference between the color value of the inspection area and the color value within the color reproduction range of the reading device is applied when the color value of the inspection area in the printed matter output from the printing device is within the color reproduction range of the reading device.
2. The image processing device according to claim 1,
8. The image data acquisition device further includes a third acquisition means for acquiring the image data.
2. The image processing device according to claim 1,
9. An image processing method for inspecting a printed matter based on image data used for printing, comprising the steps of: a generating step of converting color values of the image data using a color profile that associates color values within a color reproduction range of a printing device that performed the printing with color values within a color reproduction range of a reading device that reads the printed matter, to generate a reference image for the inspection; In the generating step, the reference image is generated using the color profile compressed to within the color reproduction range of the reading device while maintaining the gradation of color values that are outside the color reproduction range of the reading device among the color values of the inspection area in the printed matter.
13. An image processing method comprising:
10. A program for causing a computer to function as each of the means of the image processing apparatus according to claim 1.
Citation Information
Patent Citations
Printing system and image forming apparatus
JP2013179546A
