Image processing device, image processing method, and program
The image processing apparatus addresses moiré and density unevenness in inkjet recording by converting input data into halftone images with adjusted dot sizes and frequencies, effectively suppressing these issues in inkjet recording devices.
Patent Information
- Application Number
- JP2020168776
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-10-05
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2040-10-05
AI Technical Summary
The occurrence of moiré patterns in halftone images due to dot size exceeding nozzle intervals in inkjet recording devices, causing interference with high-frequency shading and density unevenness from nozzle characteristics.
An image processing apparatus that converts input data into halftone data using multiple nozzles, performs density correction and frequency component adjustments, and applies low-pass filtering to suppress moiré and uneven streaks by generating dots with sizes appropriate for the nozzle spacing.
Effectively suppresses moiré patterns and density unevenness in halftone images, ensuring high-quality image recording even when dot sizes exceed nozzle intervals.
Smart Images

Figure 0007551434000035 
Figure 0007551434000018 
Figure 0007551434000030
Abstract
Description
[Technical field]
[0001] The present invention relates to an image processing technique for generating a halftone image that can be recorded by a recording device that records an image. [Background technology]
[0002] Conventionally, in a recording device that records an image on a recording medium by an inkjet recording method or the like, a technique is known in which image data is converted into halftone image data that can be recorded by the recording device by performing halftone processing on the image data. Also, a correction processing technique is known that reduces density unevenness caused by a landing position shift due to a change in the conveyance amount of the recording medium or a change in the ejection direction of ink ejected from a recording unit.
[0003] Patent document 1 discloses a technology that reduces density unevenness caused by nozzle characteristics in an image recorded on a recording medium by performing density unevenness correction processing on image data based on information on the recording state of each nozzle and then performing halftone processing. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2007-83704 A Summary of the Invention [Problem to be solved by the invention]
[0005] If the dot size based on the halftone image obtained by performing halftone processing after the above correction processing is larger than the nozzle interval, adjacent dots may merge and high frequency shading may not be recorded. As a result, there is a problem that interference occurs between the high frequency components in the image after halftone processing and correction of density unevenness due to nozzle characteristics, resulting in moire patterns that were not present in the original image.
[0006] In view of the above problems, the technology disclosed herein aims to suppress the occurrence of moire in halftone images while correcting density unevenness due to nozzle characteristics, even when the dot size recorded on a recording medium is larger than the nozzle spacing. [Means for solving the problem]
[0007] One embodiment of the disclosed technique is an image processing apparatus that converts input image data into halftone image data that can be recorded by a plurality of nozzles arranged to eject ink, the image processing apparatus comprising: a correction unit that corrects pixel values of pixels in the input image data in accordance with characteristics of the nozzles; and a first frequency component of the frequency components of the corrected input image data. a first halftone process is performed on the first frequency component to generate first halftone image data; to the second lower frequency component Second Halftone processing is performed, 2 A generating means for generating halftone image data of the above-mentioned 2 The halftone image data is the dot size where adjacent dots overlap. 2 data generated for recording by a dot of the first frequency component, 1 The halftone image data includes a first dot smaller than the second dot. 1 The image processing apparatus is characterized in that the data is generated for recording by dots. Effect of the Invention
[0008] According to the technology disclosed herein, even when the dot size recorded on the recording medium is larger than the nozzle interval, it is possible to suppress the occurrence of moire in a halftone image while suppressing density unevenness due to nozzle characteristics. [Brief description of the drawings]
[0009] [Figure 1] Image of input image data [Diagram 2] A CZP chart recorded with large or small dots [Diagram 3] Block diagram showing the hardware configuration of an image processing device [Figure 4] Block diagram showing the functional configuration of an image processing device [Diagram 5] 1 is a flowchart of a process executed by an image processing device. [Figure 6] 11 is a flowchart of a process executed by a density correction unit. [Figure 7] FIG. 13 is a diagram showing an example of a density correction table; [Figure 8] FIG. 1 shows an example of a correction coefficient. [Figure 9] Image of image data after streak correction processing [Figure 10] Flowchart of processing executed by the filter processing unit [Figure 11] Image of a CTF chart and a chart showing the contrast ratio of frequencies [Figure 12] Image of image data after filtering [Figure 13] Output image [Figure 14] Block diagram showing the functional configuration of an image processing device [Figure 15] 1 is a flowchart of a process executed by an image processing device. [Figure 16] Flowchart of processing executed by the pixel value distribution unit [Figure 17] Example of a distribution table and a graph of the distribution table [Figure 18] Image diagram of an image represented by pixel values distributed into large and small dots [Figure 19] Output image [Figure 20] Block diagram showing the functional configuration of an image processing device [Figure 21] 1 is a flowchart of a process executed by an image processing device. [Figure 22] 13 is a flowchart of a process executed by the small dot density correction unit. [Diagram 23] A diagram showing the average x-direction value of pixel value I2 corresponding to each pixel position in the y-direction [Figure 24] A diagram showing the average value in the x direction of the difference value ΔI1 corresponding to each pixel position in the y direction. [Diagram 25]A diagram showing the average x-direction value of corrected pixel value I2+Δ corresponding to each pixel position in the y-direction [Figure 26] Block diagram showing the functional configuration of an image processing device [Figure 27] 1 is a flowchart of a process executed by an image processing device. [Figure 28] 13 is a flowchart of a process executed by the small dot filter processing unit. [Figure 29] Diagram showing HPF filter coefficients [Diagram 30] A diagram showing the pixel value I2(p) of a small dot [Diagram 31] FIG. 13 is a diagram showing an image output by a small dot filter processing unit; [Diagram 32] 13 is a flowchart of a process executed by the large dot filter processing unit. [Diagram 33] A diagram showing the average value in the x direction of the difference value ΔI2 corresponding to each pixel position in the y direction DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the drawings. Furthermore, the contents and relative arrangements of the components described below are not intended to limit the scope of the present invention unless otherwise specified.
[0011] [First embodiment] In this embodiment, a filter process is performed using a low-pass filter (hereinafter, also referred to as LPF) according to the frequency characteristics of the dot pattern on the pixel values of the image data after the density unevenness (hereinafter, also referred to as streaks) due to the nozzle characteristics has been corrected, thereby suppressing the occurrence of moire in the halftone image recorded on the recording medium.
[0012] The print image recording device 311 (see FIG. 3) is an image recording device that employs an inkjet method. The direction parallel to the nozzle row direction of the print image recording device 311 is defined as the y direction. The direction parallel to the direction in which the recording unit of the print image recording device 311 and the recording medium relatively scan when recording an image on the recording medium is defined as the x direction. This x direction is perpendicular to the above-mentioned y direction. The print image recording device 311 employs a full-line method in which a recording unit has a nozzle row with a length equal to the width of the recording medium in the y direction, and an image is recorded on the recording medium by relatively scanning this recording unit and the recording medium in the x direction. In this embodiment, the print image recording device 311 records an image on the recording medium with dots of a single size larger than the nozzle interval.
[0013] The image processing device 300 (see FIG. 3) executes dither processing as halftone processing for converting input image data into halftone image data that can be recorded by a print image recording device 311 on a recording medium.
[0014] FIG. 1 is a conceptual diagram of input image data. As shown in FIG. 1, the input image data is solid image data in which each pixel has the same pixel value. Each pixel of the solid image data has a pixel value I 0 The solid image data is represented by Y (pixels) in the y direction and X (pixels) in the x direction. The image processing device 300 uses the pixel value I 0 A dither process is performed on the solid image data to generate halftone image data.
[0015] Here, we will explain the relationship between the size of dots recorded on a recording medium by the print image recording device 311 and the frequency characteristics of a halftone image. Figures 2(a) and 2(b) respectively show halftone images in which a CZP chart is expressed using two types of dots, large dots and small dots. Here, the CZP chart is a chart that visualizes frequency characteristics in a two-dimensional space, and is formed by superimposing sine waves in a concentric pattern so that the spatial frequency increases from the upper left to the lower right.
[0016] The halftone images shown in Figures 2(a) and 2(b) are dot pattern images that simulate a binary halftone image showing the ON / OFF state of printing with ink dots, including the sizes of large and small dots. In the large dot halftone image shown in Figure 2(a), it can be seen that adjacent dots are combined in the high frequency components of the dot pattern, causing moire. On the other hand, in the small dot halftone image shown in Figure 2(b), it can be seen that the interference between adjacent dots is not noticeable in the high frequency components.
[0017] <Hardware configuration of image processing device> Fig. 3 is a block diagram showing a hardware configuration of an image processing device 300 in this embodiment. The hardware configuration of the image processing device 300 in this embodiment will be described below with reference to Fig. 3. The image processing device 300 has an input unit 301, a display unit 302, a storage unit 303, a CPU 304, a ROM 305, a RAM 306, a communication unit 307, a print image output unit 308, and a system bus 309. The CPU 304 uses the RAM 306 as a work memory, executes the OS and various programs stored in the ROM 305 and the storage unit 303, and controls each piece of hardware (described later) via the system bus 309.
[0018] The input unit 301 is a serial bus interface such as USB, and is connected to input devices such as a keyboard and a mouse, and image input devices such as a memory card reader, a digital camera, a scanner, etc. The CPU 304 inputs user instructions, image data, etc. via the input unit 301, and displays a graphic user interface (GUI), images, processing progress and results, etc. on the display unit 302.
[0019] The storage unit 303 is a recording medium such as a hard disk drive (HDD) or a solid state drive (SSD) in which various data such as various programs are stored. The data stored in the storage unit 303 includes a program for realizing the processing described below.
[0020] The communication unit 307 is a network interface for connecting a network 310 (a wired network such as Ethernet (registered trademark), or a wireless network such as Bluetooth (registered trademark), Wi-Fi, P2P, etc.) to the image processing device 300. The print image output unit 308 is a serial bus interface such as USB. A print image recording device 311, a memory card writer, etc. are connected to the print image output unit 308. The CPU 304 outputs image data, etc. via the print image output unit 308.
[0021] The CPU 304 communicates with server devices and other computer devices connected to the network 310 via the communication unit 307. The CPU 304 can receive various programs and data from the server devices and other computer devices connected to the network 310 and execute processing. The CPU 304 can provide data of the processing results to the server devices and other computer devices connected to the network 310. The computer devices with which the CPU 304 can communicate via the communication unit 307 include the print image recording device 311. Therefore, the CPU 304 can also transmit image data to the print image recording device 311 via the communication unit 307.
[0022] The information processing device used as the image processing device 300 is, for example, a computer device such as a personal computer, a tablet, or a smartphone. The information processing device has the function of the image processing device 300 by being supplied with a program for realizing image processing described later. When a tablet or a smartphone is used as the image processing device 300, the display unit 302 may have a touch screen function. In this case, the display unit 302 also functions as an input unit 301 that accepts user instructions.
[0023] <Functional configuration of image processing device> Fig. 4 is a block diagram showing a detailed functional configuration of the image processing device 300 in this embodiment. The functional configuration shown in Fig. 4 is realized by the CPU 304 of the image processing device 300 executing the functional configuration and a program for realizing the function.
[0024] The image data input unit 401 inputs input image data specified by a user via the input unit 301 to the image processing device 300. Specifically, the image data input unit 401 outputs the input image data to a density correction unit 402. In this embodiment, the input image data is monochrome image data corresponding to the color of any recording material possessed by the print image recording device 311, and is 8-bit image data having a pixel value of any one of 0 to 255 for each pixel.
[0025] The density correction unit 402 refers to a density correction table stored in advance in a density correction table storage unit 403, and calculates the pixel value I of each pixel of the input image data. 0 (Hereinafter, input pixel value I 0 The density correction unit 402 then outputs the corrected image data to the filter processing unit 404.
[0026] The filter processing unit 404 executes a filter process on the pixel values of the image data after the streak correction process, using an LPF acquired from a low-pass filter storage unit 405, in accordance with the frequency characteristics of the dot pattern. This LPF is stored in advance in the low-pass filter storage unit 405. Then, the filter processing unit 404 outputs the image data after the filter process to a halftone image data generation unit 406.
[0027] The halftone image data generating unit 406 performs dither processing on the image data after the filter processing to generate halftone image data. The dither matrix required for performing this dither processing is stored in a predetermined storage area in advance. The halftone image data generating unit 406 then outputs the generated halftone image data to the print image recording device 311 via the print image output unit 308.
[0028] <Processing performed by the image processing device> Fig. 5 is a flowchart of the process executed by the image processing device 300 in this embodiment. The flowchart shown in Fig. 5 is realized by reading a control program stored in the storage unit 303 or ROM 305 of the image processing device 300 into the RAM 306 and executing it by the CPU 304. Alternatively, some or all of the functions of the steps in Fig. 5 may be realized by hardware such as an ASIC or electronic circuit. Note that the symbol "S" in the explanation of each process indicates a step in the flowchart.
[0029] In S501, the image data input unit 401 inputs input image data designated by a user to the image processing device 300. Here, the solid image data shown in Fig. 1 is designated as the input image data. The image data input unit 401 stores the input image data in a storage area such as the RAM 306.
[0030] In S502, the density correction unit 402 refers to a density correction table stored in advance in the density correction table storage unit 403 and calculates the input pixel value I 0 The details of the correction process in this step will be described later with reference to FIG.
[0031] In S503, the filter processing unit 404 executes a filter process using an LPF on the pixel values of the image data after the correction process obtained in S502. Details of the filter process in this step will be described later with reference to FIG.
[0032] In S504, the halftone image data generating unit 406 performs dither processing on the filtered image data obtained in S503 using a dither matrix stored in advance in a predetermined storage area to generate halftone image data. The halftone image data generated here is binary image data in which the pixel value of each pixel is either 1 or 0. The halftone image data generating unit 406 stores the generated halftone image data in a predetermined storage area.
[0033] <Processing performed by the density correction unit> FIG. 6 is a flowchart of the process executed by the density correction unit 402. 0 The details of the process for correcting the above will be described with reference to the flowchart in FIG.
[0034] In S601, the density correction unit 402 acquires a density correction table stored in advance in the density correction table storage unit 403. This density correction table stores a correction coefficient k for each pixel position in the y direction, and is based on the nozzle characteristics of the print image recording device 311, the input pixel value I 0 , and the dither matrix used in the dither process, a correction coefficient k corresponding to each pixel position is determined.
[0035] 7 is a diagram showing an example of a density correction table in this embodiment. The density correction unit 402 refers to the density correction table and calculates the pixel position in the y direction of each pixel and the input pixel value I 0 A correction coefficient k is determined according to the above.
[0036] 8 is a diagram showing an example of the correction coefficient k. In FIG. 8, the horizontal axis indicates the pixel position of each pixel in the y direction, and the vertical axis indicates the correction coefficient k(I 0 In this embodiment, since the input image data is the solid image data shown in FIG. 0 Therefore, for pixels that are located at the same pixel position in the y direction of the input image data, the correction coefficient k(I 0 ) is selected.
[0037] In S602, the density correction unit 402 calculates the input pixel value I 0 This inverts the gradation of the input pixel value I 0 In pixel areas where the input pixel value I0 In a pixel area with 255 pixels, dots are printed in the entire pixel area.
[0038] In S603, the density correction unit 402 calculates the correction coefficient k corresponding to each pixel determined in S601 by the input pixel value I 0 to obtain new pixel values for each pixel. This results in an image in which the pixel values have been corrected so that streaks caused by the nozzle characteristics are suppressed. Figure 9 is an image of the image data after the density correction process. It can be seen that the image has shades that are the opposite of the streaks, so as to offset the streaks caused by the nozzle characteristics. The image data after the correction process is stored in a specified memory area.
[0039] <Processing performed by the filter processing unit> 10 is a flowchart of the process executed by the filter processing unit 404. Details of the filter process using the LPF on the image data after the density correction process in S503 will be described below with reference to the flowchart in FIG.
[0040] In S1001, the filter processing unit 404 acquires an LPF, which is created in advance according to the frequency characteristics of the dot pattern of the discharged dots and is to be applied to the image data after the density correction process, from the low-pass filter storage unit 405. Here, a one-dimensional filter that is one-dimensional in the y direction, specifically, a filter with a standard deviation σ D The one-dimensional Gaussian filter is generated in advance by the following procedure.
[0041] First, a CTF chart image consisting of square wave patterns of various frequencies as shown in FIG. 11(a) is output by a print image recording device 311, and the contrast ratio C D The frequency (f) is calculated according to the following formula (1): This frequency f is a frequency at which, when an image is printed using large dots, the image can be printed without the dots unexpectedly merging.
[0042]
number
[0043] In the above formula (1), I max , I min is the luminance of the white and black lines of the paper of the rectangular wave pattern of frequency f. This luminance is determined in advance based on the pixel values in the image data obtained by scanning the image recorded on the recording medium. In the present embodiment, as shown in FIG. 11(b), D Contrast ratio of square wave pattern C D (f) is 0.5. This means that the frequency f D This shows that when input image data containing higher frequency components is input to the image processing device 300, there is a possibility that moire will occur due to aliasing components. D A Gaussian filter with standard deviation σ is created in advance as an LPF. D is calculated by the following formula (2).
[0044]
number
[0045] In the above formula (2), f S is the sampling frequency of the print image recording device 311. In this embodiment, f D In a square wave pattern with 300 dpi, the contrast ratio C D (f D ) is 0.5. Also, since the print image recording device 311 has a recording head of 1200 dpi, f S is 1200 dpi. Therefore, the standard deviation of the Gaussian filter σ D will be 4 (pixels).
[0046] In S1002, the filter processing unit 404 performs filtering on the pixel values of the image data after the correction processing using the LPF acquired in S1001. This filtering removes high frequency components from the image data after the correction processing.
[0047] Fig. 12 shows image data after filtering using the LPF. It can be seen that by filtering using the LPF, an image with gentler changes in pixel values is obtained compared to the image after correction shown in Fig. 9. The filtered image data from which high frequency components have been removed is stored in a specified storage area, and then subjected to dithering in the halftone image data generating unit 406 to generate halftone image data.
[0048] The above is the content of the processing executed by the filter processing unit 404 according to this embodiment. Fig. 13 is a diagram showing an output image recorded on a recording medium by the print image recording device 311 based on the halftone image data generated by the halftone image data generating unit 406. As shown in Fig. 13, the input pixel value I 0 It can be seen that, compared to the solid image in FIG. 1, in the image printed using large dots whose diameter is greater than the nozzle interval, the occurrence of moire is suppressed while low-frequency streaks due to nozzle characteristics are suppressed.
[0049] <Effects of this embodiment> As described above, in this embodiment, the pixel values of the image data after density correction processing for suppressing streaks are filtered using an LPF, and high-frequency components are removed in accordance with the frequency characteristics of the dot pattern, thereby suppressing the occurrence of moire.
[0050] 3 shows an example in which the image processing device 300 and the print image recording device 311 are separate devices, the image processing device 300 may be built into the print image recording device 311. In that case, the functional configuration of the image processing device 300 shown in FIG. 4 can be realized by one or more circuits. In addition, in this embodiment, a full-line type print image recording device 311 equipped with a nozzle row having a length equal to the width of the recording medium in the y direction is used as the recording device, but a multi-pass type recording device may also be used, and the configuration of the recording head is not limited.
[0051] In this embodiment, the input pixel value I 0 In the above example, the pixel value is corrected to suppress streaking caused by nozzle characteristics by multiplying the pixel value by a correction coefficient k, but the correction method is not limited to this. For example, the pixel value may be corrected using a gamma correction table synchronized with the nozzle position. In this case, the output data string of the gamma table for the same input value is filtered using an LPF, and the gamma correction table is updated based on the value after filtering.
[0052] In addition, in this embodiment, a Gaussian filter is used as the LPF, but the LPF is not limited to a Gaussian filter. For example, a moving average filter may be used.
[0053] In addition, in this embodiment, the halftone image is generated by dither processing, but the halftone processing used to generate the halftone image is not limited to this. For example, the halftone image may be generated by using an error diffusion method.
[0054] [Variations] In the first embodiment, a case where an image is recorded using large dots of a single size whose diameter is larger than the nozzle interval has been described. Here, a case where an image is recorded using large dots whose diameter is larger than the nozzle interval and small dots whose diameter is smaller than the nozzle interval will be described as a modified version of the first embodiment.
[0055] When two types of dot sizes are mixed, even if filtering is performed using a filter with a single frequency characteristic, moire may occur in the halftone image data obtained in the subsequent halftone processing.
[0056] Therefore, in this modified example, the pixel value I 1 For the pixel value I, a filter process is performed using an LPF corresponding to the frequency characteristics of the dot pattern of the large dots, and large dot halftone image data is generated based on the image data after the filter process. 2 No filtering is performed on the small dot pixel value I 2 Based on this, small dot halftone image data is generated. As a result, in this modified example, the occurrence of moire in a halftone image that mixes large dots and small dots is suppressed while suppressing streaks caused by nozzle characteristics. Note that a description of the contents common to the first embodiment will be omitted, and the following description will focus on the differences.
[0057] <Functional configuration of image processing device> Fig. 14 is a block diagram showing a detailed functional configuration of the image processing device 300 in this modified example. The functional configuration shown in Fig. 14 is realized by the CPU 304 of the image processing device 300 executing a program for realizing the functional configuration and the functions. Also, the image data input unit 401 is the same as in the first embodiment, and therefore a description thereof will be omitted.
[0058] The density correction unit 402 refers to a density correction table stored in advance in a density correction table storage unit 403 and calculates the input pixel value I 0 By correcting the density, uneven streaks due to nozzle characteristics can be suppressed. The density corrector 402 then outputs the corrected image data to the pixel value distributor 1401.
[0059] The pixel value distribution unit 1401 refers to a distribution table stored in advance in a distribution table storage unit 1402, and divides the pixel value I of each pixel in the image data after the correction process into the pixel value I of the large dot. 1and the pixel value of the small dot I 2 The pixel value distribution unit 1401 then distributes the pixel value I 1 to the large dot filter processing unit 1403. In addition, the pixel value distribution unit 1401 outputs the small dot pixel value I 2 The small dot halftone image data generator 1405 outputs the above.
[0060] The large dot filter processing unit 1403 processes the large dot pixel value I 1 The large dot filter processing unit 1403 then executes filtering on the image data using the LPF obtained from the low pass filter storage unit 405. The large dot filter processing unit 1403 then outputs the image data after filtering to a large dot halftone image data generation unit 1404.
[0061] A large dot halftone image data generating unit 1404 performs dithering on image data composed of pixel values of large dots after filtering to generate large dot halftone image data. A large dot halftone image data generating unit 1405 then outputs the generated large dot halftone image data to the print image recording device 311 via the print image output unit 308.
[0062] The small dot halftone image data generating unit 1405 generates the small dot pixel value I 2 The small dot halftone image data generating unit 1405 then outputs the generated small dot halftone image data to the print image recording device 311 via the print image output unit 308.
[0063] <Processing performed by the image processing device> Fig. 15 is a flowchart of the process executed by the image processing device 300 in this modified example. The flowchart shown in Fig. 15 is realized by reading a control program stored in the storage unit 303 or ROM 305 of the image processing device 300 into the RAM 306 and executing it by the CPU 304. Alternatively, some or all of the functions of the steps in Fig. 15 may be realized by hardware such as an ASIC or an electronic circuit. In the process executed by the image processing device 300 in this modified example, S501 and S502 are the same as the processes described using Fig. 5, so the description will be omitted. Also, the steps are executed in the order of S501, S502, S1501, S1502, S1503, and S1504.
[0064] In S1501, the pixel value distribution unit 1401 refers to a distribution table stored in advance in the distribution table storage unit 1402, and divides the pixel value I of each pixel in the image data after the correction process obtained in S502 into the pixel value I of the large dot. 1 and the pixel value of the small dot I 2 The pixel value distribution process in this step will be described in detail later with reference to FIG.
[0065] In S1502, the large dot filter processing unit 1403 calculates the large dot pixel value I 1 A filter process is then performed using an LPF that is created in advance according to the frequency characteristics of the large dot pattern.
[0066] In S1503, the large dot halftone image data generation unit 1404 performs dithering on the filtered image data obtained in S1502 to generate binary large dot halftone image data. The large dot halftone image data generation unit 1404 then stores the generated large dot halftone image data in a specified storage area.
[0067] In S1504, the small dot halftone image data generating unit 1405 calculates the pixel value I 2Then, small dot halftone image data generating unit 1405 stores the generated small dot halftone image data in a specified storage area.
[0068] <Processing performed by the pixel value distribution unit> 16 is a flowchart showing the process executed by the pixel value distribution unit 1401 in this modified example. In the following, the pixel value I of each pixel in the image data after the correction process in S1501 is calculated as the pixel value I of the large dot. 1 and the pixel value of the small dot I 2 The details of the process of distributing the data to the above-mentioned data will be described with reference to the flowchart in FIG.
[0069] In S1601, the pixel value distribution unit 1401 obtains a distribution table stored in advance in the distribution table storage unit 1402.
[0070] FIG. 17(a) shows an example of the distribution table. The distribution table includes the input pixel value I 0 In each case where is between 0 and 225, the pixel value I 1 Pixel values distributed to and pixel values of small dots I 2 FIG. 17B is a graph of the distribution table shown in FIG. 17A. In FIG. 17B, a solid line 1701 indicates the pixel value I of the large dot. 1 The dashed line 1702 indicates the pixel value I 2 The input pixel value I 0 The highlight side, where I is between 0 and 64, is 0 All pixel values of small dots are I 2 In addition, the input pixel value I 0 If is between 64 and 96, the input pixel value I 0 is the pixel value of the large dot I 1 and the pixel value of the small dot I 2 In this modification, the input pixel value I 0 is 64 0 Meet <96.
[0071] In S1602, the pixel value distribution unit 1401 divides the pixel value I of each pixel in the image data after the correction process into the pixel value I of the large dot based on the distribution table acquired in S1601. 1 and the pixel value of the small dot I 2 Here, since the density per dot is different between large dots and small dots, I = I 1 +I 2 If the two dot sizes are the same, then I = I 1 +I 2 It becomes.
[0072] FIG. 18(a) shows the pixel value I 1 In addition, FIG. 18(b) shows the image data composed of the pixel value I 2 The image data shown in FIG.
[0073] The above is the content of the process executed by the pixel value distribution unit 1401 according to this modified example. Fig. 19 is a diagram showing an output image recorded on a recording medium by the print image recording device 311 based on the large dot halftone image data and small dot halftone image data according to this modified example. 0 As compared with the solid image in FIG. 13, the output image shown in FIG. 19 suppresses low-frequency streaks caused by nozzle characteristics while also suppressing the occurrence of moire, as in the output image shown in FIG.
[0074] <Effects of this modified example> As described above, in this modified example, after distributing the pixel values of the image data after the density correction process for suppressing banding, the pixel value I 1 This makes it possible to suppress the occurrence of moire due to interference with the dither pattern, as in the above embodiment, even when an image is formed using large dots and small dots.
[0075] The pixel value of the large dot is I 1 In addition, the pixel value of the small dot I 2In this case, the pixel value I 2 For this purpose, an LPF according to the frequency characteristics of the dot pattern of small dots should be used.
[0076] In this modification, an image recording device that records dots of different sizes by ejecting different amounts of ink is used as the print image recording device 311, but an image recording device that ejects ink of different densities may also be used. Also, each dither pattern does not limit the ejection amount or density of ink ejected by the print image recording device 311.
[0077] [Second embodiment] In the first embodiment, a case was described in which a filter process is performed using an LPF according to the frequency characteristics of a dot pattern of large dots, and moire in a halftone image is suppressed while suppressing streaks due to nozzle characteristics. However, if streaks occur at a higher frequency than the high frequency at which moire is likely to occur in a dot pattern of large dots, the streaks may not be suppressed by the density correction process according to the nozzle array characteristics in the first embodiment.
[0078] Therefore, in this embodiment, the pixel value I 1 After filtering is performed using an LPF corresponding to the frequency characteristics of the large dot pattern, the pixel values of the large dots removed by this filtering are converted to pixel values of small dots. Then, the pixel values of the small dots after the conversion ΔI 1 ´ and the original pixel value of the small dot I 2 and generate small dot halftone image data based on image data composed of pixel values obtained by adding together the large dots. As a result, in this embodiment, it is possible to suppress the occurrence of moire in a halftone image while suppressing streaks in high frequency components that cannot be corrected by large dots. Note that a description of the contents common to the first embodiment will be omitted, and the following description will focus on the differences.
[0079] <Functional configuration of image processing device> Fig. 20 is a block diagram showing a detailed functional configuration of the image processing device 300 in this embodiment. The functional configuration shown in Fig. 20 is realized by the CPU 304 of the image processing device 300 executing a program for realizing the functional configuration and its functions. Also, the image data input unit 401, density correction unit 402, and large dot halftone image data generation unit 1404 are similar to those in the modified example of the first embodiment, so their description will be omitted.
[0080] The pixel value distribution unit 1401 refers to a distribution table stored in advance in a distribution table storage unit 1402, and divides the pixel value I of each pixel in the image data after the stripe unevenness correction process into the pixel value I of the large dot. 1 and the pixel value of the small dot I 2 The pixel value distribution unit 1401 then distributes the pixel value I 1 to the large dot filter processing unit 1403 and the small dot density correction unit 2001. The pixel value distribution unit 1401 also outputs the small dot pixel value I 2 is output to the small dot density correction unit 2001.
[0081] The large dot filter processing unit 1403 processes the large dot pixel value I 1 The filter process is performed on the large dot pixel value I 1 Then, the large dot filter processing unit 1403 calculates the large dot pixel value I 1 ' is output to the large dot halftone image data generating unit 1404 and the small dot density correcting unit 2001.
[0082] The small dot density correction unit 2001 corrects the pixel value I 1 and the pixel value of the large dot I 1 ' and the difference value ΔI 1 In addition, the small dot density correction unit 2001 derives the difference value ΔI 1 is multiplied by the density ratio α to obtain the correction difference value ΔI 1The density ratio α is the ratio of the black density of a solid black output image printed by large dots to that of a solid black output image printed by small dots, and is derived in advance. The small dot density correction unit 2001 also derives a small dot correction difference value ΔI 1 ´ and small dot pixel value I 2 The small dot correction pixel value I 2+Δ Then, the small dot density correction unit 2001 derives the small dot corrected pixel value I 2+Δ to the small dot halftone image data generating unit 1405.
[0083] The small dot halftone image data generating unit 1405 generates the small dot corrected pixel value I 2+Δ The small dot halftone image data generating unit 1405 then outputs the small dot halftone image data to the print image recording device 311 via the print image output unit 308.
[0084] <Processing performed by the image processing device> Fig. 21 is a flowchart of the process executed by the image processing device 300 in this embodiment. The flowchart shown in Fig. 21 is realized by reading a control program stored in the storage unit 303 or ROM 305 of the image processing device 300 into the RAM 306 and executing it by the CPU 304. Alternatively, some or all of the functions of the steps in Fig. 21 may be realized by hardware such as an ASIC or an electronic circuit. In the process executed by the image processing device 300 in this embodiment, the processes in the steps other than S2101 and S2102 are similar to the processes described using Fig. 15, so the description will be omitted. In addition, the steps are executed in the order of S501, S502, S1501, S1502, S2101, S1503, and S2102.
[0085] In S2101, the small dot density correction unit 2001 calculates the small dot corrected pixel value I 2+ΔThe details of the derivation process in this step will be described later with reference to FIG.
[0086] In S2102, the small dot halftone image data generating unit 1405 calculates the small dot corrected pixel value I 2+Δ Then, small dot halftone image data generating unit 1405 stores the small dot halftone image data in a prescribed storage area.
[0087] <Processing Executed by the Small Dot Density Correction Unit> 22 is a flowchart of the process executed by the small dot density correction unit 2001 in this embodiment. 2+Δ The process of deriving is described in detail with reference to the flowchart in FIG.
[0088] FIG. 23 shows the pixel value I of the small dot shown in FIG. 2 The pixel value I of the small dot corresponding to each pixel position in the y direction of the image data composed of 2 FIG. 13 is a diagram showing the average value in the x direction of the above.
[0089] In S2201, the small dot density correction unit 2001 calculates the difference value ΔI 1 Derive:
[0090]
number
[0091] FIG. 24 shows the difference value ΔI 1 In this embodiment, as shown in FIG. 24, the streaks in the high frequency components that cannot be corrected by large dots are averaged in the x direction. 1 It is derived as:
[0092] In S2202, the small dot density correction unit 2001 calculates the difference value ΔI 1 The small dot correction difference value ΔI 1 Convert to ´.
[0093]
number
[0094] The correction difference value ΔI for this small dot 1 ' is the pixel value of a small dot for correcting streaks in high frequency components that cannot be corrected by a large dot.
[0095] In S2203, the small dot density correction unit 2001 calculates the small dot corrected pixel value I 2+Δ Derive:
[0096]
number
[0097] The above is the content of the processing executed by the small dot density correction unit 2001 according to this embodiment. 2+Δ In this embodiment, as shown in FIG. 25, the corrected pixel value I 2+Δ is a value that includes high frequency components that cannot be corrected by large dots.
[0098] <Effects of this embodiment> As described above, in this embodiment, the difference value between the pixel value of a large dot after filtering using the LPF and the original pixel value of the large dot is calculated as the small dot correction difference value ΔI 1 Then, the converted small dot correction difference value ΔI 1 ´ and the original pixel value of the small dot I 2 Corrected pixel value I 2+ΔAs a result, it is possible to suppress the occurrence of moire while also suppressing streaks in the high frequency components that cannot be corrected by large dots.
[0099] [Variations] In the second embodiment, the case where stripes in high frequency components that cannot be corrected by large dots are corrected by small dots has been described. 1 In this case, the banding in the high frequency components that cannot be corrected by large dots cannot be sufficiently corrected.
[0100] Therefore, in this modified example, a filter process is performed using a high-pass filter (hereinafter also referred to as HPF) corresponding to the frequency characteristics of the dot pattern of small dots on the pixel value I in the image data after the stripe unevenness correction process. After that, a filter process is performed using an LPF corresponding to the frequency characteristics of the dot pattern of large dots on the pixel value of large dots. Then, a dither process is performed on the image data consisting of the pixel values of small dots after the filter process to generate binary small dot halftone image data. Also, a dither process is performed on the image data consisting of the pixel values of large dots after the filter process to generate binary large dot halftone image data. As a result, stripe unevenness in high frequency components that cannot be corrected by large dots is corrected by the small dot halftone image data, and stripe unevenness in low frequency components is recorded by the large dot halftone image data. Also, this large dot halftone image data records a high density image that cannot be recorded by small dots. As a result, in this embodiment, even if the density that can be recorded by small dots is insufficient, stripe unevenness due to nozzle characteristics including stripe unevenness in high frequency components that cannot be corrected by large dots is suppressed, while suppressing the occurrence of moire in the halftone image. Incidentally, the same components as those in the first and second embodiments are denoted by the same reference numerals, and detailed description thereof will be omitted.
[0101] <Functional configuration of image processing device> Fig. 26 is a block diagram showing a detailed functional configuration of the image processing device 300 in this modified example. The functional configuration shown in Fig. 26 is realized by the CPU 304 of the image processing device 300 executing a program for realizing the functional configuration and the functions. In addition, the image data input unit 401 is similar to that in the first and second embodiments, and therefore a description thereof will be omitted.
[0102] The density correction unit 402 outputs the image data after the streak correction process to the large dot filter processing unit 1403 and the small dot filter processing unit 2601 .
[0103] The small dot filter processing unit 2601 performs filtering using the HPF acquired from the high-pass filter storage unit 2602 on the pixel value I of the image data after the correction processing in accordance with the frequency characteristics of the dot pattern of the small dot. HPF Then, the small dot filter processing unit 2601 derives the pixel value I HPF to a large dot filter processing unit 1403 and a small dot halftone image data generating unit 1405.
[0104] The large dot filter processing unit 1403 calculates the pixel value I of each pixel in the image data after the correction process and the pixel value I of the small dot after the filter process. HPF Difference value ΔI 2 In addition, the large dot filter processing unit 1403 derives the small dot difference value ΔI 2 is multiplied by the inverse of the density ratio α to obtain the large dot correction difference value ΔI 2 In addition, the large dot filter processing unit 1403 derives a large dot correction difference value ΔI 2 ' is filtered using the LPF acquired from the low-pass filter storage unit 405. As a result, the large dot filter processing unit 1403 obtains the large dot pixel value I LPFThen, the large dot filter processing unit 1403 derives the large dot pixel value I LPF The image data composed of the above is output to the large dot halftone image data generating unit 1404.
[0105] The large dot halftone image data generating unit 1404 generates the large dot pixel value I LPF The large dot halftone image data generating unit 1404 then outputs the generated large dot halftone image data to the print image recording device 311 via the print image output unit 308.
[0106] The small dot halftone image data generating unit 1405 generates the small dot pixel value I HPF The small dot halftone image data generating unit 1405 then outputs the generated small dot halftone image data to the print image recording device 311 via the print image output unit 308.
[0107] <Processing performed by the image processing device> Fig. 27 is a flowchart of the process executed by the image processing device 300 in this modified example. The flowchart shown in Fig. 27 is realized by reading a control program stored in the storage unit 303 or ROM 305 of the image processing device 300 into the RAM 306 and executing it by the CPU 304. Alternatively, some or all of the functions of the steps in Fig. 27 may be realized by hardware such as an ASIC or an electronic circuit. In the process executed by the image processing device 300 in this modified example, S501 and S502 are the same as the processes described using Fig. 21, and therefore the description thereof will be omitted. Also, the steps are executed in the order of S501, S502, S2701, S2702, S2703, and S2704.
[0108] In S2701, the small dot filter processing unit 2601 performs filtering using an HPF on the pixel value I of each pixel in the image data after the correction processing, and obtains the pixel value I of the small dot after the filtering processing. HPF The details of the derivation process in this step will be described later with reference to FIG.
[0109] In S2702, the large dot filter processing unit 1403 calculates the difference value ΔI 2 Based on the density ratio α, the pixel value I LPF The details of the derivation process in this step will be described later with reference to FIG.
[0110] In S2703, the large dot halftone image data generating unit 1404 calculates the large dot pixel value I LPF The large dot halftone image data generating unit 1404 performs dithering on the image data composed of the above, and generates binary large dot halftone image data. The large dot halftone image data generating unit 1404 stores the generated large dot halftone image data in a prescribed storage area.
[0111] In S2704, the small dot halftone image data generating unit 1405 calculates the small dot pixel value I HPF The small dot halftone image data generating unit 1405 stores the generated small dot halftone image data in a specified storage area.
[0112] <Processing Executed by the Small Dot Filter Processing Unit> 28 is a flowchart of the process executed by the small dot filter processing unit 2601 in this modified example. HPF The process of deriving is described in detail with reference to the flowchart in FIG.
[0113] In S2801, the small dot filter processing unit 2601 acquires from the high-pass filter storage unit 2602 the HPF to be applied to the pixel value I of each pixel in the image data after the correction processing.
[0114] Fig. 29 is a diagram showing a one-dimensional Sobel filter in the y direction. Here, the one-dimensional Sobel filter in the y direction shown in Fig. 29 is used as the HPF. The Sobel filter with the filter coefficients shown in Fig. 29 is created in advance as the HPF and stored in the small dot filter processing unit 2601.
[0115] In S2802, the small dot filter processing unit 2601 performs filtering using an HPF on the pixel value I of each pixel in the image data after the correction processing, and obtains the pixel value I of the small dot after the filtering processing. HPF Then, the small dot filter processing unit 2601 derives the pixel value I HPF In addition, the small dot filter processing unit 2601 stores the pixel value I 2 Derive (p).
[0116]
number
[0117] In the above formula (6), min(I HPF ) is the pixel value of the small dot after filtering I HPF is the minimum value of.
[0118] FIG. 30 shows the pixel value I of the small dot corresponding to each pixel position in the y direction. 2 In this modified example, the pixel value I of the small dot is averaged in the x direction. 2 (p) is the pixel value I of the small dot after filtering HPF and its minimum value, min(I HPF ) and is offset to be greater than or equal to 0.
[0119] The above is the content of the processing executed by the small dot filtering unit 2601 according to this modified example. Fig. 31 is a diagram showing an image after filtering using an HPF, and shows an edge image in which pixel value changes due to density unevenness are at high frequencies.
[0120] <Processing performed by the large dot filter processing unit> 32 is a flowchart of the process executed by the large dot filter processing unit 1403 in this modified example. LPF The process of deriving is described in detail with reference to the flowchart of FIG.
[0121] In S3201, the large dot filter processing unit 1403 calculates the small dot difference value ΔI 2 Derive:
[0122]
number
[0123] FIG. 33 shows the small dot difference value ΔI averaged in the x direction corresponding to each pixel position in the y direction. 2 FIG. 33 shows how pixel values for printing a high-density image that cannot be printed with small dots using large dots are calculated using a difference value ΔI 2 is shown as:
[0124] In S3202, the large dot filter processing unit 1403 calculates the small dot difference value ΔI 2 The correction difference value ΔI for the large dot 2 Convert to ´.
[0125]
number
[0126] The correction difference value ΔI for this large dot 2' is the pixel value of a large dot that corrects the streaks in the low frequency component. Also, the correction difference value ΔI 2 As a result, high density images that cannot be printed with small dots are printed with large dots.
[0127] In S3203, the large dot filter processing unit 1403 calculates the large dot correction difference value ΔI 2 ´ is the pixel value of the large dot I 1 Set to ´´.
[0128]
number
[0129] In S3204, the large dot filter processing unit 1403 calculates the large dot pixel value I 1 The LPF to be applied to '' is obtained from the low-pass filter storage unit 405.
[0130] In S3205, the large dot filter processing unit 1403 calculates the large dot pixel value I 1 ´´ is filtered using the LPF obtained in S3204, and the pixel value I LPF The above is the content of the processing executed by the large dot filter processing unit 1403 according to this embodiment.
[0131] <Effects of this modified example> As described above, in this modified example, the pixel value I of the small dot after filtering HPF After deriving, the pixel value I of the large dot after filtering is LPFis derived. Then, streaks in high frequency components that cannot be corrected with large dots are corrected with small dot halftone image data. Also, streaks in low frequency components are corrected with large dot halftone image data. Also, a high density image that cannot be printed with small dots is printed using this large dot halftone image data. As a result, in this modified example, even if the density that can be printed with small dots is insufficient, it is possible to suppress streaks due to nozzle characteristics, including streaks in high frequency components that cannot be corrected with large dots, while suppressing the occurrence of moire in the halftone image.
[0132] Also, as mentioned above, the pixel value I 2 (p) is offset to a value greater than or equal to 0. Therefore, pixel areas on the highlight side are recorded with small dots that have good granularity, and pixel areas on the shadow side are recorded with large dots. As a result, the large dots are responsible for suppressing streaks in the low frequency components and recording high densities on the shadow side, while the small dots are responsible for suppressing streaks in the high frequency components and recording with good granularity on the highlight side, resulting in a secondary effect of functional separation.
[0133] In this modification, the pixel value I of the image data after the correction process is filtered using an HPF according to the frequency characteristics of the dot pattern of small dots, but the filter used in this filtering process is not limited to an HPF. For example, if stripes occur at a higher frequency than the frequency at which moire is likely to occur in a dot pattern of small dots, an LPF according to the frequency characteristics of the dot pattern of small dots may be applied in addition to the above-mentioned HPF. Also, a bandpass filter that combines an HPF according to the frequency characteristics of a dot pattern of small dots and an LPF according to the frequency characteristics of a dot pattern of small dots may be used.
[0134] [Other embodiments] The present invention can also be realized by a process in which a program for implementing one or more of the functions of the above-described embodiment is supplied to a system or device via a network or a storage medium, and one or more processors in a 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 implements one or more of the functions. [Explanation of symbols]
[0135] 311 Print image recording device 401 Image data input unit 402 Density correction section 404 Filter Processing Unit 406 Large dot halftone image data generator
Claims
1. 1. An image processing device that converts input image data into halftone image data that can be recorded by a plurality of nozzles arranged to eject ink, comprising: a correction means for correcting a pixel value of each pixel in the input image data in accordance with the characteristics of the nozzle; a generating means for performing a first halftone process on a first frequency component of the frequency components of the corrected input image data to generate first halftone image data, and performing a second halftone process on a second frequency component lower than the first frequency component to generate second halftone image data; having the second halftone image data is data generated for recording by second dots having a dot size such that adjacent dots overlap each other, 13. An image processing apparatus comprising: first halftone image data corresponding to said first frequency component, said first halftone image data being data generated for recording by first dots smaller than said second dots.
2. 2 . The image processing apparatus according to claim 1 , wherein the correction means corrects a pixel value for each pixel position in the input image data in a direction parallel to a direction in which the nozzles are arranged.
3. the second frequency component is obtained by filtering pixel values of the input image data using a second filter; 3. The image processing apparatus according to claim 2, wherein the second filter is a one-dimensional filter in a direction parallel to a direction in which the nozzles are arranged.
4. 4. The image processing apparatus according to claim 3, wherein the one-dimensional filter is a Gaussian filter.
5. a distribution means for distributing a pixel value of each pixel in the corrected input image data into a first pixel value to be recorded by the first dot and a second pixel value to be recorded by the second dot; a first filter processing means for performing a filter process on the first pixel value using a first filter; a second filter processing means for performing a filter process on the second pixel value using the second filter; 5. The image processing apparatus according to claim 3, further comprising:
6. 6. The image processing device according to claim 5, further comprising a density correction means for adding a difference value between a pixel value obtained by performing a filter process on the second pixel value using the second filter by the second filter processing means and the second pixel value to the first pixel value.
7. 7. The image processing apparatus according to claim 1, wherein the halftone processing is a dither processing.
8. 8. The image processing apparatus according to claim 1, wherein the correction means corrects a pixel value for each pixel position in the input image data in a direction perpendicular to a direction in which the nozzles are arranged.
9. 9. The image processing apparatus according to claim 1, wherein a dot size of the second dot is larger than an interval between the plurality of aligned nozzles.
10. 4. The image processing apparatus according to claim 3, wherein the second filter is a low-pass filter.
11. A program for causing a computer to function as each of the means of the image processing device according to any one of claims 1 to 10.
12. 1. An image processing method for converting input image data into halftone image data that can be recorded by a plurality of nozzles arranged to eject ink, comprising the steps of: a correcting step of correcting a pixel value of each pixel in the input image data in accordance with the characteristics of the nozzle; a generating step of performing a first halftone process on a first frequency component of the frequency components of the corrected input image data to generate first halftone image data, and performing a second halftone process on a second frequency component lower than the first frequency component to generate second halftone image data; having the second halftone image data is data generated for recording by second dots having a dot size such that adjacent dots overlap each other, 13. An image processing method, comprising: first halftone image data corresponding to said first frequency component being data generated for recording with first dots smaller than said second dots.
Citation Information
Patent Citations
Printing device, printing program, printing method and image processing device, image processing program, image processing method, and recording medium on which program is recorded
JP2007083704A
Image processing method, program, storage medium, image processor, and image forming apparatus
JP2008126453A
Image processing apparatus and image processing method
JP2011042162A
Image processing apparatus and image processing method
JP2015156635A
Variable data vector graphic pattern ink pantograph
US10321002B1
