This application is based on Japanese Patent Application No. 2007-200814 filed on Aug. 1, 2007, the contents of which are incorporated herein by reference.
1. Technical Field
The present invention relates to an image processing apparatus, an image processing method, and a computer readable recording medium stored with an image processing program. In particular, the present invention relates to an image processing apparatus having a tone curve correcting function, an image processing method, and a computer readable recording medium stored with an image processing program.
2. Description of Related Art
A tone curve that represents the output density relative to the input density is used in correcting the gradation of an image. In correcting the gradation of an image, a user modifies the tone curve and prints out the image to check it out while grasping how much a modification amount on the tone curve is reflected upon the printed material. The user then further modifies the tone curve depending on the result of the confirmation printing and repeats the check out printing. Therefore, the user used to require multiple confirmation printings until a printed material with a desirable density is obtained.
In order to solve such a problem, a printer has been proposed which prepares a standard sample image that is obtained by reducing the size of an image to be outputted or designating a part of area in the image and prints out a synthesized image that shows an array of many sample images which are created by changing an adjustment amount such as density of the standard sample image in stages. See Unexamined Japanese Patent Publication No. 9-52355. According to such a technology, the user can set up the adjustment data such as density conveniently by entering the identification number attached to a desired sample image.
However, the user has to select the sample images for the entire image or for a designated area in case of said Unexamined Japanese Patent Publication, so that said technology does not allow the user to designate a specific location on the image for adjusting the density. Consequently, there remained a problem that it does not allow the user to obtain a printed material precisely reflecting the user's preference. Moreover, there is also a problem that it is necessary to apply additional image processes such as a rasterization process to the entire image or to a designated area in creating a sample image so that it tales a longer time for the process of printing out a sample image.
To solve at least one of the abovementioned problems, an image processing apparatus reflecting one aspect of the present invention is provided. The image processing apparatus comprises: a display unit for displaying an image based on image data; an identifying unit for identifying a focal position designated by a user with in said image displayed on said display unit; a creating unit for creating patch image data equipped with patches indicating a plurality of candidates of output density after density adjustment using a tone curve based on said image data at said focal position; and an outputting unit for outputting said image data and said patch image data.
It is preferable that said outputting unit further outputs information that indicates said focal position within said image.
It is preferable that said creating unit creates patch image data in accordance with the density range of all the patches and the density interval between the patches designated by the user, using the output density based on said image data at said focal position as the standard.
It is preferable that said patch image data contains information that indicates the density value of each patch.
It is preferable that said outputting unit outputs said patch image data to an identical page to which said image data belongs.
It is preferable that said patch image data is outputted to a location within the page which is designated by the user. It is preferable that said outputting unit prints out said image data and said patch image data with the halftone dots designated by the user.
The objects, features, and characteristics of this invention other than those set forth above will become apparent from the description given herein below with reference to preferred embodiments illustrated in the accompanying drawings.
The preferred embodiments of the invention will be described in detail below with reference to the accompanying drawings.
The network system that relates to this embodiment is equipped with a PC 1 as a printing instruction device for instructing the printing of the document and a printing system 4 for conducting printing based on the printing instruction of the PC 1, which are communicably connected with each other via a network 5. The PC 1 and the printing system 4 can be connected directly (local connection) without recourse to the network 5.
The printing system 4 consists of a printer controller 2 and a printer 3 as an image forming apparatus, which are locally connected with each other. This local connection can be accomplished by means of various local connection interfaces, such as serial interfaces, e.g., USB and IEEE 1394, parallel interfaces, e.g., SCSI and IEEE 1284, wireless communication interfaces, e.g., Bluetooth®, IEEE 802.11, HomeRF®, IrDA®, etc. However, the printer controller 2 and the printer 3 can be connected via the network 5.
The PC 1 contains a CPU 11, a ROM 12, a RMA 13, a hard disk 14, a display 15, an input device 16 and a network interface 17, all of which are interconnected via a bus 18 for exchanging signals.
The CPU 11 controls various parts indicated above and executes various arithmetic processes according to a program. The ROM 12 stores various programs and data. The RAM 13 stores programs and data temporarily as a working area. The hard disk 14 stores various programs including an operating system and data.
Installed on the hard disk 14 are: a document creating application program for creating document files; a printer driver for converting document files into PDL data described in Page Description Language (PDL) that the printer controller 2 can understand; and a gradation correction application program.
The display 15 can be LCD, CRT, and other displays, on which various kinds of information are displayed. The input device 16 includes a pointing device such as a mouse, a keyboard, and others, and is used for executing various kinds of information inputs.
The network interface 17 is an interface for communicating with other devices on the network via the network 5 using standards such as Ethernet®, Token Ring, FDDI, etc.
The printer controller 2 is provided with a CPU 21, a ROM 22, a RAM 23, a hard disk 24, a printer interface 25, and a network interface 26, all of which are interconnected with each other via a bus 27 for exchanging signals. The descriptions of those parts of the printer controller 2 that have the same functions as those of the corresponding parts of the PC 1 will be omitted here to avoid being duplicative.
Stored on the ROM 22 or the hard disk 24 are: a rasterization process program for translating the PDL data received from the PC 1 and developing it into image data of the bit map format; a gradation correction process program for applying a gradation correction process to the image data of the bitmap format; and a halftone processing program for applying the halftone process to the image data to which the gradation correction process is applied.
The gradation correction process is a process of adjusting the density of the image using a tone curve that represents the output density corresponding to the input density. The halftone process is a process of expressing gradation by means of adjusting the size of the dots. The density of halftone dots is expressed, for example, by the number of lines per inch (lpi). There are several kinds of halftone dots.
Throughout this description of the present invention, the term “density” includes the concept of lightness as well.
The printer interface 25 is an interface for communicating with the locally connected printer 3.
The ROM 32 stores a printing process program to be executed based on printing data received from the printer controller 2.
The operating panel unit 34 is equipped with a touch panel, a ten-keypad, a start button, a stop button and others to be used for displaying various data and entering various instructions.
The printing unit 35 prints images based on printing data received from the printer controller 2 using a publicly known image process such as the electronic photography process on recording media such as paper.
Image scanning unit 36 obtains image data by scanning documents. More specifically, the document scanning unit 36 illuminates the document with fluorescent lamp and others, converts from reflecting light to electrical signals by means of light receiving devices such as CCD image sensors, and creates image data from the electrical signals.
The controller interface 37 is an interface for communicating with the locally connected printer controller 2.
The printing unit 35 has a paper supply unit 50 for supplying recording media such as printing paper, an image forming unit 40 for forming images on the recording media, and a paper discharge unit 60 for discharging printing paper. The printing unit 35 also has a reversing mechanism unit 70 for reversing the front and back sides of the recording media such as printing paper.
The image forming unit 40 of the printing unit 35 has a sensitizer drum 41 that rotates in the arrow direction, a charging device 42, an exposing device 43, a developing device 44, an intermediate transfer belt 45, a cleaning device 46, and a fixing device 47. After the surface of the sensitizer drum 41 is evenly charged by means of the charging device 42, an electrostatic latent image is formed on the surface of the sensitizer drum 41 as it is irradiated with laser beams by the exposing device 43. The electrostatic latent image becomes an apparent image as the toner adheres to the electrostatic latent image on the sensitizer drum 41 as the sensitizer drum 41 turns. The developing device 44 has a developing controller 48 for each of the colors, cyan (C), magenta (M), yellow (Y), and black (K) respectively, and developed toner images of these colors are transported to the transfer unit 49, then onto the intermediate transfer belt 45 one after the other, and overlaid on top of each other there, so that the overlaid color image can be transferred to the printing paper supplied from the paper supply unit 50. The toner images are then fixed on the printing paper by the fixing device 47 and transported to the paper discharge unit 60.
The paper supply unit 50 has a plurality of sheet supply trays 51-54. The sheet supply tray 54 is a manual feed sheet supply tray. The paper discharge unit 60 is equipped with a plurality of paper discharge trays 61-64. The paper discharge unit 60 may have a post-processing part for providing post-processes such as punching or stapling to the printing paper transported there.
The PC 1, the printer controller 2, and the printer 3 can each contain constitutional elements other than those described above, or may lack a portion of the abovementioned elements.
The operation of the network system in this embodiment will be described in the following.
In the normal printing mode, the PC 1 converts the document file created by the document creating application program into PDL data by the printer driver and transmits it to the printing system 4. The printer controller 2 of the printing system 4 converts the received PDL data by the rasterizing process into bitmap type image data, prepare printing data by applying the gradation correction process and the halftone process, and outputs the created data to the printer 3. The printer 3 prints the image indicated by the received printing data.
The PC 1 has a function of performing settings concerning the gradation correction process conducted by the printer controller. 2. At this time, the PC 1 can correct the tone curve to be used in the gradation correction process, and instruct the confirmation printing of the image data, which is processed with the gradation modification using the corrected tone curve. A case of executing such a confirmation printing mode is described in the following.
In case of setting up for the gradation correction process, the gradation correction application program is initiated based on the user's operation (S101).
Next, the Graphical User Interface (GUI) screen for setting up for the gradation correction process is displayed on the display 15 by the gradation correction application program (S102).
The GUI screen 500 has a tone curve area 540 for displaying and correcting a tone curve to be used in the gradation correction process, an image selection button 550 for selecting a chart image to be used for the tone curve, a pre-adjustment chart image display area 510, a post-adjustment chart image display area 520 for displaying the chart image after the gradation correction process using the tone curve is applied, a confirmation printing setting part 530 for setting up for the confirmation printing of the chart image applied with the gradation correction process using the tone curve, and a registration button 552 for registering the corrected tone curve to be used by the printer controller 2.
In this embodiment, the user can designate an arbitrary position within the chart image displayed in the post-adjustment chart image display area 520, for example, by clicking, as a focal position for correcting the density. In
The confirmation printing setting part 530 includes a checkbox 531 for the user to designate whether or not a patch image that provides patches of a plurality of candidates for the output density after the density adjustments are made using the tone curve at the focal points designated by the user within the chart image. If the checkmark is not entered into the checkbox 531, only the chart image is confirmation printed. The confirmation printing setting part 530 contains a parch density range/step designating part 532 for allowing the user to designate the density range for all the patches and the density interval between the patches designated by the user using the output density based on said image data at said focal positions as the standard, a radio button 533 for allowing the user to designate whether or not to print the patch image on the same page as the chart image or on a different page, and a patch printing position designating part 534 for allowing the user to designate the position to print the patch image within the page.
Furthermore, the confirmation printing setting part 530 contains a checkbox 535 for allowing the user to designate whether or not to set up the halftone dots to be used in printing the patch image. If the checkmark is not entered into the checkbox 535, the default halftone is used. The confirmation printing setting part 530 also contains a checkbox 536 for allowing the user to designate the use of the printing job's halftone dots, and a checkbox 537 for allowing the user to designate the use of the halftone dots prepared in advance. If a plurality of checkboxes 536 and 537 is designated, a multiple kinds of patch images are printed. By designating the halftone, the user can select more precisely the patches of the desired densities.
The confirmation printing setting part 530 also contains a pull-down menu 538 for allowing the user to designate the paper feed tray to be used in the confirmation printing and a confirmation printing button 551 for instructing the confirmation printing of the chart image.
The tone curve displayed in the tone curve area 540 allows the user to correct it by dragging a point on the tone curve. On the tone curve shown in
The chart image selected by the chart image selection button 550 can be a predetermined one created in advance, or one that is created by the user arbitrarily.
Going back to the flowchart of
In step S104, a decision is made whether the confirmation printing instruction is made or not, in other words, whether the confirmation printing button 551 is depressed or not. If the confirmation printing button 551 is not depressed (S104: No), the program returns to step S102.
If the confirmation printing button 551 is depressed (S104: Yes), PDL data, i.e., the printing job for confirming the chart image, is created (S105).
Various kinds of information obtained in the step S103 are described in the PDL data as command data.
For example, in case of the setting shown in the GUI screen 500 shown in
Focal position information: P1 (30, 30), P2 (80,80)
Patch image printing position: (60, 40)
Patch density width W (density range of all patches): −4% to +4%
Patch step S (density interval between patches): 2%
Halftone dots: halftone dots of the job (halftone dots used for the job)
Paper feed tray: tray 1
The tone curve data is also described in the PDL data.
Next, in step S106, the PDL data thus created is transmitted to the printer controller 2 of the printing system 4 via the network 5.
Next, the image recording process in the printer controller 2 will be described below referring to
First, the printer controller 2 receives the PDL data from the PC 1 (step S201), and analyzes the PDL data (S202). The setting information described in the PDL data is stored in a memory unit such as the RAM 23.
The chart image in the received PDL data is rasterized to be converted into image data of the bitmap format (S203). The chart image after the rasterization process is stored in a memory unit such as RAM 23 after the gradation correction process is applied using the tone curve.
Next, the density of the focal position designated by the user in the chart image stored in a memory unit such as RAM 23 (S204). The focal position can be grasped from the setting information obtained in step S202. The reference number “610” in
The printer controller 2 then creates a patch image having a plurality of candidates of output densities at the focal positions of the chart image after the density adjustment by means of the tone curve (S205).
In the patch image creation process, the patch information is first grasped from the setting information obtained in step S202 (S301).
Next, the printing position of the patch information within the page is set up based on the grasped patch information (S302).
Moreover, based on the patch information grasped as described above, a halftone dot is set up (S303).
In step S304, a loop 1 is initiated and a column number N for the patch is set up. The column number N of the patch is identical to the number of the focal positions designated by the user in the chart image. For example, N=2 in
In step S305, the loop 2 is initiated and the number of patches M contained in a single column is specified. The number of patches M contained in a single column is calculated as M=((the integer value of (patch density width W/patch step S))*2+1. For example, in
In step S306, a single patch frame is drawn.
Next, the density of a single patch is set up (S307). The density D of a single patch is calculated as D=(output density at the focal position designated by the user−patch density width W)+patch step S×K (initial value=0). The patch density of a patch column is set up sequentially from the patch with a lower density to the patch with a higher density.
Next, the patch frame drawn in step S306 is painted out with a density set up in step S307 (S308).
In step S309, M is decremented by 1 (M=M−1), and K is incremented by 1 (K=K+1). When it reaches the state of M=1, one patch column is completed and the program leaves the loop 2.
The patch image creation is executed, for example, by repeating the codes shown in
In step S310, N is decremented by 1 (N=N−1). When it reaches the state of N=1, as many patch columns as the number of the focal positions are created to complete the patch image 620 (see
It is preferable if the patch images 620 and 630 contain information that indicate the density values of the patches as shown in
In step S311, a judgment is made on whether any other halftone designations exist or not based on the grasped patch information.
If there are any other halftone designations exist (S311: Yes), the program returns to step S303 and steps S303 through S310 are repeated. If there is no other halftone designation (S311: No), the program returns to the flowchart of
In step S206 shown in
If it is judged that a designation exists for printing the patch image and the chart image on a same page (S206: Yes), the chart image and the patch image are synthesized and synthesized image data is created (S207). The synthesized data is then outputted to the printer 3 as printing data (S208). The printer 3 prints the image indicated by the received synthesized image data on a printing medium such as printing paper. As shown in
In case several kinds of half tones are used, a printed output 700a contains several kinds of patch images 730 and 740 as shown in
On the other hand, if it is judged that a designation exists for printing the patch image and the chart image on separate pages (S206: No), the patch image is synthesized on a blank page with no information to be printed to create the patch image data and store it in a memory unit such as RAM 23 (S209). The chart image data is then outputted to the printer 3 as printing data (S210). Next, the patch image data is then outputted to the printer 3 as printing data (S211). Moreover, the printer 3 prints the image indicated by the received chart image data on a separate sheet of printing paper. The printer 3 prints the image indicated by the received patch image data on printing paper. In this case, a printed output 700b consists of a page that contains the chart image 710 and a page that contains the patch images 730 and 740 as shown in
It is possible for the user to select the desired output densities for the focal positions designated by the user from a plurality of patches contained in the patch images of the printed outputs 700, 700a, and 700b. Thus, it is possible for the user to estimate quickly and easily the desired output densities corresponding to the printer's characteristics at the focal positions without having to repeat the confirmation printing. Therefore, it becomes possible to correct the tone curve easily to match with the user' request by reflecting the desired output densities at the focal positions on the tone curve.
For example, a correction can be accomplished as the user drags a point on the tone curve displayed in the tone curve area 540 of the GUI screen 500 shown in
As can be seen from the above, in the first embodiment, the focal positions designated by the user in the chart image are recognized to create a parch image having the patches that indicate a plurality of output density candidates after the density adjustment by means of the tone curve at the particular focal points. The chart image and the patch image are then outputted.
Therefore, the user can select the desired output densities at the focal positions from a plurality of patches, so that the user can quickly and easily estimate the desired densities at the focal positions without having to repeat confirmation printing. Hence, it becomes possible to correct the tone curve easily to match with the user's request by reflecting the desired output densities at the focal positions on the tone curve.
Furthermore, although the information concerning the focal positions in the chart image is displayed by the dots that indicate the positions, characters such as “P1,” coordinates, and arrows within the chart image shown in the chart image display area 520 after the adjustment shown in
Although a case in which both the chart image and the patch image are outputted to print in the first embodiment, the present invention is not limited to it. The present invention is applicable to a case in which both the chart image and the patch image are outputted to display on a screen.
Moreover, in the first embodiment, the user designates an arbitrary position within the chart image displayed in the post-adjustment chart image display area 520, as a focal position for correcting the density. This is to correspond to the creation of the patch image using the output density after the density adjustment by means of the tone curve as the standard. However, it is possible to designate an arbitrary position within the chart image displayed in the pre-adjustment chart image display area 510 as the focal position for the density correction, including a case where the pre-adjustment chart image coincides with the post-adjustment chart image, if we limit ourselves to use it for the purpose of the designation of the focal position.
Next, the second embodiment of the invention will be described below. Since the hardware constitution is identical to that of the first embodiment, the description is omitted. The following description according to the second embodiment therefore focuses on those points which are different from the first embodiment.
The second embodiment provides a method of easily correcting the tone curve using the outputted chart image and patch image, by outputting the chart image, and the patch image having patches that indicate a plurality of candidates of the output densities after the density adjustment using the tone curve in correspondence with the particular chart image.
The procedure concerning the confirmation printing instruction in the PC 1 in the second embodiment is as shown in the flowchart of
In the second embodiment, the user can designate an arbitrary position within the chart image displayed in the pre-adjustment chart image display area 510, for example, by clicking, as a focal position for correcting the density. In
The GUI screen 500a has a correction pushbutton 554 in addition to various parts shown on the GUI screen 500 shown in
The procedure in the printer controller 2 in the second embodiment is as shown in the flowchart of
The printer 3 prints the image indicated by the received synthesized image data on a printing medium such as paper. As shown in
As a premise, the scan image data is obtained by scanning the printed outputs 700 shown in
When the correction button 554 of the GUI screen 500a is depressed and the scan image data 850 stored on the hard disk 14 is designated, the scan image data 800 as a display image is displayed on the pre-adjustment chart image display area 510 as shown in
Next, the designation of the focal position for which the user wants to correct the density or the designation of the patch position of the output density the user wants are accepted on the scan image data 800 currently displayed. Then a judgment is made as to whether any focal position for which the user wants to correct the density is designated or not (S402). Left-click of the mouse while it is on the scan image data 800 can be judged as a designation of the focal position, and “Ctrl”+left-click of the mouse while it is on the scan image data 800 can be judged as a designation of the patch position. However, the method of identifying whether the focal position or the patch position is designated is not limited to the method described above. For example, it is possible to judge whether the focal position or the patch position is designated based on whether the mouse clicking occurs in the area of the chart image 810 or in the area of the patch image 820 on the scan image data 800. It is also possible for the user to identify a position by a certain mark such as a framing mark on the printed output 700. In such a case, the system can accept the position designation and identify the designated position by scanning the marked-up printed output 700 and analyzing the scan image data.
When it is judged that the designation of the focal position for which the user wants to correct the density is accepted (S402: Yes), the designated position is recognized on the displayed scan image data 800 (S403). Next, the density is extracted for the position that corresponds to the designated position recognized in step S403 in the scan image data 850 stored in the hard disk 14 (S404). The extracted density is then set up as the input density (S405).
On the other hand, when it is judged that the designation of the patch position with the output density desired by the user is accepted (S402: No), the designated position is recognized on the displayed scan image data 800 (S406). Next, the density is extracted for the position that corresponds to the designated position recognized in step S406 in the scan image data 850 stored in the hard disk 14 (S407). The extracted density is then set up as the output density (S408).
A judgment is made as to whether or not the input density and the output density are set up as a pair in step S409.
If it is judged that the input density and the output density are set up as a pair (S409: Yes), the tone curve is corrected based on the input density set up in the step S405 and the output density set up in step S408 (S410). More specifically, the tone curve is corrected using the Bezier curve in such a way as to output the output density set up in step S408 when the input density set up in step S405 is entered.
Furthermore, the process shown in the flowchart of
As can be seen from the above, in the second embodiment, the system outputs a chart image and a patch image equipped with patches indicating a plurality of candidates of the output density after the density adjustment using the tone curve concerning the particular chart image. The system also obtains the density of the focal position designated by the user in the outputted chart image, and the density of the patch designated by the user in the outputted patch image. The tone curve is corrected in such a way that the patch density obtained is outputted when the density of the focal position obtained is entered.
Therefore, the user can easily and accurately designate the position in the chart image for which the user wants to correct the density and the output density after the correction. This makes it possible to correct the tone curve easily by accurately reflecting the user's request.
Moreover, in the second embodiment, since the chart image and the patch image are printed out, the user can designate the position in the chart image for which the user wants to correct the density and the patch of the desired output density using the scan image data obtained by scanning the particular printed output while actually watching said printed output. Thus, the user's request is more precisely reflected.
Next, the third embodiment of the invention will be described below. Since the hardware constitution is identical to that of the second embodiment, the description is omitted. The following description according to the third embodiment therefore focuses on those points which are different from the second embodiment.
The procedure of the process concerning the tone curve correction in the PC 1 in the third embodiment is as shown in the flowchart of
In step S401, when the correction button 554 of the GUI screen 500a (refer to
According to the third embodiment, as can be seen from the above, it is possible to achieve the same effect as in the second embodiment in a simple method without printing out the chart image and the patch image.
It is obvious that this invention is not limited to the particular embodiments shown and described above but may be variously changed and modified without departing from the technical concept of this invention.
For example, although it was described assuming a case of density adjustment of monochromatic (gray scale) image data in the above embodiment, the invention is not limited to it and is applicable to a case of color image data. In case of color image data, it is possible to adjust the entire density using a tone curve for adjusting all color components. As to the color coordinate system, it is applicable to the CMYK mode, the RGB mode, etc.
Furthermore, although it is describe in the above embodiment a constitution wherein the printing system 4 is divided into the printer controller 2 and the printer 3, both of which are locally connected, the printer controller 2 can be built into the printer 3.
Also, although the embodiments described above uses a printer as the image forming apparatus, the invention is not limited to it. The present invention is applicable to an image forming apparatus such as MFP (Multi-Function Peripheral) and a copying machine as well.
Also, although the embodiments described above assumed a case where the gradation correction application program that sets up the gradation correction process conducted in the printer controller 2 is installed in the PC 1, the entire network system that contains the PC 1 and the printing system 4 functions as the image processing apparatus. The present invention is also applicable to a case where the gradation correction application program is installed in the MFP and the GUI screen for setting up the gradation correction process is displayed on the operating panel of the MFP, and the MFP in itself can function as an image processing apparatus in such a case.
The means and method of conducting various processes in the network system according to the present invention can be realized by means of a dedicated hardware circuit, or a programmed computer. Said program can be provided either by a computer readable recording medium such as a flexible disk and a CD-ROM, or by being supplied on-line via a network such as the Internet. In this case, the program recorded on the computer readable recording medium is ordinarily transferred to and stored in a storage unit such as a hard disk. Said program can also be provided as independent application software or can be built into the software of the apparatus as a part of its function.
Number | Date | Country | Kind |
---|---|---|---|
2007-200814 | Aug 2007 | JP | national |