Image processing device, image processing method, and program
The image processing device enhances code recognition accuracy by identifying and compensating for nozzle malfunctions in inkjet printing devices, ensuring accurate linking of codes to original image data.
Patent Information
- Application Number
- JP2021134890
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-08-20
- Publication Date
- 2026-01-15
- Estimated Expiration
- 2041-08-20
AI Technical Summary
Defects in printed materials due to nozzle malfunctions in inkjet printing devices, such as clogging or air bubbles, can cause incomplete or incorrect code recognition, linking the code to incorrect original image data.
An image processing device that identifies malfunctioning nozzles and adjusts the ink color used for recording codes by excluding the malfunctioning nozzles, ensuring accurate code recognition.
Improves the accuracy of code recognition by avoiding defective areas in printed materials.
Smart Images

Figure 0007799403000001 
Figure 0007799403000002 
Figure 0007799403000003
Abstract
Description
[Technical Field]
[0001] The present invention relates to a technique for inspecting a recorded matter output from a recording device. [Background technology]
[0002] In recent years, the number of recording devices that perform variable printing has been increasing. Variable printing refers to the continuous printing of different designs on each sheet without using plates.
[0003] In Patent Document 1, identification information representing the original image data linked to each page of the recorded material to be inspected is recorded. The identification information is recorded in the form of a one-dimensional barcode, a two-dimensional barcode, or a numerical value (hereinafter collectively referred to as a code), and the code is read at the same time as the recorded material to be inspected, and the code is compared in association with the original data to inspect the quality of the recorded material. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] Japanese Patent Application Laid-Open No. 2011-248577 Summary of the Invention [Problem to be solved by the invention]
[0005] Defects can occur in printed materials due to various factors in the device. In particular, in inkjet printing devices, defects can occur due to malfunctions in the printing nozzles, such as clogging due to ink solidifying in the printing nozzles, dirt adhesion near the nozzles, or difficulty in ejecting ink due to large air bubbles that span the common flow path for each nozzle. If a defective area overlaps the printing area of a code, part of the code will be missing, making it impossible to analyze the code, or there is a risk that the code will be linked to original image data that is different from the original image data that it represents as a comparison target.
[0006] Therefore, an object of the present invention is to improve the accuracy of code recognition. [Means for solving the problem]
[0007] An image processing device according to one aspect of the present invention is an image processing device that generates image data for a recording device having a plurality of nozzle arrays including nozzles that eject ink onto a recording medium based on image data to form an image, and is characterized by comprising: a memory unit that acquires and stores information identifying a nozzle that is experiencing a malfunction in ejecting ink among the nozzles corresponding to a recording position where a code for identifying one or more images to be imposed in a recording area on the recording medium is recorded on the recording medium; and a generation unit that determines the ink color to be used for recording the code based on the information by excluding the ink color corresponding to the nozzle from candidates for ink color to be used for recording the code, and generates the image data according to the determined ink color. [Effects of the Invention]
[0008] According to the present invention, the accuracy of code recognition can be improved. [Brief explanation of the drawings]
[0009] [Figure 1] FIG. 1 is a schematic diagram of a recording system. [Figure 2] FIG. 2 is a perspective view of a recording unit. [Figure 3] FIG. 10 is an explanatory diagram of a displacement mode of a recording unit. [Figure 4] FIG. 2 is a block diagram of a control system of the printing system. [Figure 5] FIG. 2 is a block diagram of a control system of the printing system. [Figure 6] FIG. 2 is an explanatory diagram illustrating an example of the operation of the recording system. [Figure 7] FIG. 2 is an explanatory diagram illustrating an example of the operation of the recording system. [Figure 8] FIG. 2 is a diagram showing the nozzle arrangement of a print head. [Figure 9] FIG. 4 is a flowchart illustrating processing in an image processing unit. [Figure 10] FIG. 10 is a flow chart illustrating processing in an inspection unit. [Figure 11] FIG. 10 is a flowchart of a process for generating manuscript data. [Figure 12] 10 is an example of imposition data. [Figure 13] FIG. 10 is a diagram showing a flow of generating code data. [Figure 14] FIG. 10 is a diagram showing a flow for determining the ink color to be used for recording the code. [Figure 15] FIG. 10 is an explanatory diagram of recording nozzles corresponding to the position of a code embedding area. [Figure 16] 10 is a flow diagram for determining the amount of ink of each color used to record a code. [Figure 17] FIG. 10 is a diagram showing a part of a lookup table used in the ink color conversion processing unit. [Figure 18] 10 shows an example of a pattern for determining the amount of ink. [Figure 19] FIG. 10 is a diagram showing a flow of code analysis performed in a code analysis unit. [Figure 20] FIG. 10 is a diagram showing a flow of image processing executed on a code embedding area. DETAILED DESCRIPTION OF THE INVENTION
[0010] <<Embodiment 1>> An embodiment of the present invention will be described with reference to the drawings. In each drawing, arrows X and Y indicate the horizontal direction and are perpendicular to each other, and arrow Z indicates the vertical direction.
[0011] <Recording System> FIG. 1 is a front view showing a schematic diagram of a recording system 1 according to one embodiment of the present invention. The recording system 1 is a sheet-fed inkjet printer that produces a recorded matter P' by transferring an ink image to a recording medium P via a transfer body 2. The recording system 1 includes a recording device 1A and a transport device 1B. In this embodiment, the X direction, Y direction, and Z direction respectively indicate the width direction (total length direction), depth direction, and height direction of the recording system 1. The recording medium P is transported in the X direction.
[0012] "Recording" not only includes the formation of meaningful information such as characters and figures, but also includes the formation of images, patterns, designs, etc. on a recording medium, whether meaningful or insignificant, or the processing of the medium, regardless of whether it is manifested in a way that can be perceived visually by humans. In addition, although sheet-like paper is assumed as the "recording medium" in this embodiment, it may also be cloth, plastic film, etc.
[0013] There are no particular limitations on the ink components, but in this embodiment, it is assumed that an aqueous pigment ink containing a pigment as a coloring material, water, and a resin is used.
[0014] <Recording device> The recording apparatus 1A includes a recording unit 3, a transfer unit 4, peripheral units 5A to 5D, and a supply unit 6.
[0015] <Recording Unit> The recording unit 3 includes a plurality of recording heads 30 and a carriage 31. Please refer to Figures 1 and 2. Figure 2 is a perspective view of the recording unit 3. The recording heads 30 eject liquid ink onto the transfer body 2 to form an ink image of a recording image on the transfer body 2.
[0016] In this embodiment, each recording head 30 is a full-line head extending in the Y direction, with nozzles arranged across a range covering the width of the image recording area of the largest usable recording medium. The recording head 30 has an ink ejection surface with nozzles on its underside, which faces the surface of the transfer body 2 via a small gap (e.g., a few millimeters). FIG. 8 is a diagram showing the nozzle arrangement of the recording head 30. As shown in the figure, the recording head 30 has multiple ejection substrates 301, 302, 303, 304, etc., arranged in an overlapping state in the Y direction. Each ejection substrate has eight nozzle arrays a-h arranged in the nozzle arrangement direction. The nozzle spacing in the Y direction of each nozzle array is 1200 dpi. Here, nozzle arrays a-d are arranged with a shift of 1 / 4 of 1200 dpi in the x direction, and nozzle array a and nozzle array e are located at the same position on the Y coordinate. Similarly, nozzle arrays b and f, nozzle arrays c and g, and nozzle arrays d and h are located at the same position on the Y coordinate. In nozzle arrays arranged at the same position on the Y coordinate, dots ejected from each nozzle array can be overlapped and recorded at the same coordinate on the recording medium P. Ejection substrates 301, 302, 303, 304... are arranged along the nozzle arrangement direction, and multiple recording heads 30, each with an array of similar nozzles, are arranged in a direction intersecting the nozzle arrangement direction. An image is recorded by ejecting multiple colors of ink onto corresponding areas on the recording medium.
[0017] In this embodiment, the transfer body 2 is configured to move cyclically on a circular orbit, and therefore the multiple recording heads 30 are arranged radially.
[0018] Each nozzle is provided with an ejection element. The ejection element is, for example, an element that generates pressure inside the nozzle to eject ink inside the nozzle, and known inkjet head technology of inkjet printers can be applied to the ejection element. Examples of the ejection element include an element that ejects ink by causing film boiling in the ink using an electro-thermal converter to form bubbles, an element that ejects ink using an electro-mechanical converter, and an element that ejects ink using static electricity. From the perspective of high-speed, high-density recording, an ejection element that uses an electro-thermal converter can be used.
[0019] In this embodiment, nine recording heads 30 are provided. Each recording head 30 ejects a different type of ink. The different types of ink are, for example, inks with different color materials, such as yellow ink, magenta ink, cyan ink, and black ink. One recording head 30 ejects one type of ink, but one recording head 30 may be configured to eject multiple types of ink. When multiple recording heads 30 are provided in this manner, some of them may eject ink that does not contain a color material (for example, clear ink).
[0020] The carriage 31 supports a plurality of recording heads 30. The end of each recording head 30 on the ink ejection surface side is fixed to the carriage 31. This makes it possible to maintain a more precise gap between the ink ejection surface and the surface of the transfer body 2. The carriage 31 is configured to be displaceable while carrying the recording heads 30, guided by a guide member RL. In this embodiment, the guide member RL is a rail member extending in the Y direction, and a pair of guide members RL are provided spaced apart in the X direction. A slide portion 32 is provided on each side of the carriage 31 in the X direction. The slide portion 32 engages with the guide member RL and slides in the Y direction along the guide member RL.
[0021] <Transfer unit> The transfer unit 4 will be described with reference to Figure 1. The transfer unit 4 includes a transfer drum (transfer cylinder) 41 and an impression cylinder 42. These cylinders are rotating bodies that rotate around a rotation axis in the Y direction and have cylindrical outer surfaces. In Figure 1, the arrows shown within the figures of the transfer drum 41 and impression cylinder 42 indicate their rotation directions, with the transfer drum 41 rotating clockwise and the impression cylinder 42 rotating counterclockwise.
[0022] The transfer drum 41 is a support that supports the transfer body 2 on its outer circumferential surface. The transfer body 2 is provided continuously or intermittently in the circumferential direction on the outer circumferential surface of the transfer drum 41. When provided continuously, the transfer body 2 is formed in an endless band shape. When provided intermittently, the transfer body 2 is formed in an endless band shape divided into a plurality of segments, and each segment can be arranged in an arc shape at equal pitch on the outer circumferential surface of the transfer drum 41.
[0023] The transfer body 2 moves cyclically on a circular orbit due to the rotation of the transfer drum 41. Depending on the rotation phase of the transfer drum 41, the position of the transfer body 2 can be divided into a pre-discharge treatment region R1, a discharge region R2, post-discharge treatment regions R3 and R4, a transfer region R5, and a post-transfer treatment region R6. The transfer body 2 passes through these regions cyclically.
[0024] The pre-ejection treatment region R1 is a region where pre-treatment of the transfer body 2 is performed before the recording unit 3 ejects ink, and is a region where treatment is performed by the peripheral unit 5A. In this embodiment, a reaction liquid is applied. The ejection region R2 is a formation region where the recording unit 3 ejects ink onto the transfer body 2 to form an ink image. The post-ejection treatment regions R3 and R4 are treatment regions where treatment is performed on the ink image after the ink is ejected, and the post-ejection treatment region R3 is a region where treatment is performed by the peripheral unit 5B, and the post-ejection treatment region R4 is a region where treatment is performed by the peripheral unit 5C. The transfer region R5 is a region where the ink image on the transfer body 2 is transferred to the recording medium P by the transfer unit 4. The post-transfer treatment region R6 is a region where post-treatment of the transfer body 2 is performed after transfer, and is a region where treatment is performed by the peripheral unit 5D.
[0025] In this embodiment, the discharge region R2 is a region having a fixed interval. The intervals of the other regions R1, R3 to R6 are narrower than that of the discharge region R2. If we compare it to a clock face, in this embodiment, the pre-discharge processing region R1 is approximately at the 10 o'clock position, the discharge region R2 is approximately between 11 o'clock and 1 o'clock, the post-discharge processing region R3 is approximately at the 2 o'clock position, and the post-discharge processing region R4 is approximately at the 4 o'clock position. The transfer region R5 is approximately at the 6 o'clock position, and the post-transfer processing region R6 is approximately at the 8 o'clock position.
[0026] The outer peripheral surface of the impression cylinder 42 is pressed against the transfer body 2. At least one gripping mechanism that holds the leading edge of the recording medium P is provided on the outer peripheral surface of the impression cylinder 42. A plurality of gripping mechanisms may be provided spaced apart in the circumferential direction of the impression cylinder 42. While the recording medium P is transported in close contact with the outer peripheral surface of the impression cylinder 42, the ink image on the transfer body 2 is transferred to the recording medium P as it passes through the nip between the impression cylinder 42 and the transfer body 2.
[0027] The transfer drum 41 and the impression cylinder 42 are driven by a common drive source such as a motor, and the drive force can be distributed by a transmission mechanism such as a gear mechanism.
[0028] <Peripheral units> The peripheral units 5A to 5D are arranged around the transfer drum 41. In the present embodiment, the peripheral units 5A to 5D are, in order, an application unit, an absorption unit, a heating unit, and a cleaning unit.
[0029] The application unit 5A is a mechanism that applies a reaction liquid onto the transfer body 2 before the recording unit 3 ejects ink. The reaction liquid is a liquid containing a component that increases the viscosity of the ink. Here, increasing the viscosity of the ink means that the coloring material, resin, etc. that make up the ink come into contact with the component that increases the viscosity of the ink and chemically react or physically adsorb to it, resulting in an increase in the viscosity of the ink. This increase in viscosity of the ink includes not only cases in which an increase in viscosity is observed throughout the ink, but also cases in which a local increase in viscosity occurs due to aggregation of some of the components that make up the ink, such as the coloring material or resin.
[0030] The component that increases the viscosity of the ink is not particularly limited and may be a metal ion, a polymer flocculant, or the like. However, a substance that changes the pH of the ink and causes the coloring material in the ink to flocculate can be used, and organic acids can also be used. Examples of mechanisms for applying the reaction liquid include a roller, a recording head, a die coating device (die coater), and a blade coating device (blade coater). Applying the reaction liquid to the transfer body 2 before ejecting the ink onto the transfer body 2 allows the ink that reaches the transfer body 2 to be fixed immediately. This can prevent adjacent inks from mixing with each other, resulting in bleeding.
[0031] The absorption unit 5B is a mechanism that absorbs liquid components from the ink image on the transfer body 2 before transfer. By reducing the liquid components in the ink image, it is possible to suppress bleeding of the image recorded on the recording medium P. From a different perspective, the reduction in liquid components can also be expressed as concentrating the ink that makes up the ink image on the transfer body 2. Concentrating the ink means that the ratio of solid components, such as coloring materials and resins contained in the ink, to the liquid components increases as the liquid components contained in the ink decrease.
[0032] The absorption unit 5B includes, for example, a liquid absorbing member that contacts the ink image to reduce the amount of liquid in the ink image. The liquid absorbing member may be formed on the outer peripheral surface of a roller, or the liquid absorbing member may be formed in the form of an endless sheet that travels in a circular motion. From the viewpoint of protecting the ink image, the moving speed of the liquid absorbing member may be set to the same as the peripheral speed of the transfer body 2, so that the liquid absorbing member moves in synchronization with the transfer body 2.
[0033] The liquid absorbing member may include a porous body that comes into contact with the ink image. To prevent ink solids from adhering to the liquid absorbing member, the pore size of the porous body on the surface that comes into contact with the ink image may be 10 μm or less. Here, the pore size refers to the average diameter, and can be measured by known methods, such as mercury porosimetry, nitrogen adsorption, or SEM image observation. The liquid component is not particularly limited as long as it does not have a fixed shape, is fluid, and has a substantially constant volume. Examples of liquid components include water and organic solvents contained in ink and reaction liquid.
[0034] The heating unit 5C is a mechanism for heating the ink image on the transfer body 2 before transfer. Heating the ink image melts the resin in the ink image, improving its transferability to the recording medium P. The heating temperature can be set to a temperature equal to or higher than the minimum film-forming temperature (MFT) of the resin. The MFT can be measured using commonly known methods, such as devices conforming to JIS K 6828-2:2003 or ISO 2115:1996. From the perspective of transferability and image robustness, heating may be performed at a temperature 10°C or higher than the MFT, or even 20°C or higher. The heating unit 5C can use known heating devices, such as various infrared lamps and hot air fans. From the perspective of heating efficiency, an infrared heater can be used.
[0035] The cleaning unit 5D is a mechanism that cleans the surface of the transfer body 2 after transfer. The cleaning unit 5D removes ink remaining on the transfer body 2, dust, etc. The cleaning unit 5D can appropriately use known methods such as a method of bringing a porous member into contact with the transfer body 2, a method of rubbing the surface of the transfer body 2 with a brush, or a method of scraping the surface of the transfer body 2 with a blade. The cleaning member used for cleaning can have known shapes such as a roller shape or a web shape.
[0036] As described above, in this embodiment, the application unit 5A, absorption unit 5B, heating unit 5C, and cleaning unit 5D are provided as peripheral units, but some of these units may be provided with a cooling function for the transfer body 2, or a cooling unit may be added. In this embodiment, the temperature of the transfer body 2 may rise due to the heat from the heating unit 5C. After ink is ejected onto the transfer body 2 by the recording unit 3, if the ink image exceeds the boiling point of water, which is the main solvent of the ink, the ability of the absorption unit 5B to absorb liquid components may decrease. By cooling the transfer body 2 so that the temperature of the ejected ink is maintained below the boiling point of water, the ability to absorb liquid components can be maintained.
[0037] The cooling unit may be an air blowing mechanism that blows air onto the transfer body 2, or a mechanism that brings a member (e.g., a roller) into contact with the transfer body 2 and cools this member with air or water. It may also be a mechanism that cools the cleaning member of the cleaning unit 5D. The cooling timing may be the period after transfer and before the application of the reaction liquid.
[0038] <Supply unit> The supply unit 6 is a mechanism that supplies ink to each recording head 30 of the recording unit 3. The supply unit 6 may be provided at the rear side of the recording system 1. The supply unit 6 includes a storage section TK that stores ink for each type of ink. The storage section TK may be composed of a main tank and a sub-tank. Each storage section TK and each recording head 30 are connected by a flow path 6a, and ink is supplied from the storage section TK to the recording head 30. The flow path 6a may be a flow path that circulates ink between the storage section TK and the recording head 30, and the supply unit 6 may include a pump or the like that circulates ink. A degassing mechanism that degasses air bubbles in the ink may be provided midway along the flow path 6a or in the storage section TK. A valve that adjusts the liquid pressure of the ink and atmospheric pressure may be provided midway along the flow path 6a or in the storage section TK. The height of the reservoir TK and the recording head 30 in the Z direction may be designed so that the ink liquid level in the reservoir TK is lower than the ink ejection surface of the recording head 30.
[0039] <Conveyor equipment> The transport device 1B is a device that feeds the recording medium P to the transfer unit 4 and discharges the recorded material P' with the ink image transferred thereto from the transfer unit 4. The transport device 1B includes a feed unit 7, multiple transport cylinders 8, 8a, two sprockets 8b, a chain 8c, and a collection unit 8d. In FIG. 1, the arrows inside the diagrams of each component of the transport device 1B indicate the direction of rotation of that component, and the arrows outside indicate the transport path of the recording medium P or the recorded material P'. The recording medium P is transported from the feed unit 7 to the transfer unit 4, and the recorded material P' is transported from the transfer unit 4 to the collection unit 8d. The side of the feed unit 7 is sometimes referred to as the upstream side in the transport direction, and the side of the collection unit 8d is sometimes referred to as the downstream side.
[0040] The feeding unit 7 includes a stacking section on which a plurality of recording media P are stacked, and a feeding mechanism that feeds the recording media P one by one from the stacking section to the most upstream conveying drum 8. Each conveying drum 8, 8a is a rotating body that rotates around an axis of rotation in the Y direction and has a cylindrical outer circumferential surface. At least one gripping mechanism that holds the leading edge of the recording medium P (or recorded matter P') is provided on the outer circumferential surface of each conveying drum 8, 8a. The gripping and releasing operations of each gripping mechanism are controlled so that the recording media P can be passed between adjacent conveying drums.
[0041] The two transport cylinders 8a are transport cylinders for reversing the recording medium P. When double-sided recording is performed on the recording medium P, after transfer to the front side, the recording medium P is passed to the transport cylinder 8a rather than being passed from the impression cylinder 42 to the adjacent transport cylinder 8 on the downstream side. The recording medium P is reversed as it passes through the two transport cylinders 8a, and is passed again to the impression cylinder 42 via the transport cylinder 8 upstream of the impression cylinder 42. As a result, the back side of the recording medium P faces the transfer drum 41, and the ink image is transferred to the back side.
[0042] The chain 8c is wound around two sprockets 8b. One of the two sprockets 8b is a drive sprocket and the other is a driven sprocket. The rotation of the drive sprocket causes the chain 8c to run cyclically. The chain 8c is provided with a plurality of gripping mechanisms spaced apart in its longitudinal direction. The gripping mechanisms grip the ends of the recorded material P'. The recorded material P' is passed from the transport drum 8 located at the downstream end to the gripping mechanism of the chain 8c, and the recorded material P' gripped by the gripping mechanism is transported to the collection unit 8d by the movement of the chain 8c, where it is released from the gripping. As a result, the recorded material P' is loaded into the collection unit 8d.
[0043] <Post-processing unit> The conveying device 1B is provided with post-processing units 10A and 10B. The post-processing units 10A and 10B are arranged downstream of the transfer unit 4 and are mechanisms for performing post-processing on the recorded matter P'. The post-processing unit 10A performs processing on the front side of the recorded matter P', while the post-processing unit 10B performs processing on the back side of the recorded matter P'. Examples of the processing include coating the image-recorded surface of the recorded matter P' for the purposes of protecting the image or adding gloss. Examples of the coating include applying a liquid, welding a sheet, laminating, etc.
[0044] <Inspection unit> The conveying device 1B is provided with inspection units 9A and 9B. The inspection units 9A and 9B are arranged downstream of the transfer unit 4 and are mechanisms for inspecting the recorded matter P'.
[0045] In this embodiment, the inspection unit 9A is an imaging device that captures images recorded on the recorded matter P' and includes, for example, an imaging element such as a CCD sensor or a CMOS sensor. The inspection unit 9A captures the recorded images during continuous recording operations. Based on the images captured by the inspection unit 9A, it is possible to check changes over time in the color of the recorded image and determine whether or not the image data or recorded data needs to be corrected. The inspection unit 9A in this embodiment is set with an imaging range that can capture the entire surface of the recorded matter P'.
[0046] In this embodiment, the inspection unit 9B is also an imaging device that captures an image recorded on the recorded matter P', and includes an imaging element such as a CCD sensor or a CMOS sensor. The inspection unit 9B captures the recorded image during the test recording operation. The inspection unit 9B captures the entire recorded image, and can perform basic settings for various corrections related to the recorded data based on the image captured by the inspection unit 9B. In this embodiment, the inspection unit 9B is disposed in a position where it can capture an image of the recorded matter P' transported by the chain 8c. When the inspection unit 9B captures the recorded image, it temporarily stops the movement of the chain 8c and captures the entire image. The inspection unit 9B may be a scanner that scans the recorded matter P'.
[0047] <Control unit> Next, we will explain the control unit of the recording system 1. Figures 4 and 5 are block diagrams of the control unit 13 of the recording system 1. The control unit 13 is communicatively connected to a higher-level device (DFE) HC2, and the higher-level device HC2 is communicatively connected to a host device HC1.
[0048] In the host device HC1, manuscript data that is the source of the recorded image is generated or saved. The manuscript data here is generated in the form of an electronic file such as a document file or an image file. When this manuscript data is generated, an inspection code that is used for inspection when the manuscript data is recorded is embedded in the manuscript data that will be the deliverable. The method of embedding the code will be described in detail in the embodiment described later.
[0049] This original data is transmitted to the host device HC2, and the host device HC2 converts the received original data into a data format (for example, RGB data that expresses an image in RGB) that can be used by the control unit 13. The converted data is transmitted as image data from the host device HC2 to the control unit 13, and the control unit 13 starts a recording operation based on the received image data.
[0050] In this embodiment, the control unit 13 is roughly divided into a main controller 13A and an engine controller 13B. The main controller 13A includes a processing unit 131, a storage unit 132, an operation unit 133, an image processing unit 134, a communication I / F (interface) 135, a buffer 136, a communication I / F 137, and an inspection unit 138.
[0051] The processing unit 131 is a processor such as a CPU, which executes programs stored in the storage unit 132 and controls the entire main controller 13A. The storage unit 132 is a storage device such as a RAM, a ROM, a hard disk, or an SSD, which stores programs and data executed by the CPU 131, and also provides a work area for the CPU 131. The operation unit 133 is an input device such as a touch panel, a keyboard, or a mouse, which receives instructions from a user.
[0052] The image processing unit 134 is, for example, an electronic circuit having an image processing processor. The buffer 136 is, for example, a RAM, a hard disk, or an SSD. The communication I / F 135 communicates with the upper device HC2, and the communication I / F 137 communicates with the engine controller 13B. In FIG. 4, the dashed arrows illustrate the flow of image data processing. Image data received from the upper device HC2 via the communication I / F 135 is accumulated in the buffer 136. The image processing unit 134 reads the image data from the buffer 136, performs predetermined image processing on the read image data, and stores the image data again in the buffer 136. The image data after image processing stored in the buffer 136 is transmitted from the communication I / F 137 to the engine controller 13B as print data to be used by the print engine.
[0053] FIG. 9 is a flowchart illustrating the processing in the image processing unit 134.
[0054] An input unit 901 receives image data transmitted from the buffer 136 and passes it to an image processing unit 134. The image processing unit 134 is made up of an ink color conversion processing unit 902, an HS (Head Shading) processing unit 903, a tone curve correction unit 904, and a quantization processing unit 905.
[0055] An input unit 901 inputs RGB data from the host device HC2. The input RGB data is image data (R, G, B) of the color reproduction range of the recording device 1A, each of which is 8 bits, and has a resolution of 600 dpi.
[0056] The ink color conversion processing unit 902 converts the input (R, G, B) image data, each of which has 8 bits, into image data for the inks used in the printing device 1A. The printing device 1A of this embodiment uses cyan ink (C), magenta ink (M), yellow ink (Y), and black ink (K). Image data consisting of RGB signal values is converted into image data consisting of 8-bit color signals for each of CMYK. This color conversion is performed using known techniques such as matrix calculation processing or processing using a three-dimensional lookup table. In this embodiment, a three-dimensional lookup table is used, and conversion processing is performed using interpolation calculations in combination. The processing by the ink color conversion processing unit 902 may also be performed before input to the input unit 901. In this case, image data consisting of 8 bits for each of K, C, M, and Y is input to the input unit 901.
[0057] The HS (Head Shading) processing unit 903 receives 8-bit color signals for each of K, C, M, and Y, and converts the 8-bit data for each ink color into image data for ink color signals that correspond to the characteristics of each nozzle constituting the print head, such as the ejection volume. This converts the data into image data for uniform printing in accordance with density variations resulting from the characteristics of each nozzle, such as the ejection volume. In this embodiment, this processing is performed using a one-dimensional lookup table.
[0058] The tone curve correction unit 904 adjusts the number of dots to be printed by the output unit 906 for each ink color based on image data consisting of 8-bit ink color signals that have undergone HS processing. The relationship between the number of dots printed on the recording medium and the brightness is not always linear, so the tone curve correction unit 904 corrects each 8-bit image data so that this relationship becomes linear, adjusting the number of dots to be printed on the recording medium.
[0059] The quantization processing unit 905 performs quantization processing on the 8-bit image data for each ink color processed by the tone curve correction unit 904 to obtain 1-bit binary data. In this process, in this embodiment, the data is first converted into 3-bit, 5-value index data of 0 to 4 for each ink color. This index data 0 to 4 corresponds to a pattern in which 0 to 4 dots are arranged in 2 pixels x 2 pixels at a resolution of 1200 dpi. The configuration of the quantization processing unit 905 is not limited to this example. For example, it may also be possible to directly binarize 8-bit image data to determine whether or not ink is being ejected. Furthermore, although this embodiment uses dithering as the quantization processing method, other quantization techniques such as error diffusion may also be used.
[0060] The output unit 906 drives the print head and ejects ink of each color onto the print medium based on the dot data obtained by quantization. Specifically, the output unit 906 is configured by the printing system 1 shown in Figure 1. The inspection unit 138 is an inspection processing unit that inspects the printed matter P'.
[0061] 10 is a flow diagram illustrating the processing in the inspection section 138. An inspection image input section 1001 inputs an image (hereinafter referred to as an inspection image) captured by the inspection unit 9A described above to the inspection section 138. The inspection image is an image of the recorded matter P' to be inspected.
[0062] The code analysis unit 1002 acquires and analyzes the inspection code area from the input inspection image. The code area can be acquired using existing technology such as pattern matching. The code is analyzed using a predetermined existing technology that conforms to the code standard. Then, information expressed as numbers or letters embedded in the code is acquired. This information represents the identifier of the manuscript data of the recorded object P' to be inspected.
[0063] The comparison data collator 1003 acquires manuscript data of the recorded material P' to be inspected using the information acquired by the code analyzer 1002. Then, after performing predetermined image processing on the inspection image and the manuscript data, they are compared and an area where a difference equal to or greater than a preset standard is detected is determined to be defective. The comparison method may, for example, involve determining the difference in signal values of corresponding pixels between the inspection image and the manuscript data, or may involve calculating feature amounts including color, shape, etc. to determine the difference in corresponding areas. Alternatively, without setting a preset standard, the inspection image and manuscript data may be input into a machine-learned learning model to determine defective areas.
[0064] The test result output unit 1005 displays the test results on a display screen such as a monitor (not shown) to notify the person operating the recording system 1. If necessary, the test results are also transmitted to the host device HC1, the memory unit 132, the engine controller 13B, etc.
[0065] 5, engine controller 13B includes control units 14, 15A to 15E, and acquires detection results and controls the drive of sensors and actuators 16 included in recording system 1. Each of these control units includes a processor such as a CPU, a storage device such as a RAM or a ROM, and an interface with external devices. Note that the division of the control units is an example, and some control may be performed by multiple, further subdivided control units, or conversely, multiple control units may be integrated and their control contents may be performed by a single control unit.
[0066] The engine control unit 14 performs overall control of the engine controller 13B. The recording control unit 15A converts the recording data received from the main controller 13A into a data format, such as raster data, suitable for driving the recording heads 30. The recording control unit 15A controls the ejection of each recording head 30.
[0067] The transfer control unit 15B controls the application unit 5A, the absorption unit 5B, the heating unit 5C, and the cleaning unit 5D.
[0068] The reliability control unit 15C controls the supply unit 6, the recovery unit 12, and the drive mechanism that moves the recording unit 3 between the ejection position POS1 and the recovery position POS3.
[0069] The transport control unit 15D controls the driving of the transfer unit 4 and the transport device 1B.
[0070] The inspection control unit 15E controls the inspection unit 9B and the inspection unit 9A.
[0071] Of the sensor group and actuator group 16, the sensor group includes sensors that detect the position and speed of the moving part, sensors that detect temperature, image pickup elements, etc. The actuator group includes motors, electromagnetic solenoids, electromagnetic valves, etc.
[0072] <Example of operation> FIG. 6 is a diagram showing a schematic diagram of an example of a recording operation. While the transfer drum 41 and impression cylinder 42 are rotating, the following steps are cyclically performed. As shown in state ST1, first, the reaction liquid L is applied from the application unit 5A onto the transfer body 2. The area on the transfer body 2 to which the reaction liquid L has been applied moves as the transfer drum 41 rotates. When the area to which the reaction liquid L has been applied reaches under the recording head 30, as shown in state ST2, ink is ejected from the recording head 30 onto the transfer body 2. This forms an ink image IM. At this time, the ejected ink mixes with the reaction liquid L on the transfer body 2, promoting the aggregation of the colorant. The ejected ink is supplied to the recording head 30 from the reservoir TK of the supply unit 6.
[0073] The ink image IM on the transfer body 2 moves as the transfer body 2 rotates. When the ink image IM reaches the absorption unit 5B, the liquid components are absorbed from the ink image IM by the absorption unit 5B, as shown in state ST3. When the ink image IM reaches the heating unit 5C, the ink image IM is heated by the heating unit 5C, as shown in state ST4, causing the resin in the ink image IM to melt and form a film of the ink image IM. In synchronization with this formation of the ink image IM, the recording medium P is transported by the transport device 1B.
[0074] As shown in state ST5, the ink image IM and recording medium P reach the nip between the transfer body 2 and the impression cylinder 42, where the ink image IM is transferred to the recording medium P, producing a recorded matter P'. After passing through the nip, the image recorded on the recorded matter P' is photographed by the inspection unit 9A, and the recorded image is inspected. The recorded matter P' is transported to the collection unit 8d by the transport device 1B.
[0075] When the portion of the transfer body 2 on which the ink image IM was formed reaches the cleaning unit 5D, it is cleaned by the cleaning unit 5D as shown in state ST6. After cleaning, the transfer body 2 makes one rotation, and the transfer of the ink image to the recording medium P is repeated in the same procedure. For ease of understanding, the above explanation has been given assuming that one rotation of the transfer body 2 transfers one ink image IM to one recording medium P, but it is possible to continuously transfer ink images IM to multiple recording media P in one rotation of the transfer body 2.
[0076] Continuing such a recording operation will require maintenance of each recording head 30. Figure 7 shows an example of the operation during maintenance of each recording head 30. State ST11 shows a state in which the recording unit 3 is located at ejection position POS1. State ST12 shows a state in which the recording unit 3 passes through the auxiliary recovery position POS2, and while the recording unit 3 is passing through, the recovery unit 12 executes a process to recover the ejection performance of each recording head 30 of the recording unit 3. Thereafter, as shown in state ST13, with the recording unit 3 located at recovery position POS3, the recovery unit 12 executes a process to recover the ejection performance of each recording head 30.
[0077] <Generating manuscript data> The system configuration of the host device HC1 in this embodiment will be described with reference to FIG. 4. The host device HC1 has a code generation unit 201, a print data generation unit 202, a candidate area determination unit 203, and a storage unit 204. The code generation unit 201 generates an inspection code. The print data generation unit 202 combines the code generated by the code generation unit 201 with imposition data in which an image is imposed in a print area. In other words, the code is embedded in the imposition data. The candidate area determination unit 203 determines the position at which to embed the inspection code. The storage unit 204 is a storage device such as RAM, ROM, a hard disk, or an SSD, and stores programs or data executed by the CPU of the host device HC1, or provides a work area for the CPU.
[0078] 11 is a diagram illustrating the flow of the manuscript data generation process performed by the host device HC1 in this embodiment. This flow is a process executed by the code generation unit 201, the print data generation unit 202, or the candidate area determination unit 203 provided in the host HC1. In other words, it is realized by the CPU of the host device HC1 expanding a program stored in the ROM of the host device HC1 into the RAM and executing it. Note that the symbol "S" in the explanation of each process indicates a step in the flowchart.
[0079] In step S1101, the host device HC1 generates imposition data for an image to be printed. The generation of the imposition data will now be described.
[0080] FIG. 12 shows an example of imposition data generated in this embodiment. The imposition data is data in which one or more images are pasted onto one page, as shown by D1 to D15 in FIG. 12. One inspection code is embedded into each page of this imposition data. The embedded code contains information about the manuscript data to be compared when inspecting the quality of the imposition data, and the imposition data and manuscript data are linked by the embedded code. In this example, the first page data D1 contains four images, image 11, image 12, image 13, and image 14, imposed in an aligned manner with the same size. The images imposed on one page may be the same or different. Note that the first page, on which images 11, 12, 13, and 14 are imposed, is cut into four pieces so that each piece of imposition data remains before or after comparison with the manuscript data for inspection. The other pages are also cut so that only the imposition data remains. The second page data D2 contains only image 21 imposed in the center. The third page of data D3 has images 31 and 32 imposed thereon. The last page is the 15th page, and the 15th page of data D15 has images 151 and 152 imposed thereon. Here, the length and width of the data D1, D2, D3, ..., D15 are assumed to be the size of the recording medium P loaded in the feeding unit 7.
[0081] Returning to the description of FIG. 11, in S1102, the host device HC1 acquires the number of pages M of the imposition data. In this embodiment, M=15 as shown in FIG. 12. In S1103, the host device HC1 determines the position of the code embedding area R. The code embedding area R is determined to be common to all pages, taking into account the area of the image arranged on each page of the imposition data, and is an area that does not overlap any image. Furthermore, it is desirable that the size of the code embedding area R encompasses the size recommended for each code standard, which will be described later. The shaded area shown on each page of the imposition data in FIG. 12 is the code embedding area R in this embodiment. It can be seen that it has been determined to be an area that is inside the printable area Rmax specific to the recording device and that does not overlap with the images arranged on each page.
[0082] In S1104, the host device HC1 sets the page to be processed as m=1, and starts the process of embedding an inspection code in the first page of the document.
[0083] In S1105, the host device HC1 generates data for an inspection code to be embedded in the first page of data D1. The information on which the generated code is based is assumed to be based on the identification value of page m (the page being processed). The identification value is identification information representing the original image data to be compared for each page, such as a name identifying the image itself or an address in the storage unit 132 where the information is stored. As described above, in the case of imposition data in which multiple images are pasted onto a single page, one identification value can be used as meta information for the information on the multiple imposed images. For example, four images are imposed in D1, which means that one identification value is assigned to the data in the imposed state of four images. It is desirable to ensure the number of digits for the identification value of each page is determined based on the number of pages in the imposition data generated in S1101. For example, since the number of pages M of the imposition data in this embodiment is 15, a two-digit identification value should be ensured. For example, the identification value of the data type D1 for the first page should be set to "01." Alternatively, the maximum expected page count for the job sent to the recording device 1A may be secured and set to, for example, a six-digit "000001." In this embodiment, the identification value of the data D1 for the first page is "000001." To convert the "000001" identification value of the data D1 for the first page into a code, the NW-7 standard is used. NW-7 is a typical code standard capable of encoding numerical values and predetermined symbols. The code standard is not limited to NW-7; ITF (Interleaved Two of Five), CODE39, or CODE128 may also be used. Depending on the standard used, restrictions such as the number of symbols, alphabets, or digits that can be used in addition to numerical values vary. It is desirable to select an appropriate code based on the content and size of the information to be included in the code. Furthermore, instead of the one-dimensional code described above, a two-dimensional code such as QR Code (registered trademark) may also be used. In any case, it is preferable that the size of the code to be created meets the recommended size for each standard. The method for generating code data will be described later with reference to FIG. 13.
[0084] In S1106, the host device HC1 combines the code generated in S1105 with the data D1 so that the code is embedded in m=1, i.e., the data D1 of the first page. In S1107, the host device HC1 sets m=m+1 and starts the process of embedding the inspection code in the second page.
[0085] In S1108, the host device HC1 determines whether the value of m, which is the page to be processed, has reached the number of pages M that have been acquired. In other words, it checks whether processing for 15 pages has been completed. In this case, since processing for the second page has started, the process returns to S1105 and generates code to be embedded in the second page. The code to be embedded in the second page is generated from the identification value "000002" of the data D2 for the second page in FIG. 12. In the same manner, the process of embedding code in each page of the manuscript data is repeated until m=15.
[0086] In S1108, if the host device HC1 determines that m=M, that is, that processing has been completed for all acquired pages, it ends the flow. With the processing up to this point, one code can be embedded in each of the 15 pages of the imposition data.
[0087] Next, we will explain the method of generating code data in S1106 in Fig. 11. Fig. 13 is a diagram showing the flow of code data generation. This flow is realized by the CPU of the host device HC1 expanding a program stored in the ROM of the host device HC1 into the RAM and executing it.
[0088] In S1301, the host device HC1 generates a code pattern. As described above, the code is generated so that it has an identification value that includes information about the original image data to be compared. In S1302, the host device HC1 acquires the code embedding area R that was determined in advance in S1103. In S1303, the host device HC1 determines the ink color to be used to print the code.
[0089] 14 is a diagram showing the flow in which the host device HC1 determines the ink colors to use in printing the code. In S1401, the host device HC1 determines multiple candidate ink colors for printing the code. In this embodiment, the candidates are three colors of ink: cyan ink, magenta ink, and yellow ink, which are some of the ink colors printable by the printing apparatus 1A. In S1402, the host device HC1 obtains the nozzle numbers of each color corresponding to the code embedding area R.
[0090] FIG. 15 is a diagram illustrating the print nozzles corresponding to the position of the code embedding region R. FIG. 15(a) illustrates the nozzle arrangement of the multiple print heads 30 described in FIG. 8 and the data D1 of the first page of the imposition data described in FIG. 12, with their relative positions in the Y direction aligned. In this embodiment, the multiple print heads 30 include print head 30C that ejects cyan ink, print head 30M that ejects magenta ink, and print head 30Y that ejects yellow ink. Correspondingly, the ejection substrates 301, 302, 303, 304, etc. are also arranged, for example, print head 30C is arranged with ejection substrates 301C, 302C, 303C, 304C, etc., respectively. The same applies to 30M and 30Y.
[0091] FIG. 15(b) is an enlarged view of discharge substrates 301C, 301M, and 301Y. Nozzle group N, indicated by a thick dashed line, is a collection of printing nozzles used to print code-embedded region R. Nozzle group N and region R are positioned in the same Y direction. Information identifying this nozzle group N is acquired in S1402. Nozzle group N is acquired using the discharge substrate number, such as 301C, 301M, or 301Y, the column numbers from columns a to h, and the nozzle numbers assigned sequentially from left to right in the Y direction. In S1402 of this embodiment, four nozzles, from the first nozzle to the fourth nozzle, are acquired for each of nozzle columns a to h on discharge substrates 301C, 301M, and 301Y. These can be acquired according to the coordinates of the code-embedded region R on the image.
[0092] Returning to the description of FIG. 14, in S1403, the host device HC1 acquires any known defective nozzles in the nozzle group N. As an example of a method for acquiring defective areas, information on defective areas for each printed material P′ detected by the inspection unit 138 is stored in advance in the storage unit 132 of the recording device 1A. If consecutive defects are detected at roughly the same positions in the Y direction for each printed material P′ from the stored information on defective areas, the nozzle at that Y position is determined to be defective, and the recording device 1A transmits information on the nozzle determined to be defective to the host device HC1. In this embodiment, as illustrated in FIG. 15(b), assume that ink stain D, which is interfering with ink ejection, is present on the ejection substrate 301Y, which is a nozzle for yellow ink. The first and second nozzles of nozzle row a and the first and second nozzles of nozzle row b, which are interfering with ejection due to this ink stain D, are stored as defective nozzles, and the host device HC1 acquires this information from the recording device 1A.
[0093] In S1404, the host device HC1 removes from the candidates the ink color that contains the defective nozzle. The candidate ink colors are the three colors determined in S1401: cyan ink, magenta ink, and yellow ink. In this embodiment, a defective nozzle was detected for yellow ink in S1403, so yellow ink is removed from the candidates. As a result, the candidate ink colors for recording the code are limited to two colors: cyan ink and magenta ink. In this way, removing known defective nozzles from the candidates reduces the chance of the code being recorded using a defective nozzle. This further improves the chance of accurately reading the code during inspection.
[0094] In S1405, the host device HC1 acquires from the printing device 1A the print positions caused by deviations in the ejection timing of each color. This deviation occurs when the ejection timing deviates from the ideal timing, causing the print positions to deviate by more than a predetermined value. The printing device 1A records the ink colors that have experienced deviations exceeding a predetermined allowable deviation amount in past printing operations, and in S1405 the host device HC1 acquires this deviation information from the printing device 1A.
[0095] In S1406, the host device HC1 removes the ink colors acquired in S1405 from the candidates. By removing from the candidates any colors whose printing positions deviate by more than a predetermined value from the ideal, it is possible to reduce the likelihood of inks of each color that should be printed overlapping each other being printed with a large relative deviation. This further improves the likelihood of accurately reading the code during inspection. In this embodiment, it is assumed that the printing positions of both cyan ink and magenta ink, which are candidates for ink to print the code, are within a predetermined allowable deviation amount, and these two colors remain as candidates. At this point, the host device HC1 ends the flow for determining the ink colors to use in printing the code.
[0096] In this embodiment, priority is given to recording the code using multiple ink colors, so if there are not enough ink colors left to use in recording the code, it is desirable to leave multiple ink colors for recording the code without excluding a specific ink color from the candidates in S1404 and S1406.
[0097] Returning to the explanation of Figure 13, in S1304, the host device HC1 acquires the ink amounts of each color used to print the code from the printing apparatus 1A. The ink amounts of each color are determined in advance by the printing apparatus 1A using the following ink amount determination flow.
[0098] 16 is a diagram showing the flow for determining the ink amount of each color used by the recording device 1A to record a code. Here, the case of determining the ink amount of cyan ink is explained as an example. This flow is realized by the CPU loading into RAM and executing a program stored in the ROM of the recording device 1A.
[0099] In S1601, the printing apparatus 1A creates a pattern for determining the ink amount. This pattern is image data for changing the amount of cyan ink in multiple stages and printing a predetermined code at each ink amount. The pattern for changing the amount of cyan ink in multiple stages is created as follows, with reference to the lookup table in Figure 17.
[0100] FIG. 17 shows an excerpt from a lookup table used by the ink color conversion processing unit 902. The excerpt shows RGB signal values associated with CMYK signal values when an image is formed using cyan ink. This identifies the RGB signal values of image data when an image is formed using cyan ink. Based on this, a predetermined code is created in which the G and B signal values are fixed at 255 and the R signal value is changed in 8-bit increments of, for example, 2. FIG. 18 shows an example of a pattern for determining ink amount. The (R, G, B) values of pattern 1801 are assumed to be (0, 255, 255). The signal values of pixels in the line areas indicated in black in the code are determined as follows: pattern 1802 is (2, 255, 255), pattern 1803 is (4, 255, 255), pattern 1804 is (6, 255, 255), pattern 1805 is (8, 255, 255), and so on. The signal value R is further increased, and pattern 1806 becomes (252, 255, 255), pattern 1807 becomes (254, 255, 255), and pattern 1808 becomes (255, 255, 255). In the pattern example diagram of Figure 18, the color does not change according to the signal value, but in reality, the pattern will have different darkness depending on the signal value. That is, in Figure 18, pattern 1801 actually has the darkest color, and pattern 1808 has the lightest color.
[0101] In S1602, the printing apparatus 1A prints image data of a pattern for ink amount determination. This printing is performed using the printing system 1. In S1603, the printing apparatus 1A reads the printed matter P' on which the pattern for ink amount determination printed in S1602 is printed. This reading is performed using the inspection unit 9A.
[0102] In S1604, the recording device 1A performs appropriate image processing on the scanned image. This image processing is preprocessing to properly recognize the code. Therefore, the ratio at which the values of each channel (R, G, B) of the scanned value are combined may be changed depending on the ink color or the recording density of the code, or a single-channel image may be created using only specific channels. Alternatively, existing technology may be used to improve contrast, or a threshold may be set for the signal value and converted to a binary black-and-white image. A combination of these processes may also be performed.
[0103] In S1605, the printing apparatus 1A recognizes the information contained in the code. The recognition method may follow the recognition method specified in the standard for each code. Since the code standard used in this embodiment is NW-7, characters corresponding to combinations of thick bars, thin bars, thick spaces, and thin spaces may be recognized according to the NW-7 standard. This recognition is performed for each signal value pattern. In this embodiment, to determine the cyan ink, a pattern was performed in which the G and B signal values were fixed at 255 and the R signal value was varied. Alternatively, for example, when determining the amount of magenta ink, recognition may be performed using a pattern in which the R and B signal values are fixed and the G signal value is varied. For yellow, recognition may be performed using a pattern in which the R and G signal values are fixed and the B signal value is varied. In this embodiment, pattern 1801 is printed with the darkest density and pattern 1808 is printed with the lightest density. Therefore, if recognition is performed sequentially starting from pattern 1801, recognition will fail for patterns of certain densities. The results of whether or not each signal value pattern was recognized are stored in the memory unit 132.
[0104] In S1606, the recording apparatus 1A stores the recognizable ink amounts for each color. Assume that cyan ink can be recognized correctly for signal value patterns with (R, G, B) values ranging from (0, 255, 255) to (200, 255, 255). When these values are interpolated using the conversion table in Figure 17, it is found that recognition can be performed correctly if the cyan signal value after ink color conversion processing is 52 or higher.
[0105] The ink amount determination flow of Fig. 16 is executed in advance for magenta ink, yellow ink, and black ink in the same way as for cyan ink. After the ink color conversion process, the signal value of magenta ink is 52 or more, the signal value of yellow ink is 200 or more, and the signal value of black ink is 24 or more, and it is assumed that reading was successful, and each value is stored. After that, the recording apparatus 1A ends the flow of Fig. 16.
[0106] As a result, even if a malfunction occurs in a nozzle of one color, as long as the code is being recorded normally using the other ink colors, the code can be recognized using the signal value pattern of the ink color that is recording the code normally. If at least one of the ink colors is being recorded normally, the code can be recognized using the signal value pattern of that ink color. As explained above, the ink amounts for each color may be determined in advance by the recording apparatus 1A using the flow of FIG. 16 in S1304, and then acquired by the host device HC1. Alternatively, the ink amounts may be acquired based on the specific performance of the reading sensor of the recording apparatus 1A.
[0107] Returning to the description of FIG. 13, in S1305, the host device HC1 updates the signal value of the code. To update the signal value of the code, the host device HC1 uses the "ink colors used for printing" and "ink amounts of the ink colors used for printing" acquired by the host device HC1 from the printing apparatus 1A in S1303 and S1304. In this embodiment, the two ink colors used for printing are cyan ink and magenta ink. In addition, in S1304, the ink amounts at which each color pattern can be recognized are determined as follows: a signal value of 52 or greater after ink color conversion processing for a cyan ink pattern, and a signal value of 52 or greater after ink color conversion processing for a magenta ink pattern. Therefore, from the lookup table used by the ink color conversion processing unit 902, a combination of (R, G, B) is selected such that the signal value of cyan ink is 52 or greater, the signal value of magenta ink is 52 or greater, and no other ink colors are used. If there is no (R, G, B) combination that satisfies the conditions using only the ink colors determined in S1303, an (R, G, B) combination that includes a small amount of other ink colors may be selected. The bar area forming the code pattern is filled with these (R, G, B) signal values, completing the code data. The host device HC1 then ends this flow. The code data generation method has been described above. By using this generation method, even if a malfunction occurs in one of the nozzles of the multiple inks used for printing, the nozzle rows of other ink colors can compensate for the malfunction, improving the likelihood of successfully executing the inspection. Furthermore, in this embodiment, the code is printed using multiple ink colors. Therefore, in the process of FIG. 14 , when there are only a few ink colors remaining after omitting ink colors that contain defective nozzles or ink colors that cause color misalignment, ink colors with a small degree of defect or color misalignment are not omitted. This makes it easier to print the code using multiple inks.
[0108] Next, the analysis of a code recorded in a plurality of ink colors by the code analysis unit 1002 of the recording apparatus 1A will be described.
[0109] 19 shows the flow of analysis performed by the code analysis unit 1002. This flow is realized by the CPU loading a program stored in the ROM of the recording device 1A into the RAM and executing it.
[0110] In S1901, the recording device 1A acquires the coordinates of the code embedding area R. The coordinates may be transmitted to the recording device 1A in advance when the host device HC1 determines the code embedding area R in S1104. Alternatively, the coordinates of the code embedding area R may be acquired using existing pattern matching.
[0111] In S1902, the recording device 1A performs image processing on the code-embedded region R. Here, the image processing range is narrowed down from the entire inspection image input by the inspection input unit 1001 to the code-embedded region R, and image processing is performed. At this time, separate image processing may or may not be performed on the entire inspection image excluding the code-embedded region R. In either case, image processing suitable for code recognition is performed on the code-embedded region R. Image processing suitable for code recognition includes, for example, changing the ratio at which the values of each channel (R, G, B) of the read value are combined depending on the ink color or the print density of the code, or using only specific channels depending on the ink color to create a single-channel image. When using only specific channels depending on the ink color, it is best to use a channel with a wavelength that the ink color absorbs. For example, an area printed with cyan ink absorbs light in the red wavelength range (approximately 600 nm) and appears black in the R channel. On the other hand, an area not printed with cyan ink reflects light in the red wavelength range (approximately 600 nm) and appears white in the R channel. This allows for high contrast between areas printed with cyan ink and areas not printed with it. Similarly, high contrast can be achieved by using the G channel for areas printed with magenta ink and the B channel for areas printed with yellow ink. Alternatively, a threshold value can be set for the signal value to convert it to a binary black-and-white image, or a pixel value conversion table with hysteresis characteristics can be used to improve contrast. Other existing contrast improvement techniques can also be used, or a combination of these can be used. Here, image processing is performed on the code-embedded area R of the inspection image input to the inspection input unit 1001. However, it is equivalent for the inspection unit 9A to output a high-contrast image after performing the above-mentioned threshold processing or conversion with hysteresis characteristics.
[0112] In S1903, the recording device 1A analyzes the code. The code analysis is performed using a predetermined existing technology that conforms to the code standard. Then, information expressed as a number or alphabet embedded in the code is obtained. After that, this flow ends. Through the analysis in this flow, the original document data corresponding to the test image and the comparison source are identified, and a comparison inspection is performed between the test image and the original document data.
[0113] 20 shows an example of the flow of image processing that the recording device 1A executes on the code embedding area R. This flow is realized by the CPU of the host device HC1 expanding a program stored in the ROM of the host device HC1 into the RAM and executing it.
[0114] In S2001, the recording device 1A recognizes the code using the R channel for the code-embedded area R of the data D1 on the first page. As explained in S1605, the code recognition method should follow the recognition method specified in the standard for each code. In this flow, the recognition method will be the same hereafter.
[0115] In S2002, the recording device 1A determines whether or not recognition was successful. If recognition was successful, the process proceeds to S2012, where this flow ends. If recognition was not successful, the process proceeds to S2003. Since the inspection code is recorded using the same ink color on all pages, if recognition is successful in the R channel for D1 on page 1, it is considered possible to recognize the codes on all pages from page 2 to page 15 in the R channel. In this way, depending on at which step in this flow recognition is successful for D1 on page 1, it is possible to recognize subsequent pages using the same recognition method in the same steps.
[0116] In S2003, the recording device 1A recognizes the code in the code-embedded area R of the data D1 on the first page using the G channel. In S2004, the recording device 1A determines whether the recognition was successful. If the recognition was successful, the process proceeds to S2012, where the flow ends. If the recognition was not successful, the process proceeds to S2005.
[0117] In S2005, the recording device 1A recognizes the code in the code-embedded area R of the data D1 on the first page using the B channel. In S2006, the recording device 1A determines whether the recognition was successful. If the recognition was successful, the process proceeds to S2012, where the flow ends. If the recognition was not successful, the process proceeds to S2007.
[0118] In S2007, the recording device 1A synthesizes the R channel, G channel, and B channel of area R and recognizes the code. Any existing synthesis method can be used, but in this embodiment, a method is used in which the R, G, and B signal values are synthesized in a ratio of 3:6:1. In S2008, the recording device 1A determines whether the recognition was successful. If the recognition was successful, the process proceeds to S2012, where this flow ends. If the recognition was not successful, the process proceeds to S2009.
[0119] In S2009, the recording device 1A divides the image of each channel into small regions and performs image processing to perform recognition. For example, the R channel is divided into small regions. The contrast distribution is then checked in each small region. The G channel and B channel are similarly divided into small regions and the contrast distribution is checked. The channel with the highest contrast is selected for each small region and combined to perform code recognition. In S2010, the recording device 1A determines whether recognition was successful. If recognition was successful, the process proceeds to S2012 and ends this flow. If code recognition was not successful using either method, a recognition error is issued in S2011 and the process ends.
[0120] As described above, this embodiment can improve the accuracy of code recognition. Specifically, by recording a code using multiple ink colors, even if a malfunction occurs in a nozzle for one of the multiple ink colors, it is possible to recognize a code recorded in another ink color. Furthermore, by using the method of dividing into small areas described in S2009, the likelihood of successful recognition is improved even if one of the ink colors is not properly recorded in part of the code area.
[0121] <<Embodiment 2>> In the first embodiment, the ink used in the description is assumed to contain a colorant. However, the ink components are not limited to this, and for example, invisible ink may also be used. Invisible ink is, for example, ink that cannot be recognized as a color under visible light such as sunlight, but has the property of emitting fluorescence in the visible light range when irradiated with specific wavelengths such as ultraviolet light. Here, a method for generating an inspection code using invisible ink that emits light when irradiated with ultraviolet light will be described using the flowcharts of Figures 13, 14, and 16, as in the first embodiment. Note that the method is the same as in the first embodiment except for the use of invisible ink to generate the code. Therefore, the following description will mainly focus on the differences from the first embodiment, and will explain other parts as needed.
[0122] 13, the host device HC1 performs S1301 and S1302 in the same manner as in embodiment 1. In S1304, the host device HC1 determines the ink color to be used for recording the code using the flow in FIG.
[0123] In S1401, the host device HC1 determines multiple candidate ink colors for printing the code. In this embodiment, the candidates are four colors of ink: cyan ink, magenta ink, yellow ink, and invisible ink, which are part of the ink colors printable by the printing device 1A. Steps S1402 to S1406 are performed for the four colors, including invisible ink, in the same manner as in embodiment 1.
[0124] Returning to Fig. 13, in S1304 the host device HC1 acquires the ink amounts of the four colors, including the invisible ink. The ink amounts of each color are determined in advance using the flow in Fig. 16.
[0125] In the ink amount determination flow in Fig. 16, steps S1601 and S1602 are performed for the four colors, including the invisible ink, in the same manner as in embodiment 1. In step S1603, the recording apparatus 1A irradiates the invisible ink with ultraviolet light and reads it. The subsequent flow in Fig. 16 is the same as in embodiment 1.
[0126] Returning to the description of Figure 13, in S1305, the host device HC1 updates the pixel values of the code containing invisible ink. Once the updating is complete, the host device HC1 ends the code generation flow.
[0127] As explained above, code data can be generated using a plurality of ink colors including invisible ink.
[0128] Next, a method for inspecting a recorded object P' in which data with an embedded code of this embodiment is recorded will be described with reference to Figure 10. An inspection image input unit 1001 inputs an inspection image captured by the inspection unit 9A described above to the inspection unit 138. The inspection image is an image of the recorded object P' to be inspected. In this embodiment, it is assumed that the code-embedded area R is imaged by irradiating it with at least ultraviolet light. Processes from the code analysis unit 1002 to the inspection result output unit 1005 are carried out in the same manner as in the first embodiment. As described above, in this embodiment as well, a code is recorded using multiple ink colors, and the same effects as those described in the first embodiment can be obtained.
[0129] <<Embodiment 3>> In the flow for determining the ink colors to be used for recording the code described in FIG. 14 , multiple ink colors were determined in the first and second embodiments. In this embodiment, in S1401 of the flow in FIG. 14 , one ink color is determined as a candidate for the ink color to be used for recording the code. In this case, subsequent steps may not be executed. Alternatively, multiple ink color candidates may be determined in S1401, and only one ink color may remain as a result of executing the processes from S1402 to S1406. In this embodiment, unlike the first and second embodiments, priority is given to omitting an ink color that is experiencing even a slight nozzle malfunction or color misalignment over retaining multiple ink colors to record the code. Even when a code is recorded using only one ink color, the same effects as those of the first and second embodiments can be achieved as long as the code can be properly recorded with that ink.
[0130] This embodiment describes the case where a code is printed using only one color. This section explains the method for determining the ink amount for black ink. As described in FIG. 16 in the first embodiment, the code can be read correctly when the signal value of black ink after ink color conversion processing is 24 or greater. Also, as described in FIG. 8, the ejection substrates 301, 302, 303, 304, etc. have eight nozzle arrays, nozzle array a through nozzle array h, as described above. When printing a code using only one ink color, the ink amount is stored so that the ink amount per array is 24 or greater. Therefore, when printing using eight nozzle arrays, nozzle array a through nozzle array h, an ink amount of 192 or greater, eight times the amount, is stored. In S1304 of the code data generation method flow shown in FIG. 13, the stored ink amount is acquired, and the pixel values of the code are updated in S1305. This improves the likelihood of successfully reading the code even if a malfunction occurs in any of the nozzle arrays, even when only one ink color is used to print the code.
[0131] In the above, in this embodiment, a method for determining the ink amount when printing a code using only black ink has been described. Without being limited to the above description, for example, before determining the ink amount, it is also possible to select which of the eight nozzle rows to use. This selection can be performed by replacing "ink color" with "nozzle row" in the flow chart of FIG. 14. This makes it possible to omit in advance any nozzle rows that are defective or whose printing position has shifted by more than a specified amount due to a deviation in ejection timing when printing a code using only black ink.
[0132] <<Other embodiments>> In the above embodiment, the recording unit 3 has multiple recording heads 30, but it may also have one recording head 30. The recording head 30 does not have to be a full-line head, and may be a serial type in which ink is ejected from the recording head 30 while a carriage on which the recording head 30 is detachably mounted is moved in the Y direction to form an ink image.
[0133] The transport mechanism for the recording medium P may be other methods, such as a method in which the recording medium P is sandwiched between a pair of rollers and transported. In a method in which the recording medium P is transported by a pair of rollers, a roll sheet may be used as the recording medium P, and the roll sheet may be cut after transfer to produce the recorded matter P'.
[0134] In the above embodiment, the transfer body 2 is provided on the outer peripheral surface of the transfer drum 41, but the transfer body 2 may be formed in the shape of an endless belt and may be made to travel cyclically, or may be of other types.
[0135] The inspection code described in the above embodiment is recorded using the ink color determined by applying this embodiment, regardless of the pixel values of the image in the imposed image data or the printing mode, such as color mode or monochrome mode, in which the code is recorded.
[0136] In each embodiment, the generation of the inspection code is performed by the recording data generation unit 202 of the host device HC1, which is an information processing device, but it can also be generated by the main controller 13A of the recording device 1A by receiving manuscript data from the host device HC1 or another device.
[0137] The present invention can also be realized by supplying a program that realizes one or more of the 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.The present invention can also be realized by a circuit (e.g., ASIC) that realizes one or more of the functions.
Claims
1. An image processing device that generates image data for a recording device having a plurality of nozzle arrays including nozzles that eject ink onto a recording medium based on the image data to form an image, a storage unit that acquires and stores information that identifies a nozzle that is experiencing a problem in ejecting ink from among the nozzles that correspond to a recording position where a code for identifying one or more images to be imposed in a recording area on the recording medium is recorded on the recording medium; a generation unit that determines the ink color to be used for recording the code by excluding the ink color corresponding to the nozzle from candidates for the ink color to be used for recording the code based on the information, and generates the image data in accordance with the determined ink color; An image processing device comprising:
2. 2. The image processing apparatus according to claim 1, wherein the plurality of nozzle rows include nozzle rows that use ink of different colors.
3. 2. The image processing apparatus according to claim 1, wherein the plurality of nozzle rows includes a nozzle row that ejects invisible ink.
4. 4. The image processing apparatus according to claim 1, wherein the nozzle in which the malfunction occurs is one of the nozzles in the nozzle row.
5. 5. The image processing apparatus according to claim 4, wherein the nozzle malfunction occurs due to a defect in the nozzle.
6. 6. The image processing apparatus according to claim 1, wherein the generation unit determines the ink color to be used for recording the code regardless of pixel values of the image of the image data.
7. 7. The image processing apparatus according to claim 1, wherein the generation unit determines the ink color to be used for recording the code regardless of a color mode for recording the image data.
8. 8. The image processing apparatus according to claim 1, wherein the generation unit determines a plurality of candidates for ink colors to be used for recording the code.
9. 9. The image processing device according to claim 1, wherein the code is recorded at a density that allows it to be read even when any of the plurality of ink color candidates is missing or when part of the nozzle row is missing.
10. 10. The image processing device according to claim 1, wherein the ink amount of each ink color used to record the code is determined by reading an ink amount determination pattern recorded at multiple levels of density, and determining the level at which the reading of the ink amount determination pattern is successful.
11. 11. The image processing device according to claim 10, wherein the ink amount determination pattern is created by referring to a lookup table in which the signal values CMYK of each ink color correspond to the values when each ink color is converted into the signal values RGB.
12. 12. The image processing apparatus according to claim 11, wherein, if there is an ink color in the code that could not be correctly recognized, an appropriate channel of the RGB signal values is selected to recognize the code.
13. An image processing device as described in claim 11 or 12, characterized in that if there is an area within the area in which the code is recorded where the recognition of the nozzle array is abnormal, an appropriate channel of the signal value RGB is selected for each of the areas to recognize the code.
14. 2. The image processing apparatus according to claim 1, wherein the plurality of nozzle rows are nozzle rows for different ink colors.
15. The image processing device according to claim 1 , wherein the generating unit determines the ink color used to record the code to be one color.
16. An image processing method for generating image data for a recording device having a plurality of nozzle arrays including nozzles that eject ink onto a recording medium based on the image data to form an image, comprising: a storage step of acquiring and storing information identifying a nozzle that is experiencing a problem in ejecting ink from among the nozzles that correspond to a recording position where a code for identifying one or more images to be imposed in a recording area on the recording medium is recorded on the recording medium; a generating step of determining the ink color to be used for recording the code by excluding the ink color corresponding to the nozzle from candidates for the ink color to be used for recording the code based on the information, and generating the image data in accordance with the determined ink color; An image processing method comprising:
17. A program for causing a computer to function as each unit of the image processing device according to any one of claims 1 to 15.
Citation Information
Patent Citations
Printed matter checkup system and printed matter checkup method
JP2011248577A
Control apparatus, control method and program
JP2015123665A
Inkjet printing device
JP2018069603A