The present invention relates to an image processing technique.
Conventionally, there is known an inkjet printing apparatus that prints an image on a print medium by discharging ink onto the print medium from a printhead including a print element array formed by arraying a plurality of print elements while relatively moving at least one of the print medium and the printhead.
Among inkjet methods, a bubble jet printing method (BJ) is a method of abruptly heating and vaporizing ink by a heating element and discharging an ink droplet from an orifice by the pressure of a generated bubble. A bubble generated in a bubble jet printhead having such structure is cooled by surrounding ink, the vapor of ink in the bubble is condensed into a liquid, and thus the bubble finally disappears. On the other hand, ink is filled (refilled) from an ink tank storing ink via an ink supply path by an amount consumed by discharge.
Immediately after a nozzle provided with a print element discharges ink, a tailing state of ink in which ink is not separated from the nozzle is formed. After that, a main droplet portion starts to be formed on the front side in a discharge direction. When the main droplet portion overcomes surface tension, the main droplet portion is divided into a main droplet and a plurality of sub-droplets (satellites), and the main droplet and the plurality of satellites separately fly. Finally, the main droplet and the plurality of satellites land on a print medium.
As in the above-described example, since a plurality of accompanying satellites unwantedly land on a print medium in addition to a main droplet by ink discharge from each nozzle, this causes image deterioration especially in an edge region of an image, which is a boundary between a printing portion and a non-printing portion.
In consideration of the above problem, there has been proposed a technique disclosed in Japanese Patent No. 3559737. Japanese Patent No. 3559737 discloses a technique capable of realizing high-quality lines and characters with sharp edge regions by making satellites land inside a pixel region formed by a main droplet at the time of driving one of nozzle arrays in accordance with the scanning direction of a carriage in a case where sub-droplets accompanying the main droplet of discharged ink fly at a constant angle.
However, as disclosed in Japanese Patent No. 3559737, when driving one of print element arrays in accordance with the scanning direction of the carriage, image quality deteriorates and throughput decreases.
For example, print data used to print a first print region in a first scanning direction is first print data that limits the use ratio of a first nozzle array. On the other hand, a second print region adjacent to the first print region in a print sheet conveyance direction is printed in a second scanning direction reverse to the first scanning direction. Print data used to print the second print region in the second scanning direction is second print data that limits the use ratio of a second nozzle array. Since different print data is used in accordance with the print sheet conveyance direction on a print medium, the image uniformity with the adjacent print region degrades, thereby causing deterioration in image quality.
In addition, since the two types of print data of the first print data for the first scanning direction and the second print data for the second scanning direction are generated, the processing time increases. For next carriage scanning after the first scanning direction, the second scanning direction as a reverse scanning direction is not always optimum depending on the arrangement of input image data. The first print region is printed in the first scanning direction, and the carriage is stopped at a print end position. If there is print data only in the advancing direction of the first scanning direction from the carriage stop position in the second print region adjacent to the first print region, the scan time becomes shortest by performing a next scan in the first scanning direction. In this case, if the scanning direction of each print region is decided and then print data is generated, it takes the processing time before the start of carriage scanning, thereby decreasing the throughput.
The present invention provides a technique for suppressing deterioration in image quality and a decrease in throughput while realizing high-quality printing even in a case where satellites accompanying a main droplet of ink discharged in accordance with a scanning direction fly at a constant flight distance.
According to the first aspect of the present invention, there is provided an image processing apparatus comprising: an acquisition unit configured to acquire an input image including a target object; and a generation unit configured to generate, based on the input image, print data representing the presence/absence of application of an ink droplet from a print unit, wherein the print unit includes a first print element array and a second print element array in each of which print elements each for applying an ink droplet are arrayed, and reciprocally scans in a first direction and a second direction reverse to the first direction, and the generation unit generates the print data so that a first edge region of the target object where a ratio of pixels printed by at least one print element included in the first print element array to a plurality of pixels included in the first edge region is lower than a ratio of pixels printed by at least one print element included in the second print element array is a region contacting a boundary at which the object changes to a margin region of a print medium when viewed in the first direction, and a second edge region of the target object where a ratio of pixels printed by at least one print element included in the second print element array to a plurality of pixels included in the second edge region is lower than a ratio of pixels printed by at least one print element included in the first print element array is a region contacting a boundary at which the object changes to the margin region of the print medium when viewed in the second direction.
According to the second aspect of the present invention, there is provided an image processing method comprising: acquiring an input image including a target object; and generating, based on the input image, print data representing the presence/absence of application of an ink droplet from a print unit, wherein the print unit includes a first print element array and a second print element array in each of which print elements each for applying an ink droplet are arrayed, and reciprocally scans in a first direction and a second direction reverse to the first direction, and the print data is generated so that a first edge region of the target object where a ratio of pixels printed by at least one print element included in the first print element array to a plurality of pixels included in the first edge region is lower than a ratio of pixels printed by at least one print element included in the second print element array is a region contacting a boundary at which the object changes to a margin region of a print medium when viewed in the first direction, and a second edge region of the target object where a ratio of pixels printed by at least one print element included in the second print element array to a plurality of pixels included in the second edge region is lower than a ratio of pixels printed by at least one print element included in the first print element array is a region contacting a boundary at which the object changes to the margin region of the print medium when viewed in the second direction.
According to the third aspect of the present invention, there is provided a non-transitory computer-readable storage medium storing a computer program for causing a computer to function as: an acquisition unit configured to acquire an input image including a target object; and a generation unit configured to generate, based on the input image, print data representing the presence/absence of application of an ink droplet from a print unit, wherein the print unit includes a first print element array and a second print element array in each of which print elements each for applying an ink droplet are arrayed, and reciprocally scans in a first direction and a second direction reverse to the first direction, and the generation unit generates the print data so that a first edge region of the target object where a ratio of pixels printed by at least one print element included in the first print element array to a plurality of pixels included in the first edge region is lower than a ratio of pixels printed by at least one print element included in the second print element array is a region contacting a boundary at which the object changes to a margin region of a print medium when viewed in the first direction, and a second edge region of the target object where a ratio of pixels printed by at least one print element included in the second print element array to a plurality of pixels included in the second edge region is lower than a ratio of pixels printed by at least one print element included in the first print element array is a region contacting a boundary at which the object changes to the margin region of the print medium when viewed in the second direction.
Further features of the present invention will become apparent from the following description of exemplary embodiments with reference to the attached drawings.
Hereinafter, embodiments will be described in detail with reference to the attached drawings. Note, the following embodiments are not intended to limit the scope of the claimed invention. Multiple features are described in the embodiments, but limitation is not made to an invention that requires all such features, and multiple such features may be combined as appropriate.
Furthermore, in the attached drawings, the same reference numerals are given to the same or similar configurations, and redundant description thereof is omitted.
The structure of a printing apparatus according to this embodiment will be described below with reference to
The printhead H is detachably mounted on a carriage 108 in a posture that the nozzle surface faces the platen 103 or the print medium. The carriage 108 is moved reciprocally in the X direction as the main scanning direction along two guide rails 109 and 110 by the driving force of a carriage motor (not shown). In the process of the movement, the printhead H executes a discharge operation according to a discharge signal. The +X direction in which the carriage 108 moves is a direction orthogonal to the −Y direction in which the print medium is conveyed, and is called the main scanning direction. To the contrary, the −Y direction of conveyance of the print medium is called the sub-scanning direction. By alternately repeating main scanning (movement with a discharge operation) of the carriage 108 and the printhead H and conveyance (sub-scanning) of the print medium, an image is formed stepwise on the print medium P. The contents of the structure of the printing apparatus according to this embodiment have been described.
The structure of the printhead according to this embodiment will be described below with reference to
Each nozzle 1108 discharges black ink. The nozzle array 1101 includes a first nozzle array and a second nozzle array in each of which the nozzles 1108 are arrayed at a pitch of 600 dpi in the Y direction. Each nozzle of the first nozzle array is arranged by being shifted by a half pitch, that is, 1,200 dpi in the −Y direction with respect to each nozzle of the second nozzle array. By performing print scanning using the nozzle array 1101 having the above configuration, the print medium can be printed with a print density of 1,200 dpi. Each of the nozzle arrays 1102, 1103, and 1104 has the same configuration as that of the nozzle array 1101.
Note that the printhead H of this embodiment has a configuration including the print chip with the black nozzle array and the print chip with the cyan nozzle array, the magenta nozzle array, and the yellow nozzle array but the present invention is not limited to this configuration. More specifically, all the black nozzle array, the cyan nozzle array, the magenta nozzle array, and the yellow nozzle array may be mounted on one chip. Alternatively, a printhead on which a print chip with a black nozzle array is mounted may be separated from a printhead on which a print chip with a cyan nozzle array, a magenta nozzle array, and a yellow nozzle array is mounted. Alternatively, a black nozzle array, a cyan nozzle array, a magenta nozzle array, and a yellow nozzle array may be mounted on different printheads, respectively. Furthermore, the printhead H of this embodiment adopts a so-called bubble jet method of discharging ink by applying a voltage to a heater to generate heat but the present invention is not limited to this. More specifically, a configuration of discharging ink using electrostatic actuators or piezoelectric elements may be used. The contents of the structure of the printhead according to this embodiment have been described above.
The terminal apparatus 11 is an information processing apparatus such as a PC, a tablet, or a smartphone, and a cloud printer driver for a cloud print service is installed in the terminal apparatus 11. A user can execute arbitrary application software on the terminal apparatus 11. For example, a print job is generated via the cloud printer driver based on image data generated on the print application. The print job is transmitted, via the cloud print server 12, to the image forming apparatus 10 registered in the cloud print service. The image forming apparatus 10 is a device that executes printing on a print medium such as a sheet, and prints an image on the print medium based on the received print job.
The configuration of a control system according to this embodiment will be described below with reference to
The host computer 201 is an information processing apparatus that, for example, creates a print job including input image data and print condition information necessary for printing, and corresponds to, for example, the terminal apparatus 11 shown in
The scanner 202 is a scanner device connected to the image processing apparatus 100, and converts analog data, generated by optically reading a document placed on a scanner table, into digital data via an A/D converter. Reading by the scanner 202 is executed when the host computer 201 transmits a scan job to the image processing apparatus 100 but the present invention is not limited to this. A dedicated UI apparatus connected to the scanner 202 or the image processing apparatus 100 can substitute for the scanner 202.
A ROM 206 is a readable memory that stores a program for controlling the image processing apparatus 100. A CPU 203 controls the image processing apparatus 100 by executing the program stored in the ROM 206. A host IF control unit 204 communicates with the host computer 201, receives a print job or the like, and stores the print job in a RAM 207. The RAM 207 is a readable/writable memory used as a program execution area or a data storage area.
An image processing unit 208 generates printable nozzle data separated for each nozzle from input image data stored in the RAM 207 in accordance with a print condition included in a print job. The generated nozzle data is stored in the RAM 207. The image processing unit 208 includes a decoder unit 209, a scan image correction unit 216, an image analysis unit 210, a color separation/quantization unit 211, and a nozzle separation processing unit 212.
The printhead control unit 213 generates print data based on the nozzle data stored in the RAM 207, and controls the printhead H within the printer 2. A shared bus 215 is connected to each of the CPU 203, the host IF control unit 204, the scanner IF control unit 205, the ROM 206, the RAM 207, and the image processing unit 208. These connected units can communicate with each other via the shared bus 215. The contents of the configuration of the control system according to this embodiment have been described above.
The procedure of edge processing according to this embodiment will be described below.
In step S301, the image processing unit 208 acquires input image data from the RAM 207. In step S302, the decoder unit 209 performs decoding processing of the acquired input image data. The saving format of the input image data varies, and a compression format such as JPEG is generally used to decrease a communication amount between the host computer 201 and the image processing apparatus 100. In a case where the saving format is JPEG, the decoder unit 209 decodes JPEG input image data and converts it into image data (bitmap image) in a bitmap format (an information format that records an image as continuous pixel values). In a case where the host computer 201 communicates with the image processing apparatus 100 via a dedicated driver or the like, a dedicated saving format may be handled. In a case where a dedicated saving format convenient for both the driver and the image processing apparatus 100 is held, the decoder unit 209 can perform conversion into the dedicated saving format. In accordance with, for example, the characteristic of an inkjet printing apparatus, saving formats with different compression ratios can be applied to a region where information is desirably held at fine accuracy and other regions. If it is desirable to focus on image quality instead of decreasing the communication amount, the input image data may be in the bitmap format. In this case, the decoder unit 209 need only output the bitmap format intact as a conversion result.
In step S303, the image analysis unit 210 analyzes the bitmap image as a decoding result. In this embodiment, by analyzing the image, it is estimated based on a feature in the image whether a target pixel is paper white or in an end portion with a pixel formed by ink different from the target pixel. In addition, an end portion, where the target pixel exists, in a specific direction among the upper, lower, left, and right directions in an object formed by a pixel group is estimated.
In step S402, the image analysis unit 210 converts data of the luminance Y into binary data for edge detection. In this embodiment, as an example, by using threshold data Th provided in advance in correspondence with a print mode of the printing apparatus, the image analysis unit 210 converts the data of the luminance Y into binary data (Bin) by conditional expression (1) below. The binary data generation expression as the conditional expression below is merely an example, and the design of an inequality condition and the form of an expression are not limited to this.
In this embodiment, image analysis is executed using an index of a luminance. In the inkjet printing apparatus, a tone at which black ink is used in color separation is limited. This is because the paper surface density of black ink largely changes for each drop with respect to paper white, and thus image quality readily deteriorates in terms of graininess by frequently using black ink from a low tone. Therefore, it is easy to determine the generation position of black ink based on the luminance information of the input image, as compared with other color inks. By setting the above threshold data Th to an appropriate value, it is possible to set, in the luminance information, a luminance value corresponding to a tone from which black ink is ejected by a predetermined amount or more after ink separation. In this embodiment, it is possible to control the number and arrangement of dots of black ink and the number and arrangement of dots of other color inks adjacent to black ink, and the use of the luminance value is under the control. However, this embodiment is not limited to this. For example, color separation may be executed in advance for the analysis processing and a pixel where black ink is generated as a predetermined color component may correctly be grasped. If color separation is executed in advance, pixels where cyan, magenta, and yellow inks are generated in addition to black ink and discharge amounts of the inks can be grasped, thereby making it possible to perform more detailed analysis. The input image data may be in the CMYK format or the like instead of the RGB format, and may include information effective for analysis when it is the input image data. If the discharge amounts of cyan, magenta, and yellow inks are known, when the discharge amounts are small, color may be considered equivalent to paper white, and determination such as analysis of black ink generated in a region corresponding to paper white on the paper surface may be executed. In this embodiment, the determination is expressed by the threshold data Th. The threshold data Th may appropriately be updated in accordance with the degree of consumption of each nozzle of the nozzle arrays 1101 to 1104 of the printhead in the printing apparatus.
In step S403, the image analysis unit 210 executes edge pattern detection using the binary data.
Based on the above-described method, it is possible to detect various edge patterns. In this embodiment, 7×7 pixels are set as the target of pattern matching, but this is merely an example. If, for example, it is only necessary to be able to detect the pattern shown in
As shown in
As described above, in this embodiment, it is possible to determine whether the target pixel is a pixel to undergo special processing such as processing of thinning dots or processing of changing the arrangement of dots. This processing is merely an example, and an example in a case where there are more restrictions on the memory/speed of the image processing apparatus 100 will be described later in another embodiment.
The determination result of the image analysis processing in step S303 is output in an information format suitable for processing in a subsequent step. For example, the determination result can be expressed by 3-bit multi-valued data such as non-detection (non-appropriate for any detection pattern)=0, upper end portion detection=1, lower end portion detection=2, left end portion detection=3, right end portion detection=4, and adjacent to one of end portions=5. Alternatively, expression of assignment of each bit within 5 bits is also possible, such as non-detection=00000, upper end portion detection=00001, lower end portion detection=00010, left end portion detection=00100, right end portion detection=01000, and adjacent to one of end portions=10000. The former can transmit the determination result to the next processing with a small data amount. The latter has a merit of reducing the processing load since bit processing can be used in the next processing. It has been explained that the five pieces of information are transmitted to the subsequent step. However, as described in step S303 that “the pattern matching information can diversely be expressed”, information more than control information necessary for the subsequent processing steps may be detected and transmitted.
In color correction processing in step S801, the color separation/quantization unit 211 converts RGB data of each pixel into R′G′B′ data expressed in a color space unique to the printing apparatus. As a detailed conversion method, for example, conversion can be performed by referring to a lookup table stored in advance in the memory.
In step S802, the color separation/quantization unit 211 performs color separation processing for the R′G′B′ data. More specifically, with reference to a lookup table stored in advance in the memory, the luminance values R′, G′, and B′ of each pixel are converted into 8-bit, 256-level density values C, M, Y, and K corresponding to ink colors used by the printing apparatus. Furthermore, the color separation/quantization unit 211 copies the density value data of one or more colors of C, M, Y, and K, thereby generating two coincident data in total. For the sake of simplicity, an example of generating black data K1 and K2 will be described. Note that K1 and K2 are adopted to the first nozzle array and the second nozzle array of the nozzle array 1101, respectively, by processing (to be described later).
In steps S803 to S805, the color separation/quantization unit 211 performs different tone correction processing based on whether the processed pixel is in the second end portion using the density value K1 and the result determined in step S303. In steps S806 to S808, the color separation/quantization unit 211 performs different tone correction processing based on whether the processed pixel is in the first end portion using the density value K2 and the result determined in step S303. The tone correction processing is such correction that the input density value and an optical density expressed by the print medium P have a linear relationship. This correction processing converts the 8-bit, 256-level density values K1 and K2 into 8-bit, 256-level density values K1′ and K2′. If it is detected in step S303 that the pixel is in the second end portion, the density value K1 is converted into K1′=0 in step S805; otherwise, the density value K1 is converted into K1′ by the first tone correction processing in step S804. On the other hand, if it is detected in step S303 that the pixel is in the first end portion, the density value K2 is converted into K2′=0 in step S808; otherwise, the density value K2 is converted into K2′ by the first tone correction processing in step S807.
In step S809, the color separation/quantization unit 211 performs predetermined quantization processing for the density value K1′ to convert it into 4-bit 3-valued quantization data (quantization value) of “0000”, “0001”, and “0010”. In this example, three values of a low density, an intermediate density, and a high density are expressed. Furthermore, in steps S810 to S812, the color separation/quantization unit 211 sets a value in the most significant bit based on whether the processed pixel is in the first end portion using the result determined in step S303, and outputs 4-bit quantization data K1″. More specifically, if it is detected that the pixel is in the first end portion, the most significant bit=1 is set in step S812; otherwise, the most significant bit=0 is set in step S811. Similarly, in step S813, the color separation/quantization unit 211 performs predetermined quantization processing for the density value K2′ to convert it into 4-bit 3-valued quantization data of “0000”, “0001”, and “0010”. In this example, three values of a low density, an intermediate density, and a high density are expressed. Furthermore, in steps S814 to S816, the color separation/quantization unit 211 sets a value in the most significant bit based on whether the processed pixel is in the second end portion using the result determined in step S303, and outputs 4-bit quantization data K2″. More specifically, if it is detected that the pixel is in the second end portion, the most significant bit=1 is set in step S816; otherwise, the most significant bit=0 is set in step S815.
In step S305, the nozzle separation processing unit 212 performs index expansion processing for the quantization data K1″ and K2″ output in step S304. In the index expansion processing of this embodiment, the quantization data K1″ and K2″ of 600×600 dpi are converted into binary nozzle data K1p and K2p of 600×600 dpi using an index pattern prepared in advance. The quantization data K1″ is converted into the nozzle data K1p by the first index expansion processing in step S817 of
To implement this embodiment, the processing of the color separation/quantization unit 211 and the nozzle separation processing unit 212 is not limited to the example shown in
In step S2403, the color separation/quantization unit 211 performs tone correction processing for the density value K to convert it into the density value K′. The method of the tone correction processing is the same as in step S804 or S807 and a description thereof will be omitted.
In step S2404, the color separation/quantization unit 211 performs predetermined quantization processing for the density value K′ to convert it into 4-bit 3-valued quantization data of “0000”, “0001”, and “0010”. Furthermore, in step S2405 to S2409, the color separation/quantization unit 211 sets a value in upper 2 bits based on the end portion information of the processed pixel using the result determined in step S303, and outputs 4-bit quantization data K″. If it is detected that the pixel is in the first end portion, upper 2 bits=01 is set in step S2409. If it is determined that the pixel is not in the first end portion but in the second end portion, upper 2 bits=10 is set in step S2408. If it is detected that the pixel is in neither the first end portion nor the second end portion, upper 2 bits=00 is set in step S2407.
In step S2410, the nozzle separation processing unit 212 performs index expansion processing for the quantization data K″ output in step S304. In the index expansion processing in this example, the quantization data K″ of 600×600 dpi is converted into the binary nozzle data K1p and K2p of 600 dpi×600 dpi using the index pattern prepared in advance.
With the above procedure, data printed by each nozzle is obtained as in the procedure shown in
This embodiment has explained the example in which the upstream side nozzle of each pixel is the first nozzle and the downstream side nozzle is the second nozzle but this is merely an example. For example, for the purpose of correcting a physical positional shift in the Y direction that can occur between the black nozzle array 1101 and each of the remaining color nozzle arrays 1102 to 1104, the black nozzle may be shifted in the Y direction by 1200 dpi×odd number with respect to the input image, thereby executing printing. In this case, the Ev nozzle and the Od nozzle to be used may be exchanged (the Ev nozzle is used for the 0th, second, fourth, . . . data in the Y direction and the Od nozzle is used for the first, third, fifth, . . . data in the Y direction). In step S305, the nozzle separation processing unit 212 generates the nozzle data K1p as data for the second nozzle of the nozzle array 1101 and generates K2p as data for the first nozzle of the nozzle array 1101, thereby making it possible to obtain the same effect. The contents of the processing at the time of shifting nozzles to be used according to this embodiment have been described above.
This embodiment has explained the processing of step S803 and the subsequent steps with respect to only the black data. However, in step S802, data other than the black data, that is, the density value data of cyan, magenta, and yellow are also output. The same processing as that for the black data is performed for these data. Alternatively, processing different from that for the black data may be used, as will be described below.
In step S1205, the color separation/quantization unit 211 outputs 4-bit quantization data C″, M″, and Y″ based on whether the processed pixel is a pixel adjacent to a specific end portion using the result determined in step S303. The specific end portion is, for example, the first end portion or the second end portion. More specifically, if it is detected that the pixel is a pixel adjacent to the specific end portion, the most significant bit of the quantization data=1 is set in step S1207; otherwise, the most significant bit of the quantization data=0 is set in step S1206.
In step S1208, the nozzle separation processing unit 212 performs index expansion processing for each of the quantization data C″, M″, and Y″ output in step S304. In the index expansion processing in this example, the quantization data C″, M″, and Y″ of 600 dpi×600 dpi are converted into binary nozzle data C1p, C2p, M1p, M2p, Y1p, and Y2p of 600 dpi×600 dpi using the index pattern prepared in advance.
The flight characteristic of the main droplet and satellites depending on the scanning direction of the carriage has been described above. As in this example, even if the flight characteristic of the main droplet and the satellites is not symmetrical in accordance with the scanning direction of the carriage, the flight distance of the main droplet need only be different from the flight distance of the satellite between the first scanning direction and the second scanning direction as a scanning direction reverse to the first scanning direction. In addition, the present invention is not limited to the above-described difference in flight characteristic of the main droplet and the satellites caused by the nozzle structure. For example, the flight characteristic of the main droplet and the satellites may be different between a front nozzle array and a rear nozzle array in the advancing direction of the carriage due to the influence of an air flow (not shown) generated by ink discharge and carriage scanning. This embodiment will exemplify a printhead having the above-described first ink droplet flight characteristic.
In
In the case of the second scanning direction in which the carriage advances leftward in
In
In the case of the second scanning direction in which the carriage advances leftward in
The flight characteristic of the main droplet and the satellites depending on the scanning direction of the carriage and the landing positions of the main droplet and the satellites on the print medium have been described above. As described above, if the flight characteristic of the main droplet and the satellites of an ink droplet discharged from each nozzle array group is different depending on the scanning direction of the carriage, the amount of satellites flying to the periphery of an edge region is different between an edge region adjacent to the boundary between an object and the margin region of the print medium in the first scanning direction and an edge region adjacent to the boundary between the object and the margin region of the print medium in the second scanning direction. An example of edge region image processing of thinning print pixels in consideration of the above flight characteristic will be described. In this embodiment, a description will be provided using the printhead in which the nozzle arrays are arrayed, as shown in
On the right side of the printhead H, the first nozzles with even Seg numbers are arrayed at an interval of 600 dpi, and are assigned to printing of pixels at pixel positions Ye (e is an even number) among the pixel positions Y0 to Y19. On the left side of the printhead H, the second nozzles with odd Seg numbers are arrayed at an interval of 600 dpi, and are assigned to printing of pixels at pixel positions Yo (o is an odd number) among the pixel positions Y0 to Y19.
This thinning target settings are stored in advance in the ROM 206 or the like. Then, when generating print data, the printhead control unit 213 sets, based on the settings, as thinning targets, “pixels to be printed by ink droplets from the first nozzles among the pixels determined as the first edge region” and “pixels to be printed by ink droplets from the second nozzles among the pixels determined as the second edge region”. That is, the printhead control unit 213 generates, from the input image, print data for deciding the presence/absence of discharge of an ink droplet from the printhead including the first nozzle array and the second nozzle array having a relative relationship different from a relative relationship between the main droplet and the satellites discharged from the first nozzle array. At this time, the printhead control unit 213 sets, as thinning targets, pixels to be printed by the nozzles of the first nozzle array among the pixels of the first edge region on the object side adjacent to the boundary at which the object changes to the margin region in the first scanning direction of the printhead. Similarly, the printhead control unit 213 sets, as thinning targets, pixels to be printed by the nozzles of the second nozzle array among the pixels of the second edge region on the object side adjacent to the boundary at which the object changes to the margin region in the second scanning direction reverse to the first scanning direction of the printhead. For the pixels set as the thinning targets, no ink is discharged.
Note that this embodiment aims at decreasing the use ratio of nozzles that cause many satellites to fly to the periphery of the edge in printing of the first edge region and printing of the second edge region. The present invention is not limited to the print data generation method of thinning all the pixels, as described in the above print data generation.
First, the carriage is scanned in the first scanning direction to execute printing based on print data of a first band region. After executing printing based on all the print data of the first band region, the print medium is conveyed by conveyance (first conveyance) of the print medium to be able to execute printing on a second band region.
Subsequently, the carriage is scanned in the first scanning direction to execute printing based on print data of the second band region. After executing printing based on all the print data of the second band region, the print medium is conveyed by conveyance (second conveyance) of the print medium to be able to execute printing on a third band region.
Subsequently, the carriage is scanned in the second scanning direction to execute printing based on print data of the third band region. After executing printing based on all the print data of the third band region, the print medium is conveyed by conveyance (third conveyance) of the print medium to be able to execute printing on a fourth band region.
Finally, the carriage is scanned in the first scanning direction to execute printing based on all print data of the fourth band region.
As described above, in the print result of executing printing in the first scanning direction and the second scanning direction using the print data not having undergone the edge processing according to this embodiment, the flight of the satellites is conspicuous on the periphery of the edge, thereby causing deterioration in print quality of the lines and characters. In addition, when a plurality of print data are selected in accordance with the scanning direction (not shown), the image uniformity with the adjacent print region degrades, thereby decreasing the throughput.
First, the carriage is scanned in the first scanning direction to execute printing based on the print data of the first band region. After executing printing based on all the print data of the first band region, the print medium is conveyed by conveyance (first conveyance) of the print medium to be able to execute printing on the second band region.
Subsequently, the carriage is scanned in the first scanning direction to execute printing based on the print data of the second band region. After executing printing based on all the print data of the second band region, the print medium is conveyed by conveyance (second conveyance) of the print medium to be able to execute printing on the third band region.
Subsequently, the carriage is scanned in the second scanning direction to execute printing based on the print data of the third band region. After executing printing based on all the print data of the third band region, the print medium is conveyed by conveyance (third conveyance) of the print medium to be able to execute printing on the fourth band region.
Finally, the carriage is scanned in the first scanning direction to execute printing based on all the print data of the fourth band region.
As described above, as the print result of executing printing in the first scanning direction and the second scanning direction using the print data generated by the edge processing according to this embodiment, it is possible to print high-quality lines and characters in which the flight of the satellites is not conspicuous on the periphery of the edge. In addition, since it is unnecessary to select a plurality of print data in accordance with the scanning direction with respect to the print data generated in this embodiment, it is possible to shorten the time taken to generate the print data.
As a result, in the configuration of the printhead having the flight characteristic that the relative landing distance of the satellite accompanying the main droplet of discharged ink is different depending on the scanning direction, it is possible to suppress degradation in image uniformity with the adjacent print region and a decrease in throughput while printing high-quality lines and characters.
The difference from the first embodiment will be described below, and the second embodiment is assumed to be the same as the first embodiment, unless it is specifically stated otherwise.
As for the print density in the X direction, each of the first nozzle array and the second nozzle array discharges ink at a resolution of 600 dpi in the scanning direction of a carriage, and one or both of the first nozzle array and the second nozzle array are used to eject a droplet. This can realize a print resolution of 600 dpi on the print medium.
The contents of the structure of the printhead used in the second embodiment have been described above.
With respect to the Y direction, “first nozzles with Seg numbers of 0 to 19 arrayed at an interval of 1,200 dpi” and “second nozzles with Seg numbers of 0 to 19 arrayed at an interval of 1,200 dpi” that are arranged in the printhead H are assigned to printing of pixels at the pixel positions Y0 to Y19.
On the other hand, with respect to the X direction, the first nozzles with odd Seg numbers in the first nozzle array and the second nozzles with even Seg numbers in the second nozzle array are assigned to printing of pixels at pixel positions Ye (e is an even number) among the pixel positions X0 to X19. In addition, the first nozzles with even Seg numbers in the first nozzle array and the second nozzles with odd Seg numbers in the second nozzle array are assigned to printing of pixels at pixel positions Yo (o is an odd number) among the pixel positions X0 to X19. As a result, it is possible to execute printing on the print medium at a print resolution of 600 dpi in the scanning direction of the carriage.
In this embodiment as well, a printhead control unit 213 generates print data in the same manner as in the first embodiment. The contents of the first print data generation used in the second embodiment have been described above.
Note that this embodiment aims at decreasing the use ratio of nozzles that cause many satellites to fly to the periphery of the edge in printing of the first edge region and printing of the second edge region. The present invention is not limited to the print data generation method of thinning the pixels, as described in the first print data generation.
Second print data generation according to this embodiment will now be described. A pixel that is added with “E” in
As described above, by generating second print data, nozzles for printing the first edge region and the second edge region are assigned. As a result, it is possible to decrease the use ratio of nozzles that cause relatively many satellites to fly in printing on the periphery of the edge.
A print result when generation of the first print data and the second print data used in this embodiment is used is the same as the contents described with reference to
As described above, in the print result printed in the first scanning direction and the second scanning direction using the print data generated by the edge processing of this embodiment, it is possible to print high-quality lines and characters with less satellites flying to the periphery of the edge. In addition, since it is unnecessary to select a plurality of print data in accordance with the scanning direction with respect to the print data generated in this embodiment, it is possible to shorten the time taken to generate the print data.
As a result, in the configuration of the printhead having the flight characteristic that the relative landing distance of the satellite accompanying the main droplet of discharged ink is different depending on the scanning direction, it is possible to suppress degradation in image uniformity with the adjacent print region and a decrease in throughput while printing high-quality lines and characters.
Each of the first embodiment and the second embodiment has explained an example of suppressing flight of satellites to the periphery of an edge by thinning pixels assigned with nozzles that cause many satellites to fly in accordance with the scanning direction of the carriage with respect to the first edge region and the second edge region detected by edge detection. In a case of print data generation by thinning, if, for example, an edge region is thinned by a ruled line with a width as small as 1 dot at 600 dpi, the density of a line decreases, thereby degrading visibility of the line.
To cope with this, exception processing of setting pixels not to be thinned by not detecting the pixels as the first edge region or the second edge region in a case of a predetermined line width or less may be performed. That is, pixels that continue in the scanning direction of the carriage and the number of which is equal to a predetermined number are to be thinned, and pixels that continue in the scanning direction of the carriage and the number of which is smaller than the predetermined number are not to be thinned. Furthermore, pixels that continue in the conveyance direction of the print medium and the number of which is equal to the predetermined number are to be thinned, and pixels that continue in the conveyance direction of the print medium and the number of which is smaller than the predetermined number are not to be thinned.
As described above, this embodiment has explained the edge processing for a specific color having the flight characteristic that the relative landing distance of the satellite accompanying the main droplet of discharged ink is different depending on the scanning direction. However, if the flight characteristic changes for each color, the edge detection condition and edge processing contents may be changed in accordance with the flight characteristic.
Furthermore, since the flight characteristic of an ink droplet depends on discharge conditions such as an ink refill speed and a discharge frequency and print conditions such as a carriage scanning speed and a distance between sheets, the edge detection condition and edge processing contents may be changed in accordance with a selected print command.
This embodiment has provided a description using a one-pass mode of printing an image by one scan of the printhead in a unit region on the print medium but the same effect is obtained by using a multi-pass mode of printing an image by a plurality of scans in a unit region.
As described above, the characteristic of a satellite is different depending on whether a scan is executed in the first scanning direction or the second scanning direction. In a scan in the first scanning direction, when printing the first edge region by the first nozzle array, satellites tend to be conspicuous in a print image. Similarly, in a scan in the second scanning direction, when printing the second edge region by the second nozzle array, satellites tend to be conspicuous in a print image. In this embodiment, pixels at which satellites tend to be conspicuous in a print image are to be thinned. However, in either the one-pass mode or the multi-pass mode, unless the scanning direction in which each of the pixels of the first edge region and the second edge region is printed is decided, it is unknown whether the pixel is a pixel at which a satellite tends to be conspicuous. Therefore, pixels printed by the nozzles of the first nozzle array among the pixels of the first edge region and pixels printed by the nozzles of the second nozzle array among the pixels of the second edge region are preset to be thinned regardless of the scanning direction in which each pixel is printed. This can prevent deterioration in image quality caused by satellites in a printed image even if a scan for actual printing is executed in either the first scanning direction or the second scanning direction.
Thus, the present invention can cope with a case where an irregular operation such as an operation of turning back and scanning the printhead is performed, for example, a case where a margin region where no image is printed continues or a case where an image is arranged only in a partial region on the print medium. If binary data is generated in accordance with the direction every time, the throughput of printing decreases. Therefore, by generating, in advance, print data not to generate satellites, it is possible to suppress deterioration in image quality for any operation of the printhead.
As described above, not all of pixels printed by the nozzles of the first nozzle array among the pixels of the first edge region and pixels printed by the nozzles of the second nozzle array among the pixels of the second edge region need to be set to be thinned. The ratio of the pixels printed by the nozzles of the first nozzle array to the pixels of the first edge region is made lower than the ratio of the pixels printed by the nozzles of the second nozzle array. In addition, the ratio of the pixels printed by the nozzles of the second nozzle array to the pixels of the second edge region is made lower than the ratio of the pixels printed by the nozzles of the first nozzle array.
Furthermore, this embodiment has provided a description using the printing method in which the printhead performs print scanning in one of the first scanning direction and the second scanning direction. However, the same effect is obtained even in a single scanning direction mode of printing only in the first scanning direction or the second scanning direction.
Furthermore, in each of the first embodiment and the second embodiment, only the edge region is set to be thinned. However, N pixels may be set to be thinned toward the inside of an object (the character “a” in the above example) including an edge region in accordance with the moving speed of the carriage. In this case, N may be preset to be larger as the moving speed of the carriage is higher.
In addition, each function unit of the image processing unit 208 may be implemented by hardware or some or all of the function units may be implemented by software (computer programs). In the latter case, the computer program is stored in the ROM 206 and the function of the corresponding function unit is implemented when the CPU 203 executes the computer program.
Numerical values, processing timings, processing orders, main constituents of processing, acquisition methods/transmission destinations/transmission sources/storage locations of data (information) used in the above-described embodiments are merely examples for a detailed explanation. The present invention is not intended to limit these to the examples.
Some or all of the above-described embodiments may be used in combinations as needed. Alternatively, some or all of the above-described embodiments may selectively be used.
Embodiment(s) of the present invention can also be realized by a computer of a system or apparatus that reads out and executes computer executable instructions (e.g., one or more programs) recorded on a storage medium (which may also be referred to more fully as a ‘non-transitory computer-readable storage medium’) to perform the functions of one or more of the above-described embodiment(s) and/or that includes one or more circuits (e.g., application specific integrated circuit (ASIC)) for performing the functions of one or more of the above-described embodiment(s), and by a method performed by the computer of the system or apparatus by, for example, reading out and executing the computer executable instructions from the storage medium to perform the functions of one or more of the above-described embodiment(s) and/or controlling the one or more circuits to perform the functions of one or more of the above-described embodiment(s). The computer may comprise one or more processors (e.g., central processing unit (CPU), micro processing unit (MPU)) and may include a network of separate computers or separate processors to read out and execute the computer executable instructions. The computer executable instructions may be provided to the computer, for example, from a network or the storage medium. The storage medium may include, for example, one or more of a hard disk, a random-access memory (RAM), a read only memory (ROM), a storage of distributed computing systems, an optical disk (such as a compact disc (CD), digital versatile disc (DVD), or Blu-ray Disc (BD)™), a flash memory device, a memory card, and the like.
While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions.
This application claims the benefit of Japanese Patent Application No. 2023-131461, filed Aug. 10, 2023 and Japanese Patent Application No. 2024-101423, filed Jun. 24, 2024, which are hereby incorporated by reference herein in their entirety.
Number | Date | Country | Kind |
---|---|---|---|
2023-131461 | Aug 2023 | JP | national |
2024-101423 | Jun 2024 | JP | national |