Image processing apparatus, image processing method, and program

By dividing images into regions and performing analysis and correction processes in parallel, the image processing device efficiently reduces preprocessing time for high-quality printed matter.

JP2024155036AInactive Publication Date: 2024-10-31CANON KK
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2023069402
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-20
Publication Date
2024-10-31
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing image processing technologies for printers take a long time to perform detailed analysis of image data, leading to prolonged preprocessing times for high-quality printed matter.

Method used

An image processing device that divides the image into multiple regions, performs analysis and correction processes in parallel, allowing the correction process to start before the analysis is completed, and continues analysis on unanalyzed areas concurrently.

Benefits of technology

This approach significantly reduces the preprocessing time required for achieving high-quality printed output by overlapping analysis and correction processes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024155036000001_ABST
    Figure 2024155036000001_ABST
Patent Text Reader

Abstract

To reduce the time required for pre-processing for obtaining a high-quality printed matter.SOLUTION: A control unit 100 of an image processing apparatus 1 includes a data acquisition unit 211, an image generation unit 212, an analysis processing unit 213, a correction processing unit 214, and a print processing unit 215, etc. The image generation unit 212 generates an analysis image and a printing image from print data acquired by the data acquisition unit 211. The analysis processing unit 213 performs analysis processing to divide the analysis image into a plurality of regions. The correction processing unit 214 performs correction processing on each of regions of the printing image corresponding to the subdivided regions. The control unit 100 starts the correction processing before the analysis processing for one page, which is a unit of generating the printing image, is completed, and continues the analysis processing for an unanalyzed range in the analysis image in parallel with the correction processing.SELECTED DRAWING: Figure 5
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a preprocessing technique for data to be printed. [Background technology]

[0002] In order to obtain higher quality printouts, image processing devices such as printers perform image processing on image data to be printed, adjusting image quality such as contrast, color gamut, etc. To obtain optimal image quality, it is necessary to analyze the image data in more detail and calculate appropriate correction parameters.

[0003] In terms of performing detailed analysis, in Patent Document 1, an image is divided into a plurality of regions and analyzed, and the target brightness of the entire image is determined based on the target brightness of each region. However, performing such detailed analysis has a problem in that the analysis process takes a lot of time. In this regard, in Patent Document 2, when determining image correction parameters such as gamma correction parameters and color lookup tables, an analysis is performed using reduced image information of the image data, thereby shortening the processing time. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2008-135915 A [Patent Document 2] JP 2000-137805 A Summary of the Invention [Problem to be solved by the invention]

[0005] As described above, shortening the pre-processing time for obtaining high-quality printed matter has been an issue for some time, and improvements are required. An object of the present disclosure is to shorten the time required for pre-processing for obtaining high-quality printed matter. [Means for solving the problem]

[0006] The image processing device of the present disclosure is characterized by comprising an acquisition means for acquiring data to be printed, an analysis means for performing an analysis process to divide an image generated from the data into a plurality of regions, a correction means for performing a correction process for each of the plurality of regions divided by the analysis means to align pixel values ​​of the image with the color gamut of a printing device, and a control means for starting the correction process before the analysis process is completed and continuing the analysis process for unanalyzed areas of the image in parallel with the correction process. Effect of the Invention

[0007] According to the present disclosure, it is possible to shorten the time required for pre-processing to obtain high-quality printed matter. [Brief description of the drawings]

[0008] [Figure 1] FIG. 1 is a diagram illustrating a hardware configuration of an image processing device. [Diagram 2] FIG. 2 is a block diagram showing a functional configuration of the image processing device. [Diagram 3] 1 is a time chart showing a process from when the image processing apparatus receives a job to when the image processing apparatus performs printing. [Figure 4] 1 is a flowchart showing the overall flow of a printing process. [Diagram 5] 5 is a flowchart showing the flow of image processing in S402 of FIG. 4. [Figure 6] 11A and 11B are diagrams illustrating an analysis process and a correction process. [Figure 7] FIG. 11 is a diagram illustrating an analysis process according to the second embodiment. [Figure 8] 10 is a flowchart showing the flow of image processing in the second embodiment. [Figure 9] FIG. 9 illustrates an example of a print setting screen 900. [Figure 10] FIG. 13 is a diagram illustrating an analysis process according to the third embodiment. [Figure 11]13 is a flowchart showing the flow of image processing in the third embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] Hereinafter, the embodiments will be described in detail with reference to the accompanying drawings. The following embodiments do not limit the scope of the invention. Although the embodiments include multiple features, not all of the multiple features are essential to the invention, and the multiple features may be combined in any manner. Furthermore, in the accompanying drawings, the same reference numerals are used to designate the same or similar components, and redundant explanations are omitted.

[0010] <First embodiment> FIG. 1 is a diagram showing a hardware configuration of an image processing device 1. As shown in FIG. 1, the image processing device 1 includes a control unit 100, a printer unit 120, and a scanner unit 130. The image processing device 1 is connectable to an external device such as a host device 140 via a host IF (interface) 102 or a wireless IF 103.

[0011] The control unit 100 includes a main controller 101, a host IF 102, a wireless IF 103, a printer IF 104, a scanner IF 109, a RAM 105, a ROM 106, an image processing unit 107, and an operation panel 108. The components of the control unit 100 are connected to each other via a system bus 110.

[0012] The main controller 101 is configured with a CPU. The CPU reads out programs, various parameters, data, etc. stored in a ROM 106, develops them in a work area of ​​a RAM 105, and controls the operation of the entire image processing apparatus 1 according to the programs.

[0013] For example, when print data is input as a job from the host device 140 via the host IF 102, the main controller 101 starts print processing according to the print instructions included in the print data. In the print processing, the main controller 101 sends the print data to the image processing unit 107, which performs predetermined image processing on the print data to generate image data. The main controller 101 then sends the image data that has been subjected to the image processing to the printer unit 120 via the printer IF 104.

[0014] Furthermore, for example, when a read command is input as a job from the host device 140 via the host IF 102, the main controller 101 transmits the read command to the scanner unit 130 via the scanner IF 109. Upon receiving the read command, the scanner unit 130 starts a reading operation of the document. Image data read by the reading operation is input to the main controller 101 or the image processing unit 107.

[0015] The RAM 105 is composed of a non-volatile memory such as FRAM (registered trademark) capable of retaining stored contents, and a volatile memory such as DRAM from which stored contents are erased when the power is turned off. The RAM 105 temporarily retains programs loaded from the ROM 106, etc., and also has a work area used by the main controller 101 to perform various processes described below. The RAM 105 temporarily stores various received data in the volatile memory, and stores various setting data in the non-volatile memory.

[0016] The ROM 106 has a read-only non-volatile storage area and a rewritable storage area such as a flash ROM. The non-volatile storage area permanently holds programs such as a boot program and a BIOS, data, etc. The ROM 106 also stores programs executed by the main controller 101 or the image processing unit 107 and data necessary for various operations of the image processing device 1.

[0017] The image processing unit 107 is a processor that executes image processing, including, for example, a process of converting print data (e.g., PDL (Page Description Language) data) handled by the image processing device 1 into image data (bitmap image data), a color space conversion process, a CMYK conversion process, and the like.

[0018] The color space conversion process converts the color space (e.g., YCbCr) of the image data included in the input print data into a standard RGB color space (e.g., sRGB). The CMYK conversion process converts the image data in the RGB color space converted by the color space conversion process into image data corresponding to the ink colors (CMYK) used in the printer unit 120.

[0019] In addition, the image processing unit 107 performs various image processing on the print data as necessary, such as resolution conversion to a valid number of pixels (a number that the image processing device 1 can print), image analysis, image correction, data compression / expansion, image rotation, etc.

[0020] In this embodiment, in order to generate more suitable printed matter at higher speed, the image processing unit 107 performs an analysis process to analyze image data generated from input print data and divide the image indicated by the image data into a plurality of regions. The image processing unit 107 also performs a correction process for each divided region. The correction process is, for example, a correction process using correction parameters determined based on the color gamut of the output device (printer unit 120) and pixel values ​​within the region. The image data obtained by these image processes is stored in the RAM 105.

[0021] Operation panel 108 includes an input unit for the user to input operations, and a display unit for displaying information. The input unit is composed of hard keys and a touch panel, etc., and the display unit is composed of a display, etc. Operation panel 108 may also include a sound generator, and present information to the user by sound (buzzer, voice, etc.).

[0022] 1, the operation panel 108 is present inside the image processing device 1, but is not limited to this. For example, the operation panel 108 may be configured to be externally attached via the host IF 102. Also, the input section and display section of the host device 140 connected via the host IF 102 may also function as the operation panel 108. Also, in addition to the operation panel 108, the image processing device 1 may further be connected to other input / output devices via the host IF 102, etc.

[0023] The printer IF 104 is an interface that connects the control unit 100 and the printer unit 120. The scanner IF 109 is an interface that connects the control unit 100 and the scanner unit .

[0024] The printer unit 120 is a printing unit that forms an image on paper (recording medium such as paper or a sheet). The printer unit 120 includes a printer controller (CPU, ROM, RAM, etc.), an image processing unit, an ink supply unit, a recording head, and a paper transport mechanism. The print controller controls each unit and mechanism of the printer unit 120 according to a control signal input from the main controller 101.

[0025] For example, the printer controller temporarily stores image data input from the control unit 100 in the RAM of the printer controller. The printer controller also controls the paper transport mechanism to transport the paper, and ejects ink from the recording head based on the image data to print an image on the paper.

[0026] The printing method of the printer unit 120 is not limited to the inkjet method using ink as a recording material, but can be applied to various printing methods such as thermal printers (sublimation type, thermal transfer type, etc.), dot impact printers, LED printers, laser printers, and other electrophotographic methods.

[0027] Scanner unit 130 includes a scanner controller (CPU, ROM, RAM, etc.), a reading sensor configured with a CCD or the like, an original transport mechanism, etc. The scanner controller controls each part and mechanism of scanner unit 130 according to a control signal input from control unit 100. For example, the scanner controller controls the original transport mechanism to transport an original set by a user, and controls a reading sensor provided at a reading position to read the original. The scanner controller stores the read scan image data in the RAM of the scanner controller or in RAM 105 of control unit 100.

[0028] The storage destination of the print data, image data, and scan image data is not limited to the RAM (RAM 105 of the control unit 100, RAM of the printer controller, RAM of the scan controller). The print data, image data, and scan image data may be stored in a storage device (HDD, SSD, flash memory; not shown) connected via the host IF 102.

[0029] The host device 140 is an external device that serves as a supply source of print data, such as a PC or a server device on which a printer driver is installed. Instead of the host device 140, an electronic device that serves as a supply source of print data, such as a digital camera or a smartphone, may be connected to the image processing device 1. The connection between each device and the image processing device 1 is not limited to a communication connection via the host IF 102, and may be, for example, a wireless communication connection via the wireless IF 103. The image processing device 1 may also acquire print data or image data from a storage device.

[0030] Next, the functional configuration of the image processing device 1 will be described. Fig. 2 is a block diagram showing a functional configuration of the image processing device 1. As shown in Fig. 2, the control unit 100 of the image processing device 1 has a data acquisition unit 211, an image generation unit 212, an analysis processing unit 213, a correction processing unit 214, a print processing unit 215, etc. Note that each process of the data acquisition unit 211, the image generation unit 212, the analysis processing unit 213, the correction processing unit 214, and the print processing unit 215 may be performed by the image processing unit 107 of the control unit 100 or may be performed by the main controller 101.

[0031] The data acquisition unit 211 acquires data to be printed. The data to be printed is, for example, print data transmitted from the host device 140 or print data stored in the RAM 105. The data to be printed may be scanned image data input from the scanner unit 130, print data acquired from a storage device via the host IF 102, image data, etc.

[0032] The image generating unit 212 generates an image for printing and an image for analysis from the data acquired by the data acquiring unit 211. The image for printing is image data obtained by expanding (converting) print data into image data that can be printed by the printer unit 120. The image for analysis is image data for performing the analysis process described below, and is image data obtained by reducing the resolution and size of the image for printing. By performing the analysis process using the reduced image, the processing time of the analysis process can be shortened. However, the image for analysis is set to have a sufficient resolution and size for accurately calculating the correction parameters.

[0033] The analysis processing unit 213 performs analysis processing including a process of dividing the image for analysis into a plurality of regions and a process of determining correction parameters. For example, the analysis processing unit 213 analyzes the continuity between adjacent pixels while scanning the image for analysis, detects the boundaries of the regions, and divides the image at the boundaries. The analysis processing unit 213 also calculates correction parameters for each of the divided regions. The correction parameters are determined so that the printed matter has a more suitable quality. For example, the correction parameters are determined based on the color gamut of the output device (printer unit 120) and the pixel values ​​within the regions. Details of the analysis processing will be described later.

[0034] The correction processing unit 214 performs a correction process on each of the multiple regions divided by the analysis processing unit 213. The correction process is a process for adjusting the pixel values ​​of the image for printing to the color gamut of the printer unit 120. The image to be corrected is the image for printing. That is, the correction processing unit 214 performs a correction process using the correction parameters calculated by the analysis processing unit 213 on each region in the image for printing that is located at a position corresponding to each divided region in the image for analysis. The correction process will be described in detail later.

[0035] The control unit 100 operates the analysis process by the analysis processing unit 213 and the correction process by the correction processing unit 214 in parallel. That is, the control unit 100 starts the correction process on the image for printing before the analysis process of one page, which is the unit of generation of the image for printing, is completed in the analysis processing unit 213, and continues the analysis process on the unanalyzed range of the image for analysis in parallel with the correction process. Details of this control will be described later.

[0036] The print processing unit 215 outputs the image data that has been subjected to the correction processing by the correction processing unit 214 to the printer unit 120, and causes the printer unit 120 to execute a printing operation.

[0037] Next, the flow of processing executed by the image processing device 1 according to this embodiment will be described. First, the conventional process (FIGS. 3(a) and 3(b)) will be compared with the process of this embodiment (FIG. 3(c)) using FIG. FIG. 3 is a time chart showing a series of steps from when the image processing apparatus 1 receives a job to when it performs printing, with the horizontal axis indicating the passage of time.

[0038] 3(a) shows time charts 301 and 302 for normal printing processing in which no correction is made to the image. Time chart 301 shows the timing and processing time for image generation unit 212 to generate an image, and time chart 302 shows the timing and processing time for printing by printer unit 120. P1, P2, P3, and P4 in the figure represent the time for image generation and transfer of each page, and print 1 to print 4 represent the time for each print process of P1 to P4.

[0039] In general printing, the image generation unit 212 generates an image to be printed for each band (an image of one page divided into strips) which is the unit for generating the image to be printed, and transmits each band to the printer unit 120. The printer unit 120 prints each received band on paper in sequence to form a printout in page units, and repeats this process to output the printouts of each page in sequence.

[0040] 3(b) shows a time chart for analyzing image data to be printed, dividing the image into multiple regions, and correcting each region in order to obtain a higher quality printout. Similar to time chart 301, time chart 311 shows the timing and processing time for image generation unit 212 to generate an image for each page. Similar to time chart 302, time chart 313 shows the timing and processing time for printer unit 120 to obtain and print an image for each page.

[0041] A time chart 312 shows the timing and processing time of the analysis processing and correction processing performed by the analysis processing unit 213 and the correction processing unit 214. Analysis 1 to Analysis 4 represent the time for each analysis processing for P1 to P4. Correction 1 to Correction 4 represent the time for each correction processing for P1 to P4.

[0042] In the time chart shown in Fig. 3(b), after the analysis processing unit 213 finishes the analysis processing for one page, the correction processing unit 214 performs the correction processing for that page. Therefore, when comparing Fig. 3(a) with Fig. 3(b), it can be seen that Fig. 3(b) takes longer to complete printing. In other words, adding a process to obtain a printout of higher quality increases the time until output.

[0043] Fig. 3(c) is a time chart when the image processing device 1 performs processing according to the method of this embodiment. That is, when performing analysis processing and correction processing, the correction processing unit 214 starts the correction processing before the analysis processing unit 213 completes the analysis processing for one page, and performs the analysis processing and the correction processing in parallel. Comparing Fig. 3(b) with Fig. 3(c), it can be seen that the time until printing is completed is shorter in Fig. 3(c).

[0044] Next, the flow of processing executed by the control unit 100 (main controller 101) of the image processing device 1 of this embodiment will be described with reference to Fig. 4. Fig. 4 is a flowchart showing the flow of the entire print processing. Note that the processing shown in the flowchart below is executed by the main controller 101 after a program stored in the ROM 106 of the control unit 100 is called by the main controller 101 and expanded in the RAM 105. In the following description, the symbol "S" means a step.

[0045] When the image processing apparatus 1 receives an instruction to execute printing of a job, it starts the process of this flowchart. First, in S401, the control unit 100 of the image processing apparatus 1 receives a print execution instruction for a job via the host IF 102 or the wireless IF 103. For example, when print data is received from the host device 140, the main controller 101 temporarily stores the received print data in the RAM 105.

[0046] In S402, the main controller 101 instructs the image processing unit 107 to perform image processing. The image processing unit 107 acquires the print data temporarily stored in the RAM 105, and performs image processing on the acquired print data. The image processing includes generating image data for printing (image for printing) from the print data, generating image data for analysis (image for analysis), dividing an image into regions using the image for analysis, determining correction parameters for each divided region, correcting the image for printing using the correction parameters, etc. The image processing in S402 will be described in detail later (FIG. 5).

[0047] The image data correction in S402 can be performed by hardware using a correction LUT (lookup table) for each band. A band is a rectangular area obtained by dividing an image into a predetermined width. The corrected image data for each band is transferred to the printer unit 120 via the printer IF 104.

[0048] In S403, the printer unit 120 receives the corrected print image in band units, and executes printing of the corrected print image in band units.

[0049] In S404, the image processing unit 107 determines whether or not there is a next band, and if there is a next band (S404; YES), the process returns to S402 and repeats the processes of S402 to S404. The image processing unit 107 generates, analyzes, and corrects image data for each band, and transmits the image data to the printer unit 120. The printer unit 120 prints each band.

[0050] If there is no next band (S404; NO), that is, if printing of one page has been completed, the process proceeds to S405. In S405, the image processing unit 107 determines whether or not there is a next page. If there is a next page (S405; YES), the process returns to S402 and repeats the processes of S402 to S405 for the next page. If there is no next page (S405; NO), the process of the entire job is completed, and this flowchart is terminated.

[0051] Fig. 5 is a flowchart showing the flow of image processing in S402 in Fig. 4. Note that the flowchart in Fig. 5 describes the flow of processing in which correction processing is executed in parallel before the analysis processing for one page is completed as shown in Fig. 3(c). When the image processing device 1 receives a print job and an instruction to execute image processing is input from the main controller 101, the image processing unit 107 starts the processing shown in Fig. 5.

[0052] In S501, the image processing unit 107 (image generating unit 212) acquires print data (input data) temporarily stored in the RAM 105, and generates an image for printing from the print data. The image processing unit 107 also generates an image for analysis.

[0053] In S502, the image processing unit 107 starts the analysis process. First, the image processing unit 107 (analysis processing unit 213) sets the initial value 0 to variables L and n. n Set the analysis start line K n is information for managing the starting position of the analysis process (the value of the scanning line L). Each time an area is determined, a new analysis start line K1, K2, ... is generated. L is a variable that counts the scanning line currently being scanned, and is an integer value equal to or greater than 0. n is the number of the analysis start line K n The variable n (n=0, 1, 2, 3, ...) indicates the identification number of the line. The first analysis head line K0 coincides with the first scan line L=0.

[0054] In S503, the image processing unit 107 (analysis processing unit 213) scans the image for analysis line by line in the main scanning direction (for example, to the right) and performs analysis. The analysis process is a process for dividing the area. For example, the continuity of pixel values ​​between adjacent pixels is evaluated for each scanned pixel, and the boundary of the area is determined.

[0055] When evaluating continuity, the image processing unit 107 (analysis processing unit 213) scans each pixel on the scan line L, and calculates a histogram (hereinafter referred to as a ΔE histogram) of the pixel value difference ΔE between adjacent pixels. Then, if the representative value (e.g., the most frequent value) of the ΔE histogram falls within a predetermined threshold, it is determined that there is continuity. If the representative value (e.g., the most frequent value) of the ΔE histogram exceeds the threshold, it is determined that there is no continuity, and the scan line is treated as a separate region from the previous scan line. Note that the method of dividing the region is not limited to the above-mentioned method, and any method may be used.

[0056] In S504, the image processing unit 107 (analysis processing unit 213) analyzes the first line K n It is determined whether there is a region that can be determined from the current scan line L to the current scan line L. If it is determined that there is no continuity from the above-mentioned continuity determination result and the region can be determined (S504; YES), proceed to S507. If the region cannot be determined (S504; NO), proceed to S505.

[0057] In S505, the image processing unit 107 (analysis processing unit 213) checks whether scanning has been completed to the end of the page. If there is a next scanning line (S505; NO), the process proceeds to S506. In S506, the image processing unit 107 (analysis processing unit 213) moves the scanning line L to the next scanning line (L=L+1), returns to S503, and repeats the analysis process (S503 to S506).

[0058] If the area is determined in the analysis process (S504; YES), the process proceeds to S507. In S507, the image processing unit 107 (analysis processing unit 213) calculates correction parameters for the divided area. The divided area is the analysis head line K n The range is from to the scan line L where the area is determined.

[0059] The correction parameters are calculated for each region based on, for example, the color gamut of the output device (printer unit 120) and the pixel values ​​within the region. In the case of a process for converting a color space (e.g., sRGB) of a PC monitor or the like into a color space (e.g., dRGB) that can be expressed by the printer 120, correction parameters are calculated to produce optimal colors in the color space of the printer 120.

[0060] It should be noted that the method for determining the correction parameters is arbitrary, and the correction parameters may be determined according to the target image quality, for example, by placing importance on "distinctness" and "attractiveness." By calculating the correction parameters for each region based on the characteristics of each region, it is expected that an image of better image quality can be obtained compared to the case where the entire image is uniformly corrected.

[0061] After that, in S508, the image processing unit 107 starts the correction process. At this timing, the image processing unit 107 continues the analysis process for the range that has not yet been analyzed. That is, in S509, the value of n is incremented to the next analysis top line K n (n=n+1) and the next analysis head line K n The position (n=n+1) is set as the position of the current scan line L.

[0062] Thereafter, the process returns to S505, and if scanning has not yet reached the end of the page, the scan line L is moved to the next scan line (L=L+1) in S506, and the process returns to S503 to repeat the analysis process.

[0063] On the other hand, in the correction process started in S508, in S510, the image processing unit 107 (correction processing unit 214) performs the correction process on the area determined in S504 (the analysis leading line K n The correction process is performed on the image to be printed (from scan line L). The correction process can be realized by a conversion process using a lookup table (correction LUT) generated from the correction parameters calculated in S507. The correction is applied to each band of the image to be printed generated in S501.

[0064] In S511, the image processing unit 107 (correction processing unit 214) outputs the corrected print image data for each band. This completes the correction process for the determined area. The correction process (S510 to S511) is started each time an area is determined in the analysis process.

[0065] If scanning has been completed up to the end of the page (S505; YES), the process of this flowchart ends.

[0066] In the process of the above-mentioned flowchart, each time a region is determined, a new analysis head line K n (n=0,1,2,…) is generated. The analysis top line K n By managing multiple lines, the image processing unit 107 starts correction processing for the determined area while selecting the next analysis top line K for the remaining range of the page. n+1 Therefore, the processing time required to obtain a suitable printed matter can be reduced.

[0067] Fig. 6 is a diagram showing a schematic diagram of the analysis process and the correction process, in which Fig. 6(a) shows the analysis process and Fig. 6(b) shows the correction process.

[0068] The analysis image 600 shown in FIG. 6(a) is an analysis image of one page having rectangular regions 601, 602, 603, and 604. The arrows in the analysis image 600 indicate the scanning direction (main scanning direction) in the analysis process. The image processing unit 107 starts the analysis from, for example, the upper left pixel of the page, and scans one scan line at a time in the main scanning direction (rightward in the figure) indicated by the arrow. When it reaches the right end of the page, it returns to the left end of the next scan line (sub-scanning direction; downward in the figure), and scans the next scan line in the main scanning direction. By repeating this operation, the boundaries of the rectangular regions 601, 602, 603, and 604 are detected and the regions are determined.

[0069] For example, when scanning starts from the first analysis head line K0 and it is determined that there is no continuity between adjacent pixels on the scan line L, the area 601 is determined from the analysis head line K0 to the scan line L. At that time, the image processing unit 107 calculates correction parameters for the area 601 from the analysis head line K0 to the scan line L and starts the correction process. Then, the next analysis head line K1 is set as the current scan line L (where the area is determined to be determined), and the analysis process continues for the unanalyzed range within the page.

[0070] The correction process is performed on the image for printing 610 generated in S501. As shown in FIG.

[0071] Areas 621, 622, 623, 624, 625, 626, and 627 divided by dotted lines in Fig. 6(b) are lines for explaining bands, which are units of correction. A possible method for correcting the print image 610 is to apply a correction LUT generated based on correction parameters to each band. High-speed processing can be achieved by batch converting pixel values ​​using hardware.

[0072] In addition, when multiple areas exist within one band, the image processing unit 107 stores the correction LUT generated for each area in the RAM 105, and applies the corresponding correction LUT to each pixel of each area within the band.

[0073] In the above example, the correction process and the print process are performed for each band, but the process does not necessarily have to be divided into bands. In that case, in the image process of S402, when an area is determined in the analysis process, the correction process unit 214 starts the correction process for that area, and the analysis process unit 213 continues the analysis process for the remaining range. Then, when the correction process for one page is completed, printing is performed. The analysis process for the next page can be started even while the correction process and the print process of the previous page are being performed.

[0074] <Second embodiment> Next, a second embodiment will be described. FIG. 7 is a diagram illustrating the analysis process in the second embodiment.

[0075] An image 700 shown in FIG. 7(a) is an image of one page having rectangular areas 701, 702, 703, and 704. The boundary between area 702 and an adjacent area is continuous from the top to the bottom. If scanning is performed in the same procedure as in the first embodiment, area 701 can be determined by scanning up to the middle of the page, but area 702 cannot be determined until analysis of one page is completed. In this case, S504 in FIG. 5 is judged as NO, and the area cannot be determined in the middle of the page, so correction processing cannot be performed in parallel.

[0076] In the second embodiment, therefore, a processing example will be described in which an area is always divided midway through a page, and correction processing and analysis processing are performed in parallel.

[0077] In the image processing device 1 of the second embodiment, scanning is started from the analysis head line K0 in the analysis process, and if a certain condition is met before the end of the analysis of one page, the area is divided at that stage. As a result, the image of one page is divided into multiple areas, and correction processing can be started for the divided areas, and in parallel with this, a new analysis head line K1 can be set and analysis processing for the remaining range can be carried out. The conditions will be described later.

[0078] This analysis process will be described with reference to FIG. The image processing unit 107 starts scanning from the analysis start line K0. Then, a region boundary is detected for a region 701 on a certain scan line L. However, for a portion of a region 702 on the same scan line L, it is determined that there is continuity on the scan line L, and the region is not determined.

[0079] In such a case, the image processing device 1 of the second embodiment divides the area 702 by this scanning line L, and determines an area 702a and an area 701 from the analysis start line K0 to the scanning line L. The area 702a is the part of the area 702 from the analysis start line K0 to the scanning line L. In the correction process, the correction process can be started for each of the determined areas 701 and 702a. This makes it possible to carry out the analysis process and the correction process in parallel, regardless of the contents of the image.

[0080] Fig. 8 is a flowchart showing the flow of image processing in the second embodiment. The processing in Fig. 8 is executed in the image processing of S402 in Fig. 4. This flowchart shows the flow of processing when a predetermined width (threshold number of lines T) is scanned, and then an area is determined (divided) and parallel operations are performed. The threshold number of lines T is determined in advance and stored in the ROM 106. When the image processing device 1 receives a print job and an instruction to execute image processing is input from the main controller 101, the image processing unit 107 starts the processing shown in Fig. 8.

[0081] 5, the image processing unit 107 (image generating unit 212) acquires print data (input data) temporarily stored in the RAM 105 and converts the print data into an image for printing. The image processing unit 107 also generates an image for analysis.

[0082] In S802, the image processing unit 107 starts the analysis process. As in S502 in FIG. 5, the image processing unit 107 (analysis processing unit 213) sets the initial value 0 to variables L and n. n The first analysis leading line K0 coincides with the first scanning line L=0.

[0083] In S803, the image processing unit 107 (analysis processing unit 213) scans the analysis image for each scan line in the main scanning direction and performs analysis. In the analysis process, similarly to the first embodiment, the continuity of pixel values ​​of each scanned pixel is evaluated.

[0084] In S804, the image processing unit 107 (analysis processing unit 213) analyzes the first line K n It is determined whether scanning of a preset threshold number of lines T, counting from the line number T, has been completed and whether the area is undefined. How to set the threshold number of lines T will be described later.

[0085] Analysis top line K n If the number of lines from the current scanning line L reaches the threshold number of lines T and the area is undetermined (S804; YES), proceed to S808. n If the number of lines from to the current scan line L does not exceed the threshold number of lines T (S804; NO), the process proceeds to S805.

[0086] In S808, the image processing unit 107 (analysis processing unit 213) calculates the current scan line L (=K n +T) to divide and confirm the area.

[0087] Next, in S809, the analysis processing unit 213 calculates correction parameters for the divided regions. n The area of ​​the scan line L (=K n +T). As in the first embodiment, the correction parameters are calculated based on the color gamut of the output device (printer unit 120) and the pixel values ​​within the area. Note that any correction parameters may be calculated, and may be determined according to the target image quality. Then, the process proceeds to S810, where the correction process is started for the determined area.

[0088] At this timing, the image processing unit 107 continues the analysis process for the range that has not yet been analyzed. That is, in S811, the value of n is incremented to the next analysis top line K n (n=n+1) and the next analysis head line K nThe position (n=n+1) is set as the position of the current scan line L. Then, the process proceeds to S806, where it is determined whether scanning has been completed up to the end of the page. If scanning has not been completed up to the end of the page (S806; NO), the process moves the scan line L to the next scan line (L=L+1) in S807, and the process returns to S803, where the analysis process (S803 to S809) is repeated.

[0089] In the repeated analysis process, the image processing unit 107 (analysis processing unit 213) n Continue the analysis from (n=n+1). The area is determined on the current scan line L, or the analysis head line K n If the number of scan lines from (n=n+1) exceeds the threshold number of lines T (YES in S804 or S805), the region is determined or divided at that scan line L, and the process proceeds to S809. In S809, the image processing unit 107 (analysis processing unit 213) determines the determined (divided) region (K n Correction parameters are calculated for scan lines (n=n+1) to L. Then, the correction process is started in S810, and the process proceeds to S812.

[0090] In S812, the image processing unit 107 (correction processing unit 214) performs the correction process for the area determined in S805 or the area divided in S808 (the analysis leading line K n The correction process is performed on the scanning line L from the scanning line B. The correction process can be realized by a conversion process using a lookup table (correction LUT) generated from the correction parameters calculated in S809.

[0091] The correction is applied to the print image generated in S801 for each band. In S813, the image processing unit 107 (correction processing unit 214) outputs the image for each band and ends the correction process. The correction process (S812 to S813) is started each time an area is determined (divided) in the analysis process.

[0092] If the area is not determined in the analysis process, and if the number of scanning lines does not exceed the threshold number of lines T (NO in S804 and S805), proceed to S806. If it is determined in S806 that scanning has been completed up to the end of the page (S806; YES), this flowchart ends.

[0093] Here, the conditions for determining (dividing) an area in the middle of a page will be described. The conditions can be the following (1) to (4).

[0094] (1) The above conditions are conditions related to the width of the analysis range. The flowchart in FIG. 8 corresponds to this. That is, when the analysis process is completed for a range of a predetermined width (threshold line number T, area, etc.), the image processing unit 107 performs the scan of the range (analysis head line K n The area is divided into a number of scan lines (from the threshold line count T) and correction processing is started for each divided area. At the same time, analysis processing is continued for the range that has not yet been analyzed. In the case of (1), as described above, the image can be divided into multiple areas regardless of the content of the image and correction processing can be started, so that parallel operations are always possible.

[0095] (2) The above conditions are conditions related to processing time. For example, in (1), the threshold number of lines T is set taking into consideration the time required for correction processing within the range of the threshold number of lines T and the target time until printing begins. The processing time for correction processing can be calculated from the area ratio of the regions, so it is possible to estimate the time required for correction. Parallel operation is most efficient when the next region is determined just before the correction processing ends. It is desirable to set an optimal threshold number of lines T based on the time required for analysis processing of the threshold number of lines T, the time required for that correction processing, and the target time until printing begins. In the case of (2), it becomes easier to achieve the target value for processing time.

[0096] (2) will be explained with a concrete example. For example, if the target time until printing starts is 10 seconds, and the time required for analyzing the entire page is 8 seconds and the time required for correcting the entire page is 4 seconds, the sequential process (the procedure shown in Fig. 3(b)) takes 8 seconds + 4 seconds = 12 seconds, and therefore the target is not achieved.

[0097] On the other hand, if the correction process is executed in parallel when the analysis has progressed to halfway through the page, it takes 8 seconds to analyze the entire page, 2 seconds to correct the first half of the page, and 2 seconds to correct the second half of the page. Because the correction process for the first half of the page overlaps with the analysis process for the second half of the page in parallel, the total time required is 8 seconds for analysis of the entire page + 2 seconds for correction the second half of the page = 10 seconds, which achieves the target.

[0098] (3) The above conditions are conditions regarding the number of regions divided by the analysis process. That is, the image processing unit 107 determines the area when the number of divided areas within the range where the analysis process is performed becomes equal to or exceeds a predetermined number, regardless of the threshold line number T. This is because as the number of divided areas increases, the time required for correction processing increases, reducing the effect of parallel operation.

[0099] The example in Fig. 7(b) corresponds to this. That is, if there is a portion (area 701) whose area is determined on the same scan line, another portion (area 702) is also determined as an area 702a on that scan line. The condition for the number of divided areas is determined in advance and stored in ROM 106. By taking into account the condition (3), the number of divided areas can be limited, so that the effect of parallel operation can be maintained.

[0100] (4) The above conditions are conditions related to pixel value distribution. That is, when the image processing unit 107 determines that the pixel value distribution in the range where the analysis process has been performed is sufficient to allow calculation of the correction parameters necessary for the correction process, it determines the area there.

[0101] For example, when the correction parameters are calculated from the distribution of pixel values ​​in the entire region, if sufficient pixel value distribution is not obtained for the region, appropriate correction parameters cannot be calculated. Therefore, if the pixel value distribution (e.g., the variance or deviation of the pixel value histogram) in the region being analyzed is equal to or greater than a predetermined threshold, it is determined that the accuracy of the correction parameters can be sufficiently maintained even if the region is divided by the current scan line, and the region is determined there. The conditions (thresholds) related to the pixel value distribution are determined in advance and stored in ROM 106. In the case of (4), the correction parameters are obtained from sufficient pixel value distribution, so that the processing time can be shortened without degrading the image quality.

[0102] As described above, even if an area cannot be determined based on image continuity, the area can be determined (divided) if certain conditions are met, and correction processing can be started for the determined (divided) area, making it possible to execute analysis processing and correction processing in parallel, thereby reducing processing time.

[0103] The conditions (1) to (4) may be determined based on one or a combination of two or more of them.

[0104] Furthermore, the image processing device 1 may operate so that the user can select a processing mode, such as dividing an area in the middle of a page when a predetermined condition is satisfied and performing parallel processing, or not performing parallel processing until an area is determined based on image continuity. The selection of this processing mode may be one of the items to be preset in the print settings of the image processing device 1.

[0105] Fig. 9 is an example of a print setting screen 900. The print setting screen 900 is displayed, for example, when a "print setting" menu is selected from the menu screen of the image processing device 1. As shown in Fig. 9, in the print setting screen 900, each print function can be changed by a user's operation. For example, the print setting screen 900 in Fig. 9 has a pull-down list 903 for an image correction function 902. In the pull-down list 903, a "print speed priority" mode or a "image quality priority" mode can be selected.

[0106] The "print speed priority" mode is the process of the second embodiment in which the area is determined and parallel processing is performed when a predetermined condition is satisfied. The "image quality priority" mode is the process of the first embodiment in which parallel processing is not performed until the area is determined. The names of the modes, such as "print speed priority" and "image quality priority", are names that take user usability into consideration, but are not limited to this. The screen configuration is also one example, and the contents of the configurable functions and the contents displayed in the pull-down list 903 are not limited to the example in FIG. 9. The user may set the print settings at any time.

[0107] <Third embodiment> Next, a third embodiment will be described. FIG. 10 is a diagram illustrating the analysis process in the third embodiment.

[0108] An image 1000 shown in FIG. 10(a) is an image of one page having areas 1001, 1002, 1003, and 1004. The boundary between area 1002 and an adjacent area is continuous from the top to the bottom. When scanning of this image 1000 is performed in the same procedure as in the first embodiment, as shown in FIG. 10(b), the area 1001 can be determined by scanning up to the middle of the page, but the area 1002 cannot be determined until the analysis of one page is completed. In this case, in the method of the first embodiment, the result of S504 in FIG. 5 is NO, and the area cannot be determined in the middle of the page, so that the correction process cannot be performed in parallel.

[0109] Fig. 10(c) is a diagram showing an image 1000a obtained by rotating the image 1000 in Fig. 10(a) by 90 degrees. In the case of the rotated image 1000a, the boundary of the area 1002 extends in the main scanning direction, so that the image can be divided in the middle of the page.

[0110] In this way, the image processing device 1 of the third embodiment rotates the image so that the area can be determined in the middle of the page, and then performs the analysis process. For example, if the area boundary is perpendicular to the main scanning direction and extends from one end of the page to the other end, the image is rotated 90 degrees before performing the analysis process. This makes it possible to determine (divide) the area 1002 in the middle of the page, and makes it possible to perform the correction process of the determined area 1002 and the analysis process of the remaining range in parallel.

[0111] Fig. 11 is a flowchart showing the flow of image processing in the third embodiment. The processing in Fig. 11 is executed in the image processing of S402 in Fig. 4. When the image processing device 1 receives a print job and an instruction to execute image processing is input from the main controller 101, the image processing unit 107 starts the processing shown in Fig. 11.

[0112] First, in S1101, the image processing unit 107 obtains the print data temporarily stored in the RAM 105, and detects the area boundaries of the image indicated by the print data. Specifically, the image processing unit 107 first generates a reduced image for determining the direction of image analysis from the print data. Since the reduced image only needs to be able to detect the area boundaries, it is desirable to make the image have a lower resolution than the image for analysis, and be able to be analyzed quickly. The image processing unit 107 evaluates the continuity between pixels of the reduced image, and detects the area boundaries.

[0113] Next, in S1102, the image processing unit 107 judges whether the area can be determined in the middle of the image (page) by rotating. Specifically, when there is a continuous area boundary from one end of the image to the other end, and the direction of the area boundary is different from the main scanning direction, it is judged that the area can be determined in the middle of the page by rotating. If it is judged that the area can be determined in the middle of the page by rotating (S1102; YES), the process proceeds to S1103.

[0114] In S1103, the image processing unit 107 (image generating unit 212) generates an analysis image and a print image from the input print data, and rotates them so that the detected area boundary coincides with the main scanning direction. If rotated, the processes from S1105 onwards are performed on the rotated analysis image and print image.

[0115] If the determination in S1102 is NO, that is, if the region can be divided without rotation or there is no continuous region boundary from one end of the image to the other end (S1102; NO), proceed to S1104. In S1104, the image processing unit 107 generates an analysis image and a print image from the input print data, and does not perform rotation processing. If the image is not rotated, the processing from S1105 onwards is performed on the normal analysis image and print image that are not rotated.

[0116] In S1105, the image processing unit 107 starts the analysis process. The image processing unit 107 (analysis processing unit 213) sets the initial value 0 to variables L and n. n The initial analysis leading line K0 coincides with the initial scanning line L=0. The processes from S1106 onwards (S1106 to S1114) are similar to the processes in the first embodiment (S503 to S511 in FIG. 5).

[0117] That is, in S1106, the image processing unit 107 (analysis processing unit 213) scans the analysis image line by line in the main scanning direction and performs analysis. In the analysis process, similarly to the first embodiment, the continuity between adjacent pixels of each scanned pixel is evaluated.

[0118] In S1107, the image processing unit 107 (analysis processing unit 213) analyzes the first line K n It is determined whether the area is determined from to the current scan line L. If it is determined that there is no continuity with the previous scan line and the area can be determined (S1107; YES), proceed to S1110. If the area cannot be determined (S1107; NO), proceed to S1108. For example, in the case of rotated image 1000a in FIG. 10(c), area 1002 can be determined at scan line L.

[0119] If the area is determined in the analysis process (S1107; YES), in S1110, the image processing unit 107 (analysis processing unit 213) calculates correction parameters for the area determined in S1107. n The range is from to the scan line L where the area is determined.

[0120] After that, in S1111, the image processing unit 107 starts the correction process. At this time, the image processing unit 107 continues the analysis process for the range where the analysis has not been performed. That is, in S1112, the image processing unit 107 increments the value of n to the next analysis top line K n (n=n+1) and the next analysis head line K n The position (n=n+1) is set as the position of the current scan line L.

[0121] Thereafter, the process returns to S1108, and if scanning has not been completed to the end of the page (S1108; NO), the process proceeds to S1109. In S1109, the scan line L is moved to the next scan line (L=L+1), and the process returns to S1106, and the analysis process (S1106 to S1110) is repeated.

[0122] On the other hand, when the correction process is started in S1111, in S1113, the image processing unit 107 (correction processing unit 214) performs the correction process on the area (the analysis leading line K n The correction process is performed on the entire image (from scan line L to scan line L). The correction process can be realized by conversion process using a lookup table (correction LUT) generated from the correction parameters calculated in S1110. If the image has been rotated in S1103, the correction is performed on the rotated image for printing.

[0123] In S1114, the image processing unit 107 (correction processing unit 214) outputs the corrected print image data for each band. This completes the correction process for the determined area. The correction process (S1113 to S1114) is started each time an area is determined in the analysis process.

[0124] If scanning has been completed up to the end of the page (S1108; YES), the process of this flowchart ends.

[0125] As described above, in the third embodiment, if the area can be determined in the middle of the page by rotating the image, the image is rotated and then the analysis process is performed. Then, each time the area is determined, the correction process is performed on the determined area, and in parallel with this, a new analysis top line K n is generated and analysis processing is performed on the range that has not yet been analyzed. This makes it possible to rotate the image according to the content of the image and then perform analysis processing, thereby performing analysis area and correction processing in parallel.

[0126] In the example of FIG. 10, the image rotation angle is 90 degrees (clockwise), but is not limited to this and may be any angle. The rotation direction is also arbitrary. Preferably, the image is rotated so that the area of ​​the area divided by the area boundaries detected in S1101 that is smaller or the number of divided areas is scanned first. This makes it possible to reduce the waiting time until the correction process starts. If the rotation angle is an arbitrary angle, a process may be added to return the image after the correction process to an angle at which it can be printed.

[0127] Although the embodiments according to the present invention have been described above with reference to the accompanying drawings, the present invention is not limited to such examples. For example, the image processing unit 107 of the image processing device 1 may perform an appropriate combination of the processes of the first to third embodiments. In the above description, the image processing unit 107 of the control unit 100 executes the processes shown in the respective flowcharts, but the main controller 101 may execute them. In addition, the image processing unit 107 and the main controller 101 may share the processes related to the flowcharts.

[0128] (Other Examples) The program for realizing the functions of this embodiment may be supplied to a system or device via a network or various storage media. A computer (CPU, MPU, etc.) of the system or device may read the program and execute the functions, or may have various mechanisms execute the programs. The program may be executed by one computer or by multiple computers working together.

[0129] In addition, it is not necessary to realize all of the above-mentioned processes by software, and some or all of the processes may be realized by hardware such as ASIC. Furthermore, the present invention is not limited to a configuration in which all processes are performed by one CPU, and may be a configuration in which multiple CPUs perform processes in cooperation with each other, or a configuration in which one CPU performs some of the processes and multiple CPUs perform other processes in cooperation with each other.

[0130] The disclosure of the above-described embodiment includes the following configurations. (Configuration 1) An acquisition means for acquiring data to be printed; an analysis means for performing an analysis process to divide an image generated from the data into a plurality of regions; a correction unit that performs a correction process for each of the plurality of regions divided by the analysis unit to match pixel values ​​of the image to a color gamut of a printing device; a control means for starting the correction process before the analysis process is completed and continuing the analysis process for an unanalyzed area in the image in parallel with the correction process; An image processing device comprising:

[0131] (Configuration 2) The control means 2. The image processing device according to configuration 1, wherein when at least one of the regions divided by the analysis means is determined, the correction process for the determined region is started.

[0132] (Configuration 3) The analysis means divides the region when a predetermined condition is satisfied, The image processing device according to configuration 1, wherein the control means starts the correction process for the divided regions and continues the analysis process for unanalyzed areas in the image in parallel with the correction process.

[0133] (Configuration 4) The condition is a condition regarding the breadth of the analysis range, The image processing device according to configuration 3, wherein the control means, when the analysis process is completed for a range of a predetermined width, divides the area within that range and starts the correction process for the divided areas.

[0134] (Configuration 5) 5. The image processing device according to configuration 4, wherein the width is determined based on a time required for the correction process for the range of the width.

[0135] (Configuration 6) the condition is a condition regarding the number of the regions divided by the analysis process, The image processing device according to any one of configurations 3 to 5, wherein the control means, when the number of the areas divided by the analysis processing becomes equal to or greater than a predetermined number, determines the areas and starts the correction processing for the determined areas.

[0136] (Configuration 7) the condition is a condition regarding a pixel value distribution, The image processing device according to any one of configurations 3 to 6, wherein the control means divides the area in a range where the analysis process has been performed, and starts the correction process for the divided areas, when the pixel value distribution in the range where the analysis process has been performed is sufficient to calculate parameters necessary for the correction process.

[0137] (Configuration 8) A rotation means for rotating the image is further provided, The analysis means performs the analysis process on the image rotated by the rotation means, 8. The image processing device according to any one of configurations 1 to 7, wherein the correction means performs the correction process on the region divided by the analysis means in the rotated image.

[0138] (Configuration 9) 10. The image processing device according to claim 9, wherein the rotation means rotates the image by 90 degrees when the boundary of the region in the image is perpendicular to the scanning direction of the analysis process and extends from one end of the image to the other end.

[0139] (Configuration 10) Further comprising a selection means for accepting a selection of a processing mode, When the first processing mode is selected by the selection means, when at least one of the regions divided by the analysis means is determined, the control means starts the correction process for the determined region; The image processing device according to any one of configurations 1 to 9, characterized in that when a second processing mode is selected by the selection means, the analysis means divides the area when a predetermined condition is satisfied, and the control means starts the correction process for the divided area.

[0140] (Configuration 11) 11. The image processing device according to any one of configurations 1 to 10, wherein parameters used in the correction process are calculated based on the color gamut of the printing device and pixel values ​​within the area.

[0141] (Configuration 12) The image processing device obtaining data to be printed; performing an analytical process to divide an image generated from the data into a plurality of regions; A step of performing a correction process for each of the divided regions to align pixel values ​​of the image with a color gamut of a printing device; starting the correction process before the analysis process is completed, and continuing the analysis process for an unanalyzed area in the image in parallel with the correction process; 13. An image processing method comprising:

[0142] (Configuration 13) A control unit of the image processing device An acquisition means for acquiring data to be printed; analysis means for performing an analysis process for dividing an image generated from the data into a plurality of regions; a correction means for performing a correction process for each of the plurality of regions divided by the analysis means to align pixel values ​​of the image with the color gamut of a printing device; a control means for starting the correction process before the analysis process is completed and continuing the analysis process for an unanalyzed range in the image in parallel with the correction process; A program to function as a

Claims

1. An acquisition means for acquiring data to be printed; An analysis means for performing an analysis process to divide an image generated from the data into a plurality of regions; a correction unit that performs a correction process for each of the plurality of regions divided by the analysis unit to match pixel values ​​of the image to a color gamut of a printing device; a control means for starting the correction process before the analysis process is completed and continuing the analysis process for an unanalyzed area in the image in parallel with the correction process; An image processing device comprising:

2. The control means 2. The image processing apparatus according to claim 1, wherein when at least one of the regions divided by the analysis means is determined, the correction process for the determined region is started.

3. The analysis means divides the region when a predetermined condition is satisfied, 2 . The image processing apparatus according to claim 1 , wherein the control means starts the correction process for the divided regions, and continues the analysis process for an unanalyzed range in the image in parallel with the correction process.

4. The condition is a condition regarding the breadth of the analysis range, 4. The image processing device according to claim 3, wherein the control means, when the analysis process is completed for a range of a predetermined width, divides the area within that range and starts the correction process for the divided areas.

5. 5. The image processing apparatus according to claim 4, wherein the area is determined based on a time required for the correction process for the range of the area.

6. the condition is a condition regarding the number of the regions divided by the analysis process, 4. The image processing device according to claim 3, wherein the control means, when the number of the regions divided by the analysis process reaches a predetermined number or more, determines the regions and starts the correction process for the determined regions.

7. the condition is a condition regarding a pixel value distribution, The image processing device according to claim 3, characterized in that, when the pixel value distribution in the range in which the analysis process has been performed is sufficient to calculate parameters necessary for the correction process, the control means divides the area in that range and starts the correction process for the divided area.

8. A rotation means for rotating the image is further provided, The analysis means performs the analysis process on the image rotated by the rotation means, 2 . The image processing apparatus according to claim 1 , wherein the correction means performs the correction process on the region in the rotated image divided by the analysis means.

9. 9. The image processing apparatus according to claim 8, wherein the rotation means rotates the image by 90 degrees when the boundary of the region in the image is perpendicular to the scanning direction of the analysis process and extends from one end of the image to the other end.

10. Further comprising a selection means for accepting a selection of a processing mode, When the first processing mode is selected by the selection means, when at least one of the regions divided by the analysis means is determined, the control means starts the correction process for the determined region; 2. The image processing device according to claim 1, wherein, when a second processing mode is selected by the selection means, the analysis means divides the area when a predetermined condition is satisfied, and the control means starts the correction processing for the divided area.

11. 11. The image processing apparatus according to claim 1, wherein parameters used in the correction process are calculated based on the color gamut of the printing device and pixel values ​​within the area.

12. The image processing device obtaining data to be printed; performing an analysis to divide an image generated from the data into a plurality of regions; A step of performing a correction process for each of the divided regions to align pixel values ​​of the image with a color gamut of a printing device; starting the correction process before the analysis process is completed, and continuing the analysis process for an unanalyzed area in the image in parallel with the correction process; 13. An image processing method comprising:

13. A control unit of the image processing device An acquisition means for acquiring data to be printed; analysis means for performing an analysis process for dividing an image generated from the data into a plurality of regions; a correction means for performing a correction process for each of the plurality of regions divided by the analysis means to align pixel values ​​of the image with the color gamut of a printing device; a control means for starting the correction process before the analysis process is completed and continuing the analysis process for an unanalyzed range in the image in parallel with the correction process; A program to function as a

Citation Information

Patent Citations

  • Processor and method for image processing

    JP2000137805A

  • Image processor, printing device, image processing method and printing method

    JP2008135915A