JP2009060390A - Image processor, and image processing program - Google Patents

Image processor, and image processing program Download PDF

Info

Publication number
JP2009060390A
JP2009060390A JP2007226090A JP2007226090A JP2009060390A JP 2009060390 A JP2009060390 A JP 2009060390A JP 2007226090 A JP2007226090 A JP 2007226090A JP 2007226090 A JP2007226090 A JP 2007226090A JP 2009060390 A JP2009060390 A JP 2009060390A
Authority
JP
Japan
Prior art keywords
image
feature
specifying
unit
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2007226090A
Other languages
Japanese (ja)
Other versions
JP4793356B2 (en
Inventor
Maki Kondo
真樹 近藤
Tomohiko Hasegawa
智彦 長谷川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2007226090A priority Critical patent/JP4793356B2/en
Priority to US12/202,986 priority patent/US8284417B2/en
Publication of JP2009060390A publication Critical patent/JP2009060390A/en
Application granted granted Critical
Publication of JP4793356B2 publication Critical patent/JP4793356B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/46Colour picture communication systems
    • H04N1/56Processing of colour picture signals
    • H04N1/60Colour correction or control
    • H04N1/6075Corrections to the hue

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Facsimiles In General (AREA)
  • Image Processing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processor and an image processing program, capable of setting image correction intuitively. <P>SOLUTION: The image processor inputs a model image optically read from a document set on a document placement surface (S114), and specifies the first amount of feature expressing the feature of the inputted model image (S115, S116). An original image to be subjected to color conversion is inputted from a memory card (S106), and the second amount of feature expressing the feature of the inputted original image is specified (S107, S108). Then, color conversion processing is performed to the original image to bring the second amount of feature closer to the first amount of feature (S117, S118), and the original image after color conversion processing is printed (S119). It is determined whether a document has been set on the document placement surface, based on the average luminance value of a prescan image (S102, S103). When it is determined that no documents have been set (YES for S103), a user is allowed to confirm whether printing should be stopped (S104). <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、画像補正処理を行うための画像処理装置及び画像処理プログラムに関するものである。   The present invention relates to an image processing apparatus and an image processing program for performing image correction processing.

従来、ユーザの好みに応じた画像補正を行う画像処理装置が知られている。
例えば、あらかじめ用意されている複数種類の調整用データの中から1つの調整用データを選択したり、任意の調整用データを設定したりすることで特定された調整用データに基づき、画像調整を行う構成のものがある(特許文献1参照)。
特開2007−89179号公報
2. Description of the Related Art Conventionally, an image processing apparatus that performs image correction according to user preferences is known.
For example, image adjustment is performed based on the adjustment data specified by selecting one adjustment data from a plurality of types of adjustment data prepared in advance or by setting arbitrary adjustment data. There exists a structure to perform (refer patent document 1).
JP 2007-89179 A

しかしながら、前述したような構成で所望の画像補正が行われるような調整用データを設定するためには、画像に関する専門知識が必要となり、直感的に設定を行うことは困難であった。   However, in order to set adjustment data so that desired image correction is performed with the above-described configuration, specialized knowledge about images is required, and it is difficult to set intuitively.

本発明は、こうした問題にかんがみてなされたものであり、画像補正の設定を直感的に行うことが可能な画像処理装置及び画像処理プログラムを提供することを目的としている。   The present invention has been made in view of these problems, and an object thereof is to provide an image processing apparatus and an image processing program capable of intuitively performing image correction settings.

上記目的を達成するためになされた本発明の請求項1に記載の画像処理装置は、所定の読取位置にセットされた印刷媒体から光学的に読み取られる第1画像を入力する第1画像入力手段と、第1画像入力手段により入力された第1画像の特徴を表す第1特徴量を特定する第1特徴量特定手段と、画像補正の対象とする画像である第2画像を入力する第2画像入力手段と、第2画像入力手段により入力された第2画像の特徴を表す第2特徴量を特定する第2特徴量特定手段と、第2特徴量特定手段により特定された第2特徴量を第1特徴量特定手段により特定された第1特徴量に近づけるように、第2画像に対する画像補正処理を行う画像補正手段と、画像補正手段による画像補正処理が行われた第2画像を印刷するための印刷処理を行う印刷制御手段と、読取位置に印刷媒体がセットされているか否かを第1画像入力手段により入力された画像に基づき判定する判定手段と、判定手段により印刷媒体がセットされていないと判定された場合には、印刷制御手段による印刷処理を禁止する印刷禁止手段とを備える。   In order to achieve the above object, an image processing apparatus according to claim 1 of the present invention is a first image input means for inputting a first image optically read from a print medium set at a predetermined reading position. A first feature amount specifying means for specifying a first feature amount representing a feature of the first image input by the first image input means, and a second image for inputting a second image that is an image to be corrected. An image input means, a second feature quantity specifying means for specifying a second feature quantity representing a feature of the second image input by the second image input means, and a second feature quantity specified by the second feature quantity specifying means Image correction means for performing image correction processing on the second image and a second image that has been subjected to image correction processing by the image correction means so as to be closer to the first feature value specified by the first feature value specification means Printing to perform print processing Control means, determination means for determining whether or not the print medium is set at the reading position based on the image input by the first image input means, and when the determination means determines that the print medium is not set Includes print prohibiting means for prohibiting print processing by the print control means.

このような画像処理装置によれば、ユーザは、印刷媒体を読取位置にセットして第1画像を読み取らせることで、画像補正の設定を直感的に行うことができる。特に、この画像処理装置では、読取位置に印刷媒体がセットされているか否かを判定し、セットされていないと判定した場合には印刷処理を禁止するようにしているため、ユーザの必要としていない画像が無駄に印刷されてしまうことを防ぐことができる。   According to such an image processing apparatus, the user can intuitively set the image correction by setting the print medium at the reading position and reading the first image. In particular, in this image processing apparatus, it is determined whether or not a print medium is set at the reading position. If it is determined that the print medium is not set, the print processing is prohibited, which is not necessary by the user. It is possible to prevent the image from being printed wastefully.

具体的には、例えば請求項2に記載のように、判定手段は、第1画像入力手段により入力された第1画像の平均輝度値が所定値以上の場合に、印刷媒体がセットされていないと判定する。このようにすれば、印刷媒体がセットされているか否かの判定を容易に行うことができる。   Specifically, as described in claim 2, for example, the determination unit has no print medium set when the average luminance value of the first image input by the first image input unit is equal to or greater than a predetermined value. Is determined. In this way, it is possible to easily determine whether or not a print medium is set.

また、請求項3に記載の画像処理装置は、画像補正手段により行われる画像補正処理の前後における第2画像の変化量と、所定の判定基準量とを比較する比較手段を備え、比較手段による比較結果において変化量が判定基準量よりも小さい場合に、印刷禁止手段は、印刷制御手段による印刷処理を禁止する。このような画像処理装置によれば、画像補正の効果が低いという面でユーザの必要としていない画像が無駄に印刷されてしまうことを防ぐことができる。   According to a third aspect of the present invention, there is provided an image processing apparatus comprising a comparison unit that compares a change amount of the second image before and after the image correction process performed by the image correction unit with a predetermined determination reference amount. When the change amount is smaller than the determination reference amount in the comparison result, the print prohibiting unit prohibits the printing process by the print control unit. According to such an image processing apparatus, it is possible to prevent an image unnecessary for the user from being printed unnecessarily in terms of low image correction effect.

ここで、例えば請求項4に記載のように、印刷禁止手段が、印刷を行うか否かについてのユーザの意思を確認し、印刷を行う意思の場合には印刷処理の禁止を解除するようにすれば、ユーザが必要とする画像を確実に印刷することができる。   Here, as described in claim 4, for example, the printing prohibition means confirms the user's intention as to whether or not to perform printing, and cancels the prohibition of the printing process in the case of intention to perform printing. By doing so, it is possible to reliably print an image required by the user.

そして、このような構成においては、例えば請求項5に記載のように、印刷禁止手段が、ユーザの意思に従い印刷処理の禁止を解除した場合には、判定基準量を変化量に更新するとよい。このようにすれば、画像処理装置の使用に伴い、判定基準量をユーザの好みに応じた値に調整することができる。   In such a configuration, for example, as described in claim 5, when the printing prohibition unit cancels the prohibition of the printing process in accordance with the user's intention, the determination reference amount may be updated to the change amount. In this way, it is possible to adjust the determination reference amount to a value according to the user's preference as the image processing apparatus is used.

また、請求項6に記載のように、請求項1又は請求項2に記載の画像処理装置においても、請求項4と同様、印刷禁止手段が、印刷を行うか否かについてのユーザの意思を確認し、印刷を行う意思の場合には印刷処理の禁止を解除するようにすれば、ユーザが必要とする画像を確実に印刷することができる。   Further, as described in claim 6, in the image processing apparatus described in claim 1 or 2, as in the case of claim 4, the print prohibiting means determines whether or not the user intends to perform printing. If the user intends to perform printing and cancels the prohibition of the printing process, the image required by the user can be printed reliably.

一方、請求項7に記載の画像処理装置では、第1画像入力手段は、複数の読取解像度で画像を入力可能に構成されており、判定手段による判定に利用するための画像の読取解像度を、印刷制御手段による印刷処理に利用するための画像の読取解像度よりも低くする。このような画像処理装置によれば、処理の高速化や記憶容量の節約が可能となる。   On the other hand, in the image processing apparatus according to claim 7, the first image input unit is configured to be able to input an image at a plurality of reading resolutions, and the image reading resolution to be used for determination by the determination unit is The resolution is lower than the reading resolution of the image used for the printing process by the printing control means. According to such an image processing apparatus, it is possible to increase the processing speed and save the storage capacity.

また、請求項8に記載の画像処理装置は、所定の読取位置にセットされた印刷媒体から光学的に読み取られる第1画像を入力する第1画像入力手段と、第1画像入力手段により入力された第1画像の特徴を表す第1特徴量を特定する第1特徴量特定手段と、画像補正の対象とする画像である第2画像を入力する第2画像入力手段と、第2画像入力手段により入力された第2画像の特徴を表す第2特徴量を特定する第2特徴量特定手段と、第2特徴量特定手段により特定された第2特徴量を第1特徴量特定手段により特定された第1特徴量に近づけるように、第2画像に対する画像補正処理を行う画像補正手段と、読取位置に印刷媒体がセットされているか否かを第1画像入力手段により入力された画像に基づき判定する判定手段と、判定手段により印刷媒体がセットされていないと判定された場合には、画像補正手段による第2画像に対する画像補正処理を禁止する補正禁止手段とを備える。   According to an eighth aspect of the present invention, there is provided the image processing apparatus, wherein the first image input means for inputting the first image optically read from the print medium set at the predetermined reading position and the first image input means are input. A first feature amount specifying means for specifying a first feature amount representing a feature of the first image, a second image input means for inputting a second image as an image to be corrected, and a second image input means. The second feature amount specifying means for specifying the second feature amount representing the feature of the second image input by the second feature amount specified by the second feature amount specifying means is specified by the first feature amount specifying means. An image correction unit that performs an image correction process on the second image so as to approach the first feature amount, and whether or not a print medium is set at the reading position is determined based on the image input by the first image input unit Determining means and determining means If more printing medium is determined not to be set, and a correcting prohibiting means for prohibiting the image correction processing for the second image by the image correcting means.

このような画像処理装置によれば、ユーザは、印刷媒体を読取位置にセットして第1画像を読み取らせることで、画像補正の設定を直感的に行うことができる。特に、この画像処理装置では、読取位置に印刷媒体がセットされているか否かを判定し、セットされていないと判定した場合には画像補正処理を禁止するようにしているため、ユーザの必要としていない画像が無駄に画像補正されてしまうことを防ぐことができる。   According to such an image processing apparatus, the user can intuitively set the image correction by setting the print medium at the reading position and reading the first image. In particular, in this image processing apparatus, it is determined whether or not a print medium is set at the reading position. If it is determined that the print medium is not set, image correction processing is prohibited, so that the user needs It is possible to prevent unnecessary images from being corrected unnecessarily.

次に、請求項9に記載の画像処理装置は、第1画像を入力する第1画像入力手段と、第1画像入力手段により入力された第1画像の特徴を表す第1特徴量を特定する第1特徴量特定手段と、画像補正の対象とする画像である第2画像を入力する第2画像入力手段と、第2画像入力手段により入力された第2画像の特徴を表す第2特徴量を特定する第2特徴量特定手段と、第2特徴量特定手段により特定された第2特徴量を第1特徴量特定手段により特定された第1特徴量に近づけるように、第2画像に対する画像補正処理を行う画像補正手段と、画像補正手段による画像補正処理が行われた第2画像を印刷するための印刷処理を行う印刷制御手段と、画像補正手段により行われる画像補正処理の前後における第2画像の変化量と、所定の判定基準量と、を比較する比較手段と、比較手段による比較結果において変化量が判定基準量よりも小さい場合には、印刷制御手段による印刷処理を禁止する印刷禁止手段とを備える。   Next, an image processing apparatus according to claim 9 specifies a first image input unit that inputs a first image, and a first feature amount that represents a feature of the first image input by the first image input unit. A first feature quantity specifying means; a second image input means for inputting a second image as an image to be corrected; and a second feature quantity representing a feature of the second image inputted by the second image input means. A second feature quantity specifying means for specifying the second image and an image for the second image so that the second feature quantity specified by the second feature quantity specifying means approaches the first feature quantity specified by the first feature quantity specifying means. An image correction unit that performs correction processing, a print control unit that performs printing processing for printing the second image that has been subjected to image correction processing by the image correction unit, and a second image before and after the image correction processing that is performed by the image correction unit. Two image changes and predetermined determination Comparing means for comparing the level amount, and when the amount change in the comparison result by the comparing means is smaller than the determination reference amount, and a print inhibiting means for inhibiting the printing process by the printing control unit.

このような画像処理装置によれば、ユーザは、画像を用いることで、画像補正の設定を直感的に行うことができる。特に、この画像処理装置では、画像補正処理の前後における第2画像の変化量が小さいか否かを判定し、小さいと判定した場合には印刷処理を禁止するようにしている。このため、画像補正の効果が低いという面でユーザの必要としていない画像が無駄に印刷されてしまうことを防ぐことができる。   According to such an image processing apparatus, the user can intuitively set the image correction by using the image. In particular, in this image processing apparatus, it is determined whether or not the amount of change in the second image before and after the image correction process is small. If it is determined that the change amount is small, the printing process is prohibited. For this reason, it is possible to prevent an image that is not required by the user from being printed in vain because the effect of the image correction is low.

ここで、例えば請求項10に記載のように、印刷禁止手段が、印刷を行うか否かについてのユーザの意思を確認し、印刷を行う意思の場合には印刷処理の禁止を解除するようにすれば、ユーザが必要とする画像を確実に印刷することができる。   Here, as described in claim 10, for example, the printing prohibition means confirms the user's intention as to whether or not to perform printing, and cancels the prohibition of the printing process in the case of intention to perform printing. By doing so, it is possible to reliably print an image required by the user.

そして、このような構成においては、例えば請求項11に記載のように、印刷禁止手段が、ユーザの意思に従い印刷処理の禁止を解除した場合には、判定基準量を変化量に更新するようにすれば、判定基準量をユーザの好みに応じた値に調整することができる。   In such a configuration, for example, as described in claim 11, when the print prohibition unit cancels the prohibition of the print processing in accordance with the user's intention, the determination reference amount is updated to the change amount. Then, the determination reference amount can be adjusted to a value according to the user's preference.

一方、請求項12に記載の画像処理装置では、第1画像入力手段は、所定の読取位置にセットされた印刷媒体から光学的に読み取られる画像を複数の読取解像度で入力可能に構成されており、比較手段による比較に利用するための画像の読取解像度を、印刷制御手段による印刷処理に利用するための画像の読取解像度よりも低くする。このような画像処理装置によれば、処理の高速化や記憶容量の節約が可能となる。   On the other hand, in the image processing apparatus according to claim 12, the first image input unit is configured to be able to input an image optically read from a print medium set at a predetermined reading position at a plurality of reading resolutions. The image reading resolution used for the comparison by the comparison unit is set lower than the image reading resolution used for the printing process by the print control unit. According to such an image processing apparatus, it is possible to increase the processing speed and save the storage capacity.

また、請求項13に記載の画像処理装置では、第1特徴量特定手段は、所定の条件により第1特徴量として複数の値を特定し、第2特徴量特定手段は、第1特徴量特定手段と同じ条件により第2特徴量として複数の値を特定し、画像補正手段は、第1特徴量として特定された複数の値と第2特徴量として特定された複数の値とから算出された各画素に対する補正値に従い、第2画像を構成する各画素に対して画像補正処理を行う。このような画像処理装置によれば、第2画像を第1画像に基づき効率よく補正することができる。   In the image processing apparatus according to claim 13, the first feature amount specifying unit specifies a plurality of values as the first feature amount based on a predetermined condition, and the second feature amount specifying unit specifies the first feature amount specifying unit. A plurality of values are specified as the second feature quantity under the same conditions as the means, and the image correction means is calculated from the plurality of values specified as the first feature quantity and the plurality of values specified as the second feature quantity In accordance with the correction value for each pixel, image correction processing is performed on each pixel constituting the second image. According to such an image processing device, the second image can be efficiently corrected based on the first image.

次に、請求項14に記載の画像処理プログラムは、所定の読取位置にセットされた印刷媒体から光学的に読み取られる第1画像を入力する第1画像入力手段と、第1画像入力手段により入力された第1画像の特徴を表す第1特徴量を特定する第1特徴量特定手段と、画像補正の対象とする画像である第2画像を入力する第2画像入力手段と、第2画像入力手段により入力された第2画像の特徴を表す第2特徴量を特定する第2特徴量特定手段と、第2特徴量特定手段により特定された第2特徴量を第1特徴量特定手段により特定された第1特徴量に近づけるように、第2画像に対する画像補正処理を行う画像補正手段と、画像補正手段による画像補正処理が行われた第2画像を印刷するための印刷処理を行う印刷制御手段と、読取位置に印刷媒体がセットされているか否かを第1画像入力手段により入力された画像に基づき判定する判定手段と、判定手段により印刷媒体がセットされていないと判定された場合には、印刷制御手段による印刷処理を禁止する印刷禁止手段としてコンピュータを機能させる。   Next, an image processing program according to claim 14 is input by a first image input means for inputting a first image optically read from a print medium set at a predetermined reading position, and the first image input means. A first feature amount specifying means for specifying a first feature amount representing a feature of the first image, a second image input means for inputting a second image as an image to be corrected, and a second image input A second feature quantity specifying means for specifying a second feature quantity representing a feature of the second image input by the means, and a second feature quantity specified by the second feature quantity specifying means is specified by the first feature quantity specifying means. An image correction unit that performs an image correction process on the second image so as to approach the first feature amount, and a print control that performs a print process for printing the second image on which the image correction process has been performed by the image correction unit And printing at the reading position A determination unit that determines whether or not a body is set based on an image input by the first image input unit; and if the determination unit determines that no print medium is set, printing by the print control unit A computer is caused to function as a print prohibition unit that prohibits processing.

このような画像処理プログラムによれば、請求項1に記載の画像処理装置としてコンピュータを機能させることができ、これにより前述した効果を得ることができる。
また、請求項15に記載の画像処理プログラムは、第1画像を入力する第1画像入力手段と、第1画像入力手段により入力された第1画像の特徴を表す第1特徴量を特定する第1特徴量特定手段と、画像補正の対象とする画像である第2画像を入力する第2画像入力手段と、第2画像入力手段により入力された第2画像の特徴を表す第2特徴量を特定する第2特徴量特定手段と、第2特徴量特定手段により特定された第2特徴量を第1特徴量特定手段により特定された第1特徴量に近づけるように、第2画像に対する画像補正処理を行う画像補正手段と、画像補正手段による画像補正処理が行われた第2画像を印刷するための印刷処理を行う印刷制御手段と、画像補正手段により行われる画像補正処理の前後における第2画像の変化量と、所定の判定基準量と、を比較する比較手段と、比較手段による比較結果において変化量が判定基準量よりも小さい場合には、印刷制御手段による印刷処理を禁止する印刷禁止手段としてコンピュータを機能させる。
According to such an image processing program, it is possible to cause a computer to function as the image processing apparatus according to the first aspect, thereby obtaining the above-described effects.
According to a fifteenth aspect of the present invention, there is provided an image processing program that specifies a first image input unit that inputs a first image and a first feature amount that represents a feature of the first image input by the first image input unit. 1 feature quantity specifying means, a second image input means for inputting a second image as an image to be corrected, and a second feature quantity representing a feature of the second image input by the second image input means. Image correction for the second image so that the second feature value specifying means and the second feature value specified by the second feature value specifying means are close to the first feature value specified by the first feature value specifying means An image correction unit that performs processing, a print control unit that performs a printing process for printing the second image that has been subjected to the image correction process by the image correction unit, and a second before and after the image correction process that is performed by the image correction unit. The amount of change in the image And determining the reference amount, and comparison means for comparing the, if the amount of change in the comparison result by the comparing means is smaller than the determination reference amount, causes a computer to function as a print inhibiting means for inhibiting the printing process by the printing control unit.

このような画像処理プログラムによれば、請求項9に記載の画像処理装置としてコンピュータを機能させることができ、これにより前述した効果を得ることができる。   According to such an image processing program, it is possible to cause the computer to function as the image processing apparatus according to the ninth aspect, thereby obtaining the above-described effects.

以下、本発明が適用された実施形態について、図面を用いて説明する。
[1.全体構成]
図1は、実施形態の画像処理装置としての複合機10の外観を示す斜視図である。
Embodiments to which the present invention is applied will be described below with reference to the drawings.
[1. overall structure]
FIG. 1 is a perspective view illustrating an appearance of a multifunction machine 10 as an image processing apparatus according to an embodiment.

この複合機10は、プリンタ機能の他、スキャナ機能やカラーコピー機能等を有したものであり、本体ケーシング11における上部位置に、原稿の読み取りに用いられる画像読取部20を備えている。   The multifunction machine 10 has a printer function, a scanner function, a color copy function, and the like, and includes an image reading unit 20 used for reading a document at an upper position in the main body casing 11.

画像読取部20は、原稿載置面(ガラス台)にセット(載置)された原稿から画像を光学的に読み取るいわゆるフラットベッドスキャナである。ここで、原稿載置面は、その上面が薄板状の原稿カバー21によって覆われており、原稿カバー21を上方へ開くことにより、原稿載置面への原稿のセット及びセットされた原稿の除去(つまり原稿の出し入れ)が可能となる。また、原稿カバー21における原稿載置面と対向する側の面は白色となっており、原稿カバー21が閉じられた状態(図1に示す状態)で画像の読み取りが行われた場合に、原稿載置面における原稿の載置されていない部分は白色に読み取られる。   The image reading unit 20 is a so-called flatbed scanner that optically reads an image from a document set (placed) on a document placement surface (glass table). Here, the upper surface of the document placement surface is covered with a thin plate-like document cover 21, and the document cover 21 is opened upward to set the document on the document placement surface and remove the set document. (In other words, it is possible to put a document in and out). Further, the surface of the document cover 21 opposite to the document placement surface is white, and the document is read when the image is read with the document cover 21 closed (the state shown in FIG. 1). The portion of the placement surface where no document is placed is read in white.

一方、複合機10は、画像読取部20の前方位置(手前側の位置)に、各種操作ボタンを配置した操作部31及びメッセージ等の画像を表示する表示部(例えば液晶ディスプレイ)32からなる操作パネル30を備えている。   On the other hand, the multifunction device 10 includes an operation unit 31 in which various operation buttons are arranged at a front position (front side position) of the image reading unit 20 and a display unit (for example, a liquid crystal display) 32 that displays an image such as a message. A panel 30 is provided.

また、複合機10は、画像読取部20の下方位置に、用紙等の印刷媒体にカラー画像を印刷可能な画像印刷部40を備えている。この画像印刷部40で画像が印刷された用紙は、本体ケーシング11の前面に形成された開口12から排紙される。   In addition, the multifunction machine 10 includes an image printing unit 40 that can print a color image on a printing medium such as paper at a position below the image reading unit 20. The sheet on which the image is printed by the image printing unit 40 is discharged from the opening 12 formed on the front surface of the main body casing 11.

さらに、複合機10は、本体ケーシング11の前面における開口12の上方位置に、SDカードやCFカード等の各種メモリカード(可搬型記憶媒体)を挿入可能なカードスロット50を備えている。また、複合機10は、パーソナルコンピュータ等の情報処理装置を介さずに直接メモリカードから画像(デジタルスチルカメラで撮影した画像等)を読み取ってその画像を印刷する機能(いわゆるダイレクトプリント機能)を有している。   Furthermore, the multifunction machine 10 includes a card slot 50 into which various memory cards (portable storage media) such as an SD card and a CF card can be inserted at a position above the opening 12 on the front surface of the main casing 11. The multifunction device 10 has a function (so-called direct print function) for reading an image (such as an image taken with a digital still camera) directly from a memory card and printing the image without using an information processing device such as a personal computer. is doing.

次に、複合機10の制御系について説明する。
図2は、複合機10の制御系の概略構成を示すブロック図である。
同図に示すように、複合機10は、前述した画像読取部20、操作パネル30、画像印刷部40及びカードスロット50と、通信部60と、制御部70とを備えており、これらは信号線80を介して接続されている。
Next, a control system of the multifunction machine 10 will be described.
FIG. 2 is a block diagram illustrating a schematic configuration of a control system of the multifunction machine 10.
As shown in the figure, the multifunction machine 10 includes the image reading unit 20, the operation panel 30, the image printing unit 40, the card slot 50, the communication unit 60, and the control unit 70 described above. They are connected via a line 80.

通信部60は、通信ケーブル(LANケーブル)が接続された状態でその通信ケーブルを介したデータの送受信処理を行う。つまり、外部装置との間でデータ通信を行うためのものであり、例えば、LANに存在するパーソナルコンピュータや、インターネット上に存在するウェブサーバとの間でデータ通信が可能となっている。   The communication unit 60 performs data transmission / reception processing via the communication cable in a state where the communication cable (LAN cable) is connected. That is, it is for performing data communication with an external device. For example, data communication can be performed with a personal computer in a LAN or a web server on the Internet.

制御部70は、CPU71、ROM72、RAM73等からなるマイクロコンピュータを中心に構成されており、複合機10を構成する各部を統括制御する。また、ROM72には、後述する色変換処理をCPU71に実行させるためのプログラムが記憶されている。   The control unit 70 is configured mainly with a microcomputer including a CPU 71, a ROM 72, a RAM 73, and the like, and performs overall control of each unit constituting the multifunction machine 10. The ROM 72 stores a program for causing the CPU 71 to execute a color conversion process described later.

[2.色変換処理の概要]
次に、複合機10が行う色変換処理の概要について説明する。
本実施形態の複合機10は、色変換対象の画像に対し、色変換の見本となる画像(以下「お手本画像」ともいう。)に基づく色変換処理を行う。ここで、まず、このような色変換処理の基本的な流れについて、図3を用いて説明する。
[2. Overview of color conversion process]
Next, an outline of color conversion processing performed by the multifunction machine 10 will be described.
The MFP 10 according to the present embodiment performs color conversion processing based on an image (hereinafter also referred to as “example image”) serving as a sample for color conversion on an image to be subjected to color conversion. Here, first, the basic flow of such color conversion processing will be described with reference to FIG.

ユーザが、お手本画像の印刷された原稿(例えば写真)を画像読取部20の原稿載置面にセットし、操作部31で原稿読取操作を行うと(1)、複合機10は、原稿載置面における設定範囲(L版サイズ、A4サイズ等、ユーザによって設定された範囲)からお手本画像を読み取る(2)。これにより、原稿載置面にセットされた原稿からお手本画像が読み込まれる。   When a user sets a document (for example, a photograph) on which a model image is printed on the document placement surface of the image reading unit 20 and performs a document reading operation with the operation unit 31 (1), the multifunction machine 10 places the document on the document. A model image is read from a set range on the surface (a range set by the user, such as L size and A4 size) (2). As a result, the model image is read from the document set on the document placement surface.

次に、ユーザが、色変換の対象とする画像が記憶されたメモリカードをカードスロット50に挿入すると(3)、複合機10は、挿入されたメモリカードを認識し、ユーザに対し、メモリカードに記憶されている画像のうち色変換の対象とするものを選択させる(4)。なお、ユーザに画像を選択させるための処理としては、公知の処理(例えば、メモリカードに記憶されている各画像を表示部32に表示させて操作部31での操作により選択させる処理)を適宜採用可能である。   Next, when the user inserts a memory card storing an image to be color-converted into the card slot 50 (3), the multi-function device 10 recognizes the inserted memory card and notifies the user of the memory card. The image to be subjected to color conversion is selected from the images stored in (4). In addition, as a process for making a user select an image, a well-known process (For example, the process which displays each image memorize | stored in the memory card on the display part 32, and makes it select by operation in the operation part 31) suitably. It can be adopted.

そして、色変換対象の画像がユーザにより選択されると(5)、複合機10は、選択された画像を読み込む(6)。なお、以下の説明において、当該画像を「元画像」ということがある。   When the user selects a color conversion target image (5), the multifunction machine 10 reads the selected image (6). In the following description, the image may be referred to as an “original image”.

その後、複合機10は、画像読取部20から読み込んだお手本画像を見本として、メモリカードから読み込んだ元画像を補正する処理を行う(7)。
なお、ここでは、画像読取部20からお手本画像を読み込んだ後にメモリカードから元画像を読み込む手順を例示したが、これに限定されるものではなく、先にメモリカードから元画像を読み込み、その後に画像読取部20からお手本画像を読み込むようにしてもよい。
Thereafter, the multifunction machine 10 performs a process of correcting the original image read from the memory card using the model image read from the image reading unit 20 as a sample (7).
Here, the procedure for reading the original image from the memory card after reading the model image from the image reading unit 20 is illustrated, but the present invention is not limited to this, and the original image is read from the memory card first, and then A model image may be read from the image reading unit 20.

このような色変換処理によれば、ユーザは、お手本画像を用いることで、元画像の色変換を簡単な操作でかつ感覚的に行うことができる。
しかしながら、本実施形態の複合機10のように原稿載置面が原稿カバー21によって覆われているものでは、ユーザが、原稿載置面に原稿がセットされていないにもかかわらず原稿がセットされているものと思い込んで色変換を開始してしまうことが考えられる。また、お手本画像によっては、色変換処理による効果がほとんど得られないことも考えられる。
According to such color conversion processing, the user can perform color conversion of the original image with a simple operation and sensuously by using the model image.
However, in the case where the document placement surface is covered by the document cover 21 as in the multifunction machine 10 of the present embodiment, the user sets the document even though the document is not set on the document placement surface. It is conceivable that color conversion is started assuming that Also, depending on the model image, it may be considered that the effect of the color conversion process is hardly obtained.

そこで、本実施形態の複合機10では、ユーザの必要としていない画像が無駄に印刷されてしまうことがないようにしている。
[3.色変換処理の具体的内容]
以下、本実施形態の複合機10が行う色変換処理の具体的内容について説明する。
Therefore, in the multifunction machine 10 according to the present embodiment, images that are not required by the user are not printed wastefully.
[3. Specific contents of color conversion processing]
Hereinafter, specific contents of the color conversion process performed by the multifunction machine 10 of the present embodiment will be described.

[3−1.色変換処理]
図4は、CPU71が実行する色変換処理のフローチャートである。
CPU71は、色変換処理を開始すると、まず、S101で、原稿載置面における設定範囲を本来の解像度よりも低い解像度(例えば100dpi)で読み取るプレスキャンを行う。なお、読み取った画像の形式は特に限定されないが、本実施形態ではRGB形式を前提として説明する。
[3-1. Color conversion process]
FIG. 4 is a flowchart of the color conversion process executed by the CPU 71.
When the CPU 71 starts the color conversion process, first, in S101, the CPU 71 performs a pre-scan that reads the set range on the document placement surface at a resolution lower than the original resolution (for example, 100 dpi). Although the format of the read image is not particularly limited, the present embodiment will be described on the assumption of the RGB format.

続いて、S102では、S101のプレスキャンで読み取った低解像度の画像(以下「プレスキャン画像」ともいう。)を構成する各画素をHSVパラメータ(H値:0〜360、S値及びV値:0〜1)に変換する処理を行う。   Subsequently, in S102, each pixel constituting the low-resolution image (hereinafter also referred to as “pre-scan image”) read by the pre-scan in S101 is set to HSV parameters (H value: 0 to 360, S value and V value: The conversion to 0-1) is performed.

なお、RGBからHSVパラメータへの変換や、HSVからRGBへの変換は、以下に示す公知の変換式に従い行うことができる。
(1)RGB⇒HSVの変換式
max(a,b,c)はa,b,cの中で最も大きい値を表す。
min(a,b,c)はa,b,cの中で最も小さい値を表す。
V = max(R/255,G/255,B/255)
Vが0でない時、
S = [V - min(R,G,B)] ÷ V
Vが0の時、
S = 0
[V - min(R,G,B)]が0でない時、
r = (V - R/255)÷(V-min(R,G,B)
g = (V - G/255)÷(V-min(R,G,B)
b = (V - B/255)÷(V-min(R,G,B)
[V - min(R,G,B)]が0の時、
r = 0
g = 0
b = 0
V = R/255の時
H = 60 × (b-g)
V = G/255の時
H = 60 × (2+r-g)
V = B/255の時
H = 60 × (4+g-r)
ただしH<0の時
H = H+360
として、RGBからHSVへ変換される。また、HSVからRGBへは、
(2)HSV⇒RGBの変換式
(以下で示すin, fl, m, nは、HSVからRGBを算出する過程で利用する媒介変数である)
in を (H/60)の整数部分
fl を (H/60)の小数部分とする。
in が偶数の場合
fl = 1-fl
m = V × (1-S)
n = V × (1-S×fl)
inが0の時
R = V × 255
G = n × 255
B = m × 255
inが1の時
R = n × 255
G = V × 255
B = m × 255
inが2の時
R = m × 255
G = V × 255
B = n × 255
inが3の時
R = m × 255
G = n × 255
B = V × 255
inが4の時
R = n × 255
G = m × 255
B = V × 255
inが5の時
R = V × 255
G = m × 255
B = n × 255
として変換される。
Note that the conversion from RGB to HSV parameters and the conversion from HSV to RGB can be performed according to the known conversion formulas shown below.
(1) RGB → HSV conversion formula
max (a, b, c) represents the largest value among a, b, and c.
min (a, b, c) represents the smallest value among a, b, and c.
V = max (R / 255, G / 255, B / 255)
When V is not 0
S = [V-min (R, G, B)] ÷ V
When V is 0
S = 0
When [V-min (R, G, B)] is not 0,
r = (V-R / 255) ÷ (V-min (R, G, B)
g = (V-G / 255) / (V-min (R, G, B)
b = (V-B / 255) / (V-min (R, G, B)
When [V-min (R, G, B)] is 0,
r = 0
g = 0
b = 0
When V = R / 255
H = 60 × (bg)
When V = G / 255
H = 60 × (2 + rg)
When V = B / 255
H = 60 × (4 + gr)
However, when H <0
H = H + 360
Are converted from RGB to HSV. Also, from HSV to RGB,
(2) HSV-> RGB conversion formula
(In, fl, m, and n shown below are parameters used in the process of calculating RGB from HSV)
in the integer part of (H / 60)
Let fl be the fractional part of (H / 60).
If in is an even number
fl = 1-fl
m = V × (1-S)
n = V × (1-S × fl)
When in is 0
R = V × 255
G = n × 255
B = m × 255
When in is 1
R = n × 255
G = V × 255
B = m × 255
When in is 2
R = m × 255
G = V × 255
B = n × 255
When in is 3
R = m × 255
G = n × 255
B = V × 255
When in is 4
R = n × 255
G = m × 255
B = V × 255
When in is 5
R = V × 255
G = m × 255
B = n × 255
Is converted as

続いて、S103では、S102での変換処理により得られたHSVパラメータに基づき、プレスキャン画像の画像全体のV値の平均値である平均輝度値meanVを算出し、算出した平均輝度値meanVが、あらかじめ設定されているしきい値ThreV(例えば0.97)以上であるか否かを判定する。ここで、しきい値ThreVは、画像読取部20の原稿載置面に原稿がセットされているか否かの判定基準値として設定されており、平均輝度値meanVがしきい値ThreV以上の場合(白色のみの画像と判断される場合)には、原稿が存在しない可能性が高いことになる。   Subsequently, in S103, based on the HSV parameter obtained by the conversion process in S102, an average luminance value meanV that is an average value of the V values of the entire prescan image is calculated, and the calculated average luminance value meanV is It is determined whether or not a threshold value ThreV (for example, 0.97) or more set in advance. Here, the threshold value ThreV is set as a reference value for determining whether or not a document is set on the document placement surface of the image reading unit 20, and the average luminance value meanV is equal to or greater than the threshold value ThreV ( If it is determined that the image is white only), there is a high possibility that the document does not exist.

そして、S103で、平均輝度値meanVがしきい値ThreV以上であると判定した場合には、S104へ移行し、印刷を中止するか否かを判定する。具体的には、表示部32にメッセージを表示して操作部31での操作を促すことにより、印刷を中止するかどうかについてのユーザの意思を確認する。   If it is determined in S103 that the average luminance value meanV is equal to or greater than the threshold value ThreV, the process proceeds to S104 to determine whether or not to cancel printing. Specifically, the user's intention about whether or not to cancel printing is confirmed by displaying a message on the display unit 32 and prompting an operation on the operation unit 31.

このS104で、印刷を中止すると判定した場合には、そのまま本色変換処理を終了する。
一方、S104で、印刷を中止しないと判定した場合には、S105へ移行する。
If it is determined in S104 that printing is to be stopped, the color conversion process is terminated as it is.
On the other hand, if it is determined in S104 that printing is not stopped, the process proceeds to S105.

また、S103で、平均輝度値meanVがしきい値ThreV以上でないと判定した場合にも、S105へ移行する。
S105では、S102での変換処理により得られたHSVパラメータに基づいて、プレスキャン画像(低解像度のお手本画像)の特徴を表す特徴量である第1特徴量を特定する第1特徴量特定処理を行う。なお、第1特徴量特定処理の具体的な処理内容については後述する(図5)。
If it is determined in S103 that the average luminance value meanV is not equal to or greater than the threshold value ThreV, the process proceeds to S105.
In S105, based on the HSV parameter obtained by the conversion process in S102, a first feature amount specifying process for specifying a first feature amount that is a feature amount representing a feature of the pre-scan image (low-resolution model image) is performed. Do. The specific processing content of the first feature amount specifying processing will be described later (FIG. 5).

続いて、S106では、メモリカードに記憶されている色変換対象の画像(元画像)をRAM73に読み込む。なお、読み込む画像の形式は特に限定されないが、本実施形態ではRGB形式を前提として説明する。   Subsequently, in S <b> 106, the image (original image) to be color converted stored in the memory card is read into the RAM 73. Although the format of the image to be read is not particularly limited, the present embodiment will be described on the assumption that the RGB format is used.

続いて、S107では、S106で読み込んだ元画像を構成する各画素をHSVパラメータに変換する処理を行う。
続いて、S108では、S107での変換処理により得られたHSVパラメータに基づいて、元画像の特徴を表す特徴量である第2特徴量を特定する第2特徴量特定処理を行う。なお、第2特徴量特定処理の具体的な処理内容については後述する(図6)。
Subsequently, in S107, a process of converting each pixel constituting the original image read in S106 into an HSV parameter is performed.
Subsequently, in S108, based on the HSV parameter obtained by the conversion process in S107, a second feature quantity specifying process for specifying a second feature quantity that represents a feature quantity of the original image is performed. The specific processing content of the second feature amount specifying processing will be described later (FIG. 6).

続いて、S109では、第1特徴量(プレスキャン画像の第1特徴量)及び第2特徴量の値を条件に応じて再設定する代表値再設定処理を行う。なお、代表値再設定処理の具体的な処理内容については後述する(図8)。   Subsequently, in S109, a representative value resetting process for resetting the first feature value (first feature value of the pre-scan image) and the second feature value according to the conditions is performed. The specific processing content of the representative value resetting process will be described later (FIG. 8).

続いて、S110では、第1特徴量(プレスキャン画像の第1特徴量)及び第2特徴量に基づいて元画像を補正する。なお、具体的な補正方法については後述する。
続いて、S111では、S110での補正前後の元画像の変化量がしきい値ThreU以上であるか否かを判定する。本実施形態では、補正前の元画像と補正後の元画像との間で、対応する各構成画素についての差分(RGB値の差分)を求め、求めた差分のうち最大のものを変化量とする。
Subsequently, in S110, the original image is corrected based on the first feature amount (first feature amount of the pre-scan image) and the second feature amount. A specific correction method will be described later.
Subsequently, in S111, it is determined whether or not the change amount of the original image before and after the correction in S110 is equal to or greater than a threshold value ThreU. In the present embodiment, a difference (RGB value difference) for each corresponding constituent pixel is obtained between the original image before correction and the original image after correction, and the maximum difference among the obtained differences is defined as the amount of change. To do.

そして、S111で、補正前後の元画像の変化量がしきい値ThreU以上でないと判定した場合には、S112へ移行し、印刷を中止するか否かを判定する。具体的には、表示部32にメッセージを表示して操作部31での操作を促すことにより、印刷を中止するかどうかについてのユーザの意思を確認する。   If it is determined in S111 that the change amount of the original image before and after the correction is not equal to or greater than the threshold value ThreU, the process proceeds to S112 to determine whether or not to cancel printing. Specifically, the user's intention about whether or not to cancel printing is confirmed by displaying a message on the display unit 32 and prompting an operation on the operation unit 31.

このS112で、印刷を中止すると判定した場合には、そのまま本色変換処理を終了する。
一方、S112で、印刷を中止しないと判定した場合には、S113へ移行し、しきい値ThreUを更新した後、S114へ移行する。具体的には、S110での補正前後の元画像の変化量をしきい値ThreUとする。つまり、変化量がしきい値ThreUよりも小さいにもかかわらずユーザが印刷を許可した場合には、次回のしきい値ThreUをその変化量まで下げることで、しきい値ThreUがユーザの好みに応じた値に調整されるようにしている。
If it is determined in S112 that printing is to be stopped, the color conversion process is terminated as it is.
On the other hand, if it is determined in S112 that printing is not canceled, the process proceeds to S113, and after the threshold value ThreU is updated, the process proceeds to S114. Specifically, the change amount of the original image before and after correction in S110 is set as a threshold value ThreU. In other words, when the user permits printing even though the amount of change is smaller than the threshold value ThreU, the threshold value ThreU can be set to the user's preference by lowering the next threshold value ThreU to the amount of change. The value is adjusted to the corresponding value.

また、S111で、補正前後の元画像の変化量がしきい値ThreU以上であると判定した場合にも、そのままS114へ移行する。
S114では、原稿載置面における設定範囲を本来の解像度(プレスキャンよりも高い解像度)で読み取ることにより、お手本画像を読み取る。
If it is determined in S111 that the change amount of the original image before and after correction is equal to or greater than the threshold value ThreU, the process directly proceeds to S114.
In S114, the model image is read by reading the set range on the document placement surface at the original resolution (a resolution higher than the prescan).

続いて、S115では、S114で読み取ったお手本画像を構成する各画素をHSVパラメータに変換する処理を行う。
続いて、S116では、S115での変換処理により得られたHSVパラメータに基づいて、お手本画像(本来の解像度で読み取ったお手本画像)の特徴を表す特徴量である第1特徴量を特定する第1特徴量特定処理を行う。なお、第1特徴量特定処理の具体的な処理内容については後述する(図5)。
Subsequently, in S115, a process of converting each pixel constituting the model image read in S114 into an HSV parameter is performed.
Subsequently, in S116, based on the HSV parameter obtained by the conversion processing in S115, a first feature amount that is a feature amount representing a feature of a model image (a model image read at an original resolution) is specified. A feature amount specifying process is performed. The specific processing content of the first feature amount specifying processing will be described later (FIG. 5).

続いて、S117では、第1特徴量(本来の解像度で読み取ったお手本画像の第1特徴量)及び第2特徴量の値を条件に応じて再設定する代表値再設定処理を行う。なお、代表値再設定処理の具体的な処理内容については後述する(図8)。   Subsequently, in S117, a representative value resetting process is performed in which the first feature value (the first feature value of the model image read at the original resolution) and the value of the second feature value are reset according to the conditions. The specific processing content of the representative value resetting process will be described later (FIG. 8).

続いて、S118では、第1特徴量(本来の解像度で読み取ったお手本画像の第1特徴量)及び第2特徴量に基づいて元画像を補正する。なお、具体的な補正方法については後述する。   Subsequently, in S118, the original image is corrected based on the first feature value (the first feature value of the model image read at the original resolution) and the second feature value. A specific correction method will be described later.

続いて、S119では、S118で補正された補正後の元画像を画像印刷部40に印刷させた後、本色変換処理を終了する。
[3−2.第1特徴量特定処理]
次に、色変換処理(図4)におけるS105,S116で行われる第1特徴量特定処理について、図5のフローチャートを用いて説明する。なお、この第1特徴量特定処理においては、H値は、−30〜330の値をとるものとし、H値がこの範囲内にない場合は、H値を適宜変換することにより(例えば、“H値+360×n”又は“H値−360×n”、nは整数)、この範囲内に調整する。
Subsequently, in S119, after the original image corrected in S118 is printed on the image printing unit 40, the main color conversion process is terminated.
[3-2. First feature amount specifying process]
Next, the first feature amount specifying process performed in S105 and S116 in the color conversion process (FIG. 4) will be described with reference to the flowchart of FIG. In the first feature amount specifying process, the H value takes a value of −30 to 330. If the H value is not within this range, the H value is appropriately converted (for example, “ H value + 360 × n ”or“ H value−360 × n ”, where n is an integer), and adjust within this range.

CPU71は、第1特徴量特定処理を開始すると、まず、S201で、処理対象のお手本画像を複数の領域に分割する。本実施形態では、一般的に用いられる6つの色相に基づいて分割する。具体的には、それぞれの画素のH値に基づき、
・R領域: −30以上〜30未満
・Y領域: 30以上〜90未満
・G領域: 90以上〜150未満
・C領域: 150以上〜210未満
・B領域: 210以上〜270未満
・M領域: 270以上〜330未満
に分割する。つまり、お手本画像の構成画素をその色相値に応じた上記分類基準に従い、6つの分類項目に分類する処理を行う。なお、これらの領域とH値の対応関係はあくまでも一例であり、適宜変更可能なものである。
When starting the first feature amount specifying process, the CPU 71 first divides the model image to be processed into a plurality of regions in S201. In this embodiment, the image is divided based on six commonly used hues. Specifically, based on the H value of each pixel,
-R region: -30 or more and less than 30-Y region: 30 or more and less than 90-G region: 90 or more and less than 150-C region: 150 or more and less than 210-B region: 210 or more and less than 270-M region: Divide into 270 or more and less than 330. That is, a process of classifying the constituent pixels of the model image into six classification items according to the classification standard corresponding to the hue value is performed. The correspondence relationship between these areas and the H value is merely an example, and can be changed as appropriate.

続いて、S202では、S201で分割した領域ごとに、各領域がお手本画像中に占める割合と、各領域に属する構成画素の特徴を表す代表値(HSV値)とを、第1特徴量(k)として算出する。   Subsequently, in S202, for each region divided in S201, the ratio of each region in the model image and the representative value (HSV value) representing the characteristics of the constituent pixels belonging to each region are used as the first feature value (k ).

ここで、各領域の代表値(HSV値)を、以下のように定義する。
・R領域の代表値:sHr,sSr,sVr
・G領域の代表値:sHg,sSg,sVg
・B領域の代表値:sHb,sSb,sVb
・C領域の代表値:sHc,sSc,sVc
・M領域の代表値:sHm,sSm,sVm
・Y領域の代表値:sHy,sSy,sSy
本実施形態では、各領域に属する構成画素のHSV値それぞれの平均値を代表値として特定する。なお、代表値は平均値に限定されるものではなく、例えば中間値を用いることもできる。
Here, the representative value (HSV value) of each region is defined as follows.
-Typical values of R region: sHr, sSr, sVr
-Typical values in the G region: sHg, sSg, sVg
-Typical values of the B region: sHb, sSb, sVb
-Typical value of C region: sHc, sSc, sVc
-Typical values in the M region: sHm, sSm, sVm
-Typical values of the Y region: sHy, sSy, sSy
In this embodiment, the average value of each HSV value of the constituent pixels belonging to each region is specified as a representative value. The representative value is not limited to the average value, and for example, an intermediate value can be used.

また、各領域がお手本画像中に占める割合を、以下のように定義する。
・R領域がお手本画像中に占める割合:sRateR
・G領域がお手本画像中に占める割合:sRateG
・B領域がお手本画像中に占める割合:sRateB
・C領域がお手本画像中に占める割合:sRateC
・M領域がお手本画像中に占める割合:sRateM
・Y領域がお手本画像中に占める割合:sRateY
例えばR領域については、
sRateR=(お手本画像中のR領域の画素数)÷(お手本画像の全画素数)
とすることができる。なお、他の式によって定義してもよい。
Further, the ratio of each area in the model image is defined as follows.
The ratio of the R region in the model image: sRateR
-Ratio of the G area in the model image: sRateG
-Ratio of area B in the model image: sRateB
-Ratio of the C area in the model image: sRateC
-Ratio of M area in the model image: sRateM
The ratio of the Y area in the model image: sRateY
For example, for the R region:
sRateR = (number of pixels in the R region in the model image) / (total number of pixels in the model image)
It can be. In addition, you may define by another type | formula.

[3−3.第2特徴量特定処理]
次に、前述した色変換処理(図4)におけるS108で行われる第2特徴量特定処理について、図6のフローチャートを用いて説明する。なお、この第2特徴量特定処理では、前述した第1特徴量特定処理(図5)でお手本画像に対して行った処理と同様の処理を、元画像に対して行う。
[3-3. Second feature value specifying process]
Next, the second feature amount specifying process performed in S108 in the color conversion process (FIG. 4) described above will be described with reference to the flowchart of FIG. In the second feature amount specifying process, the same processing as that performed on the model image in the first feature amount specifying process (FIG. 5) described above is performed on the original image.

すなわち、CPU71は、第2特徴量特定処理を開始すると、まず、S301で、元画像を6つの領域に分割する。この処理内容は、第1特徴量特定処理におけるS201の処理と同様であるので、具体的な説明については省略する。   That is, when the CPU 71 starts the second feature amount specifying process, first, in S301, the original image is divided into six regions. Since the processing content is the same as the processing of S201 in the first feature amount specifying processing, a detailed description thereof will be omitted.

続いて、S302では、元画像に対し、第1特徴量特定処理におけるS202の処理と同様の処理を行うことにより、第2特徴量を算出する。ここでは、各領域の代表値(HSV値)を、以下のように定義する。
・R領域の代表値:iHr,iSr,iVr
・G領域の代表値:iHg,iSg,iVg
・B領域の代表値:iHb,iSb,iVb
・C領域の代表値:iHc,iSc,iVc
・M領域の代表値:iHm,iSm,iVm
・Y領域の代表値:iHy,iSy,iSy
また、各領域が元画像中に占める割合を、以下のように定義する。
・R領域が元画像中に占める割合:iRateR
・G領域が元画像中に占める割合:iRateG
・B領域が元画像中に占める割合:iRateB
・C領域が元画像中に占める割合:iRateC
・M領域が元画像中に占める割合:iRateM
・Y領域が元画像中に占める割合:iRateY
[3−4.元画像の補正処理]
次に、前述した色変換処理(図4)におけるS110,S118で行われる元画像の補正処理の具体的方法について説明する。この処理は、元画像の各画素のH値、S値、V値をそれぞれ変換することによって行われる。
Subsequently, in S302, the second feature value is calculated by performing the same process as the process of S202 in the first feature value specifying process on the original image. Here, the representative value (HSV value) of each region is defined as follows.
・ Representative value of R region: iHr, iSr, iVr
・ Representative value of G region: iHg, iSg, iVg
・ Representative value of B area: iHb, iSb, iVb
-Typical value of C region: iHc, iSc, iVc
-Typical values in the M region: iHm, iSm, iVm
・ Representative value of Y area: iHy, iSy, iSy
Further, the ratio of each area in the original image is defined as follows.
-Ratio of R area in original image: iRateR
-Ratio of the G area in the original image: iRateG
-Ratio of B area in original image: iRateB
-Ratio of the C area in the original image: iRateC
-Ratio of M area in original image: iRateM
The ratio of the Y area in the original image: iRateY
[3-4. Original image correction processing]
Next, a specific method of the original image correction process performed in S110 and S118 in the color conversion process (FIG. 4) described above will be described. This process is performed by converting the H value, S value, and V value of each pixel of the original image.

まず、H値における変換処理について説明する。
第2特徴量のH値の代表値をX軸にとり、第1特徴量のH値の代表値をY軸にとって領域ごとのH値の代表値をプロットする。そしてプロットされた点の間を、例えば線形補間することにより、図7に示す色相補正テーブルを作成する。ここで、この色相補正テーブルによる補正後のH値(Y軸のH値)をH’とし、H’<0の場合は、H’=H’+360とし、H’>360の場合は、H’=H’−360とする。
First, the conversion process for the H value will be described.
The representative value of the H value of the second feature value is plotted on the X axis and the representative value of the H value of the first feature value is plotted on the Y axis, and the representative value of the H value for each region is plotted. Then, a hue correction table shown in FIG. 7 is created by, for example, linear interpolation between the plotted points. Here, the H value after correction by the hue correction table (H value of the Y-axis) is H ′. When H ′ <0, H ′ = H ′ + 360, and when H ′> 360, H ′> 360. '= H'-360.

そして、元画像のそれぞれの画素に対し、上記色相補正テーブルを適用することによって、H値を補正する。具体的には、補正後のH’は、以下の式で定義することができる。
H’=(y2-y1)÷(x2-x1) × H
- (y2-y1)÷(x2-x1) × x2 + y2
・・・(式1)
ここで、x1,x2,y1,y2は、以下のように定義される。
Then, the H value is corrected by applying the hue correction table to each pixel of the original image. Specifically, H ′ after correction can be defined by the following equation.
H ′ = (y2−y1) ÷ (x2−x1) × H
-(y2-y1) ÷ (x2-x1) x x2 + y2
... (Formula 1)
Here, x1, x2, y1, and y2 are defined as follows.

H<iHrのときは、
(x1,y1)= (iHm−360,sHm−360)
(x2,y2)= (iHr,sHr)
iHr≦H<iHyのときは、
(x1,y1)= (iHr,sHr)
(x2,y2)= (iHy,sHy)
iHy≦H<iHgのときは、
(x1,y1)= (iHy,sHy)
(x2,y2)= (iHg,sHg)
iHg≦H<iHcのときは、
(x1,y1)= (iHg,sHg)
(x2,y2)= (iHc,sHc)
iHc≦H<iHbのときは、
(x1,y1)= (iHc,sHc)
(x2,y2)= (iHb,sHb)
iHb≦H<iHmのときは、
(x1,y1)= (iHb,sHb)
(x2,y2)= (iHm,sHm)
iHm≦Hのときは、
(x1,y1)= (iHm,sHm)
(x2,y2)= (iHr+360,sHr+360)
次に、S値及びV値における変換について説明する。
When H <iHr,
(X1, y1) = (iHm-360, sHm-360)
(X2, y2) = (iHr, sHr)
When iHr ≦ H <iHy,
(X1, y1) = (iHr, sHr)
(X2, y2) = (iHy, sHy)
When iHy ≦ H <iHg,
(X1, y1) = (iHy, sHy)
(X2, y2) = (iHg, sHg)
When iHg ≦ H <iHc,
(X1, y1) = (iHg, sHg)
(X2, y2) = (iHc, sHc)
When iHc ≦ H <iHb,
(X1, y1) = (iHc, sHc)
(X2, y2) = (iHb, sHb)
When iHb ≦ H <iHm,
(X1, y1) = (iHb, sHb)
(X2, y2) = (iHm, sHm)
When iHm ≦ H,
(X1, y1) = (iHm, sHm)
(X2, y2) = (iHr + 360, sHr + 360)
Next, conversion in the S value and the V value will be described.

S値及びV値は、H値によって分割された領域ごとに値が変換される。例えば、R領域について、
S ≦ iSrのときは、
S’=S×(sSr÷iSr) ・・・(式2)
S > iSrのときは、
S’=1+(S−1)×{(1−sSr)÷(1−iSr)} ・・・(式3)
V ≦ iVrのときは、
V’=V×(sVr÷iVr) ・・・(式4)
V > iVrのときは、
V’=1+(V−1)×{(1−sVr)÷(1−iVr)} ・・・(式5)
の式で求めることができる。また、その他の領域の計算についても同様に算出することができる。なお、以下においては、上記S値の変換式で定義される変換テーブルを彩度補正テーブルということがあり、また、上記V値の変換式で定義される変換テーブルを明度補正テーブルということがある。
The S value and the V value are converted for each area divided by the H value. For example, for the R region:
When S ≦ iSr,
S ′ = S × (sSr ÷ iSr) (Formula 2)
When S> iSr,
S ′ = 1 + (S−1) × {(1-sSr) ÷ (1-iSr)} (Formula 3)
When V ≦ iVr,
V ′ = V × (sVr ÷ iVr) (Formula 4)
When V> iVr,
V ′ = 1 + (V−1) × {(1−sVr) ÷ (1−iVr)} (Formula 5)
It can be calculated by the following formula. Further, other areas can be similarly calculated. In the following, the conversion table defined by the S value conversion formula may be referred to as a saturation correction table, and the conversion table defined by the V value conversion formula may be referred to as a brightness correction table. .

その後、変換されたHSV値を、画像印刷部40に適するフォーマット(例えば、RGB値)に変換する。なお、HSV値からRGB値への変換は、前述した公知の変換式に従い行うことができる。   Thereafter, the converted HSV value is converted into a format suitable for the image printing unit 40 (for example, RGB value). The conversion from the HSV value to the RGB value can be performed according to the above-described known conversion formula.

このように、H値に基づいて分割された領域ごとに、第2特徴量を第1特徴量に近づけるように元画像に対する補正処理を行うことによって、元画像の色合いをお手本画像の色合いに変換することができる。   In this way, the hue of the original image is converted to the hue of the model image by performing correction processing on the original image so that the second feature amount approaches the first feature amount for each region divided based on the H value. can do.

[3−5.代表値再設定処理]
次に、前述した色変換処理(図4)におけるS109,S117で行われる代表値再設定処理について、図8のフローチャートを用いて説明する。
[3-5. Representative value reset process]
Next, the representative value resetting process performed in S109 and S117 in the above-described color conversion process (FIG. 4) will be described with reference to the flowchart of FIG.

CPU71は、代表値再設定処理を開始すると、まず、S401で、元画像において色相ごとに分割した6つの領域のうちの1つの領域について、色変換の対象とするか否かを判定する。ここで、その領域を色変換の対象とするか否かは、その領域が後述の変換対象条件を満たすか否かによって判定する。そして、色変換の対象とすると判定した場合には(S401:YES)、S403へ移行する。一方、色変換の対象としないと判定した場合には(S401:NO)、S402へ移行し、その領域に係る第1特徴量及び第2特徴量の代表値を再設定した後、S403へ移行する。なお、代表値の再設定方法については後述する。   When the CPU 71 starts the representative value resetting process, first, in S401, the CPU 71 determines whether one of the six regions divided for each hue in the original image is to be subjected to color conversion. Here, whether or not the area is subject to color conversion is determined depending on whether or not the area satisfies a conversion target condition described later. If it is determined that the color conversion is to be performed (S401: YES), the process proceeds to S403. On the other hand, if it is determined not to be subject to color conversion (S401: NO), the process proceeds to S402, the representative values of the first feature value and the second feature value related to the region are reset, and the process proceeds to S403. To do. A method for resetting the representative value will be described later.

S403では、6つの領域すべてについて、色変換の対象とするか否かの判定処理を行ったか否かを判定する。そして、色変換の対象とするか否かの判定処理を行っていない領域が残っていると判定した場合には(S403:NO)、S401に戻り処理を繰り返す。一方、すべての領域について判定処理を行ったと判定した場合には(S403:YES)、本代表値再設定処理を終了する。   In S403, it is determined whether or not the determination process for determining whether or not to make all six areas subject to color conversion has been performed. If it is determined that there remains an area for which the process for determining whether or not to perform color conversion remains (S403: NO), the process returns to S401 and is repeated. On the other hand, if it is determined that the determination process has been performed for all regions (S403: YES), the representative value resetting process is terminated.

ここで、S401の変換対象条件について説明する。
(A)しきい値Threを用いる方法
S401では、第1特徴量及び第2特徴量における対象領域についての割合値(お手本画像中又は元画像中に占める割合)がしきい値Thre以上である場合に、変換対象条件を満たす(色変換の対象とする)と判定する。そして、第1特徴量及び第2特徴量の少なくとも一方における対象領域についての割合値がしきい値Thre未満の場合には、S402で、その領域に係る第1特徴量及び第2特徴量の代表値を同じ値に変更し、変更後の代表値を用いて補正処理が行われるようにする。具体的には、代表値を次のように再設定する。
Here, the conversion target condition in S401 will be described.
(A) Method Using Threshold Thre In S401, a ratio value (a ratio occupied in the model image or the original image) of the target area in the first feature value and the second feature value is equal to or greater than the threshold value Thre. Then, it is determined that the conversion target condition is satisfied (the color conversion target). If the ratio value of the target region in at least one of the first feature amount and the second feature amount is less than the threshold value Thre, the representative of the first feature amount and the second feature amount relating to the region is S402. The value is changed to the same value, and correction processing is performed using the changed representative value. Specifically, the representative value is reset as follows.

sRateR<Thre 又は iRateR<Thre のときは、
sHr=0,sSr=0.5,sVr=0.5,
iHr=0,iSr=0.5,iVr=0.5
sRateG<Thre 又は iRateG<Thre のときは、
sHg=120,sSg=0.5,sVg=0.5,
iHg=120,iSg=0.5,iVg=0.5
sRateB<Thre 又は iRateB<Thre のときは、
sHb=240,sSb=0.5,sVb=0.5,
iHb=240,iSb=0.5,iVb=0.5
sRateC<Thre 又は iRateC<Thre のときは、
sHc=180,sSc=0.5,sVc=0.5,
iHc=180,iSc=0.5,iVc=0.5
sRateM<Thre 又は iRateM<Thre のときは、
sHm=300,sSm=0.5,sVm=0.5,
iHm=300,iSm=0.5,iVm=0.5
sRateY<Thre 又は iRateY<Thre のときは、
sHy=60,sSy=0.5,sVy=0.5,
iHy=60,iSy=0.5,iVy=0.5
本実施形態では、S値及びV値については、そのとり得る値(0〜1)の中間値である0.5を採用し、H値においては、それぞれの領域の中間値を採用したが、これらはあくまでも一例に過ぎず、これらの数値に限定されるものではない。
When sRateR <Thre or iRateR <Thre,
sHr = 0, sSr = 0.5, sVr = 0.5,
iHr = 0, iSr = 0.5, iVr = 0.5
When sRateG <Thre or iRateG <Thre,
sHg = 120, sSg = 0.5, sVg = 0.5,
iHg = 120, iSg = 0.5, iVg = 0.5
When sRateB <Thre or iRateB <Thre,
sHb = 240, sSb = 0.5, sVb = 0.5,
iHb = 240, iSb = 0.5, iVb = 0.5
When sRateC <Thre or iRateC <Thre,
sHc = 180, sSc = 0.5, sVc = 0.5,
iHc = 180, iSc = 0.5, iVc = 0.5
When sRateM <Thre or iRateM <Thre,
sHm = 300, sSm = 0.5, sVm = 0.5,
iHm = 300, iSm = 0.5, iVm = 0.5
When sRateY <Thre or iRateY <Thre,
sHy = 60, sSy = 0.5, sVy = 0.5,
iHy = 60, iSy = 0.5, iVy = 0.5
In the present embodiment, for the S value and the V value, 0.5, which is an intermediate value of possible values (0 to 1), is adopted, and for the H value, the intermediate value of each region is adopted. These are merely examples, and are not limited to these numerical values.

このように代表値を変更することで、補正処理において、S値及びV値については、前述した変換式(式2)〜(式5)から明らかなように値が変換されない。すなわち、例えばR領域に関して、S ≦ iSrのときは、前述した(式2)のとおり、
S’=S×(sSr÷iSr)
の式で算出されるが、当該式において、sSr=0.5,iSr=0.5となるので、前述した式は、
S’=S×(0.5÷0.5)=S ・・・(式6)
となる。S>iSrのときも同様にS’=Sとなる。また、V値及び他の領域についても同様に変換されない。
By changing the representative value in this way, in the correction process, the values of the S value and the V value are not converted as is apparent from the conversion expressions (Expression 2) to (Expression 5) described above. That is, for example, with respect to the R region, when S ≦ iSr, as described above (Formula 2),
S ′ = S × (sSr ÷ iSr)
In this equation, sSr = 0.5 and iSr = 0.5, so the above-described equation is
S ′ = S × (0.5 ÷ 0.5) = S (Expression 6)
It becomes. Similarly, when S> iSr, S ′ = S. Similarly, the V value and other areas are not converted.

一方、H値については、図7においてプロットされる点が代表値に変更されるので、その領域における変換量を小さくすることができる。すなわち、前述した変換式(式1)を利用した場合であっても、代表値を変更することによって変換量が小さくなる。   On the other hand, for the H value, the points plotted in FIG. 7 are changed to the representative values, so that the conversion amount in that region can be reduced. That is, even when the above-described conversion formula (Formula 1) is used, the conversion amount is reduced by changing the representative value.

次に、しきい値Threの決定方法について説明する。この値は、例えば官能評価に基づいて決定することができる。官能評価では、約6%以上の面積を占めていれば、その領域は知覚されやすいことを確認した。したがって、しきい値Threとして、6%を採用することができる。ただし、しきい値Threは6%に限定されるものではない。   Next, a method for determining the threshold value Thre will be described. This value can be determined based on sensory evaluation, for example. In sensory evaluation, it was confirmed that if the area occupied about 6% or more, the area was easily perceived. Therefore, 6% can be adopted as the threshold value Thre. However, the threshold value Thre is not limited to 6%.

また、例えば、他の領域に対して相対的に面積が大きい領域を抽出するようにしきい値Threを決定してもよい。具体的には、分割される領域の数が6であれば、その逆数である1/6をしきい値Threとする。   For example, the threshold value Thre may be determined so as to extract a region having a relatively large area with respect to other regions. Specifically, if the number of regions to be divided is 6, the reciprocal 1/6 is set as the threshold value Thre.

ここで、分割される領域の数が6とは、色彩を表現する色域の1つであるRGB空間(頂点数8)から、無彩色である白と黒とを除いた残りの6つの頂点である。人が色彩を識別するには、色域を頂点数6に分類すれば十分であり、6より少なくすると、元画像がお手本画像のように変換されていないとユーザが感じる可能性が高くなる。逆に、6より細かく分割すれば、変換精度は高くなるが、人には識別できなくなる可能性が高くなる。また、分割数の増加に伴い計算量も増えるため、印刷結果が得られるまでの時間が長くなり、ユーザの不満も増加する可能性も高くなるので、分割される領域の数は6が好ましい。   Here, the number of divided areas is six. The remaining six vertices excluding white and black, which are achromatic colors, from the RGB space (number of vertices 8) which is one of the color gamuts expressing colors. It is. In order for a person to identify a color, it is sufficient to classify the color gamut into the number of vertices of 6, and if the number is less than 6, the user is more likely to feel that the original image is not converted like a model image. On the other hand, if the data is divided more finely than 6, the conversion accuracy is improved, but the possibility that the person cannot be identified increases. In addition, since the amount of calculation increases as the number of divisions increases, the time until a print result is obtained increases and the possibility of increasing user dissatisfaction increases. Therefore, the number of divided regions is preferably six.

なお、本実施形態では、すべての領域において同一のしきい値Threを用いているが、これに限定されるものではなく、領域ごとにしきい値Threを変更してもよい。
(B)最大領域の情報を用いる方法
上記(A)の方法では、しきい値Threを設定し、当該しきい値Threに基づいて代表値の変更、すなわち、色変換処理の停止、変換量の減少の制御を行った。ここでは、お手本画像の特定の色のみについて元画像に反映させるために、画像中の最大領域の情報を用いる方法について説明する。
In the present embodiment, the same threshold value Thre is used in all regions. However, the present invention is not limited to this, and the threshold value Thre may be changed for each region.
(B) Method Using Information on Maximum Region In the method (A) above, a threshold value Thre is set, and the representative value is changed based on the threshold value Thre, that is, the color conversion process is stopped, and the conversion amount is changed. Reduction control was performed. Here, a method of using information on the maximum area in the image in order to reflect only a specific color of the model image in the original image will be described.

この場合、S401では、第1特徴量及び第2特徴量のいずれにおいても最も割合値が大きい領域である場合に、変換対象条件を満たす(色変換の対象とする)と判定する。そして、変換対象条件を満たさない領域については、S402で、その領域に係る第1特徴量及び第2特徴量の代表値を次のように再設定する。ここで、第1特徴量の割合値のうち最も大きい割合値を、sMaxRateとする。また、第2特徴量の割合値のうち最も大きい割合値を、iMaxRateとする。   In this case, in S401, it is determined that the conversion target condition is satisfied (to be color conversion target) when the region has the largest ratio value in both the first feature amount and the second feature amount. And about the area | region which does not satisfy | fill conversion object conditions, the representative value of the 1st feature-value and 2nd feature-value which concern on the area | region is reset as follows by S402. Here, the largest ratio value among the ratio values of the first feature value is sMaxRate. Further, the largest ratio value among the ratio values of the second feature amount is assumed to be iMaxRate.

sRateR≠iMaxRate又はiRateR≠sMaxRateのとき、
sHr=0,sSr=0.5,sVr=0.5,
iHr=0,iSr=0.5,iVr=0.5
sRateG≠iMaxRate又はiRateG≠sMaxRateのとき、
sHg=120,sSg=0.5,sVg=0.5,
iHg=120,iSg=0.5,iVg=0.5
sRateB≠iMaxRate又はiRateB≠sMaxRateのとき、
sHb=240,sSb=0.5,sVb=0.5,
iHb=240,iSb=0.5,iVb=0.5
sRateC≠iMaxRate又はiRateC≠sMaxRateのとき、
sHc=120,sSc=0.5,sVc=0.5,
iHc=120,iSc=0.5,iVc=0.5
sRateM≠iMaxRate又はiRateM≠sMaxRateのとき、
sHm=300,sSm=0.5,sVm=0.5,
iHm=300,iSm=0.5,iVm=0.5
sRateY≠iMaxRate又はiRateY≠sMaxRateのとき、
sHy=60,sSy=0.5,sVy=0.5,
iHy=60,iSy=0.5,iVy=0.5
このように代表値を設定することで、第1特徴量及び第2特徴量のいずれにおいても最も割合値の大きい領域のみが変換対象となるから、変換対象とならなかった領域のS値及びV値については変換が行われず、また、H値については変換量を減少させることができる。
When sRateR ≠ iMaxRate or iRateR ≠ sMaxRate,
sHr = 0, sSr = 0.5, sVr = 0.5,
iHr = 0, iSr = 0.5, iVr = 0.5
When sRateG ≠ iMaxRate or iRateG ≠ sMaxRate,
sHg = 120, sSg = 0.5, sVg = 0.5,
iHg = 120, iSg = 0.5, iVg = 0.5
When sRateB ≠ iMaxRate or iRateB ≠ sMaxRate,
sHb = 240, sSb = 0.5, sVb = 0.5,
iHb = 240, iSb = 0.5, iVb = 0.5
When sRateC ≠ iMaxRate or iRateC ≠ sMaxRate,
sHc = 120, sSc = 0.5, sVc = 0.5,
iHc = 120, iSc = 0.5, iVc = 0.5
When sRateM ≠ iMaxRate or iRateM ≠ sMaxRate,
sHm = 300, sSm = 0.5, sVm = 0.5,
iHm = 300, iSm = 0.5, iVm = 0.5
When sRateY ≠ iMaxRate or iRateY ≠ sMaxRate,
sHy = 60, sSy = 0.5, sVy = 0.5,
iHy = 60, iSy = 0.5, iVy = 0.5
Since the representative value is set in this way, only the region having the largest ratio value in both the first feature value and the second feature value is to be converted, and therefore the S value and V of the region that has not been converted. No conversion is performed on the value, and the conversion amount can be reduced for the H value.

具体的には、例えばB領域のみを変換対象とした場合、図9に示すような色相補正テーブルが作成されることになる。この色相補正テーブルにおいては、色空間上B領域に隣接するC領域におけるH値の代表値(iHc=180,sHc=180)とB領域におけるH値の代表値(iHb,sHb)とが直線で結ばれ、また、色空間上B領域に隣接するM領域におけるH値の代表値(iHm=300,sHm=300)とB領域におけるH値の代表値(iHb,sHb)とが直線で結ばれることになる。   Specifically, for example, when only the B area is to be converted, a hue correction table as shown in FIG. 9 is created. In this hue correction table, the H value representative value (iHc = 180, sHc = 180) in the C region adjacent to the B region in the color space and the H value representative value (iHb, sHb) in the B region are linear. In addition, the representative value of the H value (iHm = 300, sHm = 300) in the M region adjacent to the B region in the color space and the representative value of the H value in the B region (iHb, sHb) are connected by a straight line. It will be.

このため、H値が180<H≦210のC領域、及びH値が270<H≦300のM領域についても変換されることになる。この変換量は、B領域に近い値ほど大きくなる。
このように、変換対象の領域を選択可能であり、また、変換対象ではない領域であっても、色空間上隣接するH値については一部変換されることになるから、変換対象の領域の変換対象ではない領域との間に擬似輪郭(階調とび)が生成されることを防ぐことができる。
Therefore, the C region where the H value is 180 <H ≦ 210 and the M region where the H value is 270 <H ≦ 300 are also converted. This conversion amount becomes larger as the value is closer to the B region.
In this way, the conversion target region can be selected, and even if the region is not the conversion target, the H value adjacent in the color space is partially converted. It is possible to prevent a pseudo contour (tone jump) from being generated between a region that is not a conversion target.

このような代表値再設定処理を行うことにより、分割されたそれぞれの領域に対し、領域の大きさに基づいて補正処理の一部を停止したり、変換量を小さくしたりすることができるため、ユーザは、お手本画像の一部の色合いのみを元画像の色合いに反映させるといったことが可能となる。   By performing such a representative value resetting process, it is possible to stop a part of the correction process or reduce the conversion amount for each divided area based on the size of the area. The user can reflect only a part of the hue of the model image in the hue of the original image.

[4.効果]
以上説明したように、本実施形態の複合機10は、原稿載置面にセットされた原稿から光学的に読み取られるお手本画像を入力し(S114)、入力したお手本画像の特徴を表す第1特徴量を特定する(S115,S116)。また、色変換の対象とする元画像をメモリカードから入力し(S106)、入力した元画像の特徴を表す第2特徴量を特定する(S107,S108)。そして、第2特徴量を第1特徴量に近づけるように、元画像に対する色変換処理を行い(S117,S118)、色変換処理後の元画像を印刷する(S119)。
[4. effect]
As described above, the MFP 10 of the present embodiment inputs a model image that is optically read from a document set on the document placement surface (S114), and the first feature that represents the characteristics of the input model image. The amount is specified (S115, S116). In addition, an original image to be subjected to color conversion is input from the memory card (S106), and a second feature amount representing the characteristics of the input original image is specified (S107, S108). Then, a color conversion process is performed on the original image so that the second feature value approaches the first feature value (S117, S118), and the original image after the color conversion process is printed (S119).

このような複合機10によれば、ユーザは、お手本画像を用いることで、元画像の色変換を簡単な操作でかつ感覚的に行うことができる。
具体的には、例えば、建物と空が写っている元画像に対し、空の青を鮮やかな海の青に変換したい場合は、鮮やかな海の写っているお手本画像を用いることによって、元画像の青色を鮮やかな海の青に変換することができる。
According to such a multifunction machine 10, the user can perform color conversion of the original image with a simple operation and sensibly by using the model image.
Specifically, for example, if you want to convert the sky blue to the vivid ocean blue for the original image that contains the building and the sky, you can use the model image that captures the vivid ocean. Blue can be converted into vivid sea blue.

また、人の顔が映っている元画像に対し、肌色を明るく変換したい場合は、明るい肌色の写っているお手本画像を用いることによって、元画像の肌色を明るい肌色に変換することができる。   Further, when it is desired to brightly convert the skin color with respect to the original image in which the human face is reflected, the skin color of the original image can be converted into a bright skin color by using a model image showing a bright skin color.

このように、ユーザは、何ら専門的な知識を必要とせず、お手本画像を画像読取部20に読み取らせるだけで、所望の色変換を行うことができる。さらに、色変換を行う領域が自動的に選択されるので、知覚されにくい領域の変換を中止又は低減し、知覚されやすい領域のみを変換することもできる。   As described above, the user can perform desired color conversion only by causing the image reading unit 20 to read the model image without requiring any specialized knowledge. Furthermore, since the area for color conversion is automatically selected, it is possible to stop or reduce the conversion of areas that are difficult to perceive, and to convert only the areas that are easily perceived.

また、この複合機10は、画像読取部20がいわゆるフラットベッドスキャナであり、原稿載置面が原稿カバー21によって覆われているため、ユーザが、原稿載置面に原稿がセットされていないにもかかわらず原稿がセットされているものと思い込んで色変換を開始してしまうことが考えられる。しかしながら、この複合機10では、原稿載置面に原稿がセットされているか否かをプレスキャン画像の平均輝度値に基づき判定し(S102,S103)、原稿がセットされていないと判定した場合には(S103:YES)、印刷を中止するか否かをユーザに確認するようにしている(S104)。   Further, in this multifunction device 10, the image reading unit 20 is a so-called flat bed scanner, and the document placement surface is covered by the document cover 21, so that the user does not set the document on the document placement surface. However, it is possible to assume that the original is set and start color conversion. However, in the multi function device 10, whether or not a document is set on the document placement surface is determined based on the average luminance value of the pre-scan image (S 102 and S 103), and when it is determined that the document is not set. (S103: YES), the user is asked whether or not to cancel printing (S104).

また、お手本画像によっては、色変換処理による効果がほとんど得られない(ほとんど変化しない)ことも考えられるが、この複合機10では、色変換処理の前後における元画像の変化量がしきい値ThreUよりも小さい場合にも(S111:NO)、印刷を中止するか否かをユーザに確認するようにしている(S112)。   Also, depending on the model image, it may be considered that the effect of the color conversion process is hardly obtained (almost does not change). However, in this multifunction machine 10, the change amount of the original image before and after the color conversion process is the threshold ThreU. If it is smaller (S111: NO), the user is asked whether or not to cancel printing (S112).

したがって、原稿をセットし忘れた場合や、原稿はセットされているものの色変換効果が著しく低い場合などのように、ユーザの必要としていない画像が無駄に印刷されてしまうことを防ぐことができる。また、印刷を直ちに中止するのではなく、ユーザに確認するようにしているため、ユーザが必要とする画像については確実に印刷することができる。   Therefore, it is possible to prevent an unnecessary image from being printed by the user, such as when the user forgets to set the document or when the document is set but the color conversion effect is extremely low. In addition, since printing is not immediately stopped, but is confirmed with the user, an image required by the user can be reliably printed.

特に、色変換処理の前後における元画像の変化量がしきい値ThreUよりも小さいにもかかわらず印刷を中止しない場合には、しきい値ThreUをその変化量に更新するようにしているため、複合機10の使用に伴い、しきい値ThreUがユーザの好みに応じた値に調整される。この結果、ユーザにとって好ましい変化量の場合には、わざわざ確認操作を行うことなく自動で印刷されるようになる。   In particular, when the amount of change of the original image before and after the color conversion process is smaller than the threshold value ThreU, even when printing is not stopped, the threshold value ThreU is updated to the change amount. As the multifunction machine 10 is used, the threshold value ThreU is adjusted to a value according to the user's preference. As a result, in the case of a change amount preferable for the user, printing is automatically performed without performing a confirmation operation.

加えて、印刷を中止するか否かの判定(S103,S111)に利用するための画像の読取解像度を、印刷用の画像を生成する処理(S118)に利用するための画像の読取解像度よりも低くするようにしているため、処理を高速化し、記憶容量を小さくすることができる。   In addition, the image reading resolution for use in determining whether or not to cancel printing (S103, S111) is higher than the image reading resolution for use in processing for generating an image for printing (S118). Since it is made low, the processing speed can be increased and the storage capacity can be reduced.

[5.特許請求の範囲との対応]
なお、本実施形態の複合機10では、色変換処理(図4)におけるS101,S114の処理を実行するCPU71が、第1画像入力手段に相当し、S102,S103の処理を実行するCPU71が、判定手段に相当する。また、S104,S112,S113の処理を実行するCPU71が、印刷禁止手段又は補正禁止手段に相当し、S106の処理を実行するCPU71が、第2画像入力手段に相当する。また、S107,S108の処理を実行するCPU71が、第2特徴量特定手段に相当し、S109〜S111の処理を実行するCPU71が、比較手段に相当し、S115,S116の処理を実行するCPU71が、第1特徴量特定手段に相当する。また、S117,S118の処理を実行するCPU71が、画像補正手段に相当し、S119の処理を実行するCPU71が、印刷制御手段に相当する。
[5. Correspondence with Claims]
In the MFP 10 of the present embodiment, the CPU 71 that executes the processing of S101 and S114 in the color conversion processing (FIG. 4) corresponds to the first image input means, and the CPU 71 that executes the processing of S102 and S103 is It corresponds to the determination means. Further, the CPU 71 that executes the processes of S104, S112, and S113 corresponds to a print prohibiting unit or a correction prohibiting unit, and the CPU 71 that executes the process of S106 corresponds to a second image input unit. Further, the CPU 71 that executes the processes of S107 and S108 corresponds to the second feature amount specifying means, the CPU 71 that executes the processes of S109 to S111 corresponds to the comparing means, and the CPU 71 that executes the processes of S115 and S116. This corresponds to the first feature quantity specifying means. Further, the CPU 71 that executes the processes of S117 and S118 corresponds to an image correction unit, and the CPU 71 that executes the process of S119 corresponds to a print control unit.

[6.他の形態]
以上、本発明の実施形態について説明したが、本発明は、種々の形態をとり得ることは言うまでもない。
[6. Other forms]
As mentioned above, although embodiment of this invention was described, it cannot be overemphasized that this invention can take a various form.

(1)上記実施形態では、プレスキャンで読み取った低解像度の画像に基づき、原稿がセットされているか否かの判定や、色変換処理の前後における元画像の変化量の大きさの判定を行うようにしているが、これに限定されるものではない。例えば、本来の解像度で読み取った画像に基づきこれらの判定を行うことも可能である。この場合、お手本画像の読み取りを再度行う必要がないという面では有効であるが、処理の高速化や記憶容量の節約という面では上記実施形態のように解像度を落とす方法が有効である。   (1) In the above embodiment, based on a low-resolution image read by pre-scanning, it is determined whether or not a document is set, and the amount of change in the original image before and after color conversion processing is determined. However, the present invention is not limited to this. For example, these determinations can be made based on an image read at the original resolution. In this case, it is effective in that it is not necessary to read the model image again, but in terms of speeding up the processing and saving the storage capacity, the method of reducing the resolution as in the above embodiment is effective.

(2)上記実施形態では、原稿がセットされていないと判定したにもかかわらず印刷を中止しない場合にも画像補正を行うようにしているが、これに限定されるものではなく、このような場合には元画像をそのまま印刷するようにしてもよい。   (2) In the above embodiment, image correction is performed even when printing is not stopped even though it is determined that no document is set. However, the present invention is not limited to this. In this case, the original image may be printed as it is.

(3)上記実施形態では、原稿がセットされていないと判定した場合や、色変換処理の前後における元画像の変化量が小さいと判定した場合には、印刷を中止するか否かをユーザに確認するようにしているが、これに限定されるものではない。例えば、このような場合には、ユーザに確認することなく印刷を中止するようにしてもよい。   (3) In the above embodiment, if it is determined that no document is set, or if it is determined that the amount of change in the original image before and after the color conversion process is small, the user is asked whether to cancel printing. Although it confirms, it is not limited to this. For example, in such a case, printing may be stopped without confirming with the user.

(4)上記実施形態では、複合機10がお手本画像を画像読取部20で読み取る例について説明したが、これに限定されるものではなく、例えば、メモリカードから読み込んだ画像や、通信部60を介して外部から受信した画像をお手本画像としてもよい。このような構成においては、原稿のセット忘れの問題は生じないものの、色変換効果が著しく低い場合に印刷を中止できるという効果は得られるからである。   (4) In the above embodiment, the example in which the multifunction machine 10 reads the model image with the image reading unit 20 has been described. However, the present invention is not limited to this. For example, the image read from the memory card or the communication unit 60 An image received from the outside via the network may be used as a model image. In such a configuration, the problem of forgetting to set a document does not occur, but the effect that printing can be stopped when the color conversion effect is extremely low is obtained.

(5)上記実施形態では、色変換の対象とする画像をメモリカードから入力する例について説明したが、これに限定されるものではない。例えば、画像読取部20で読み取られた画像や、通信部60を介して外部から受信した画像を色変換の対象としてもよい。   (5) In the above embodiment, an example in which an image to be subjected to color conversion is input from a memory card has been described. However, the present invention is not limited to this. For example, an image read by the image reading unit 20 or an image received from the outside via the communication unit 60 may be the target of color conversion.

(6)上記実施形態では、色変換処理において、第1特徴量及び第2特徴量を特定するための処理を行う前に、お手本画像及び元画像の各構成画素をHSVパラメータに変換する処理を行うようにしているが、これに限定されるものではない。例えば、HSVパラメータに代えて、L***パラメータやRGBパラメータ等の他のパラメータに変換してもよい。 (6) In the above embodiment, in the color conversion process, before performing the process for specifying the first feature value and the second feature value, the process of converting the constituent pixels of the model image and the original image into HSV parameters. However, the present invention is not limited to this. For example, instead of the HSV parameter, it may be converted into another parameter such as an L * c * h * parameter or an RGB parameter.

(7)上記実施形態において、第1特徴量と第2特徴量を特定する順序は特に限定されるものではなく、逆の順序で特定してもよい。
(8)上記実施形態では、第1特徴量を特定するアルゴリズムと第2特徴量を特定するアルゴリズムとを同一のものとして説明したが、これに限定されるものではなく、異なるアルゴリズムによって特定してもよい。
(7) In the above embodiment, the order in which the first feature value and the second feature value are specified is not particularly limited, and may be specified in the reverse order.
(8) In the above embodiment, the algorithm for specifying the first feature quantity and the algorithm for specifying the second feature quantity have been described as being the same. However, the present invention is not limited to this. Also good.

(9)上記実施形態では、代表値再設定処理により、領域の大きさに応じて補正処理の一部を停止したり、変換量を小さくしたりする処理を例示したが、これに限定されるものではなく、代表値再設定処理を行わないようにしてもよい。   (9) In the above embodiment, the process of stopping a part of the correction process or reducing the conversion amount according to the size of the region by the representative value resetting process is exemplified, but the present invention is not limited to this. However, the representative value resetting process may not be performed.

(10)上記実施形態では、画像補正処理として色変換処理を例示したが、これに限定されるものではなく、上記実施形態で例示した以外の画像補正処理を行うものであってもよい。   (10) In the above embodiment, the color conversion process is exemplified as the image correction process. However, the present invention is not limited to this, and an image correction process other than that exemplified in the above embodiment may be performed.

(11)上記実施形態においては、変換対象としない領域のH値は、変換量を減少させることはできるものの、変換量をゼロとすることはできない。図7に示すように、変換対象としない領域の代表値との間で線形補間されるため、他の領域の代表値の影響を受けるからである。   (11) In the above embodiment, the H value of the region that is not to be converted can reduce the conversion amount, but the conversion amount cannot be zero. This is because, as shown in FIG. 7, linear interpolation is performed between the representative values of the regions that are not to be converted, and therefore, it is affected by the representative values of other regions.

そこで、図10に示すような色相補正テーブルを採用することができる。図10は、B領域のみを変換対象とした場合の色相補正テーブルである。なお、この図においては、変換対象の領域の数を1つとしているが、複数の領域を補正対象とした場合にも同様に適用できる。   Therefore, a hue correction table as shown in FIG. 10 can be employed. FIG. 10 is a hue correction table in the case where only the B region is to be converted. In this figure, the number of areas to be converted is one, but the present invention can be similarly applied to cases where a plurality of areas are to be corrected.

図10においては、B領域以外のH値は、H’=Hであるから、色変換は行われない。B領域のH’値については、B領域中の最小値をHmin,B領域中の最大値をHmaxとすれば、以下の式で求めることができる。   In FIG. 10, since the H values other than the B region are H ′ = H, color conversion is not performed. The H ′ value in the B region can be obtained by the following equation, where the minimum value in the B region is Hmin and the maximum value in the B region is Hmax.

H<iHのときは、
H’=Hmin+(sHb−Hmin)×(H−Hmin)÷(iHb−Hmin)
H>iHのときは、
H’=sHb+(Hmax−sHb)×(H−iHb)÷(Hmax−iHb)
この式を用いることにより、変換対象の領域のみを変換することができる。
When H <iH,
H ′ = Hmin + (sHb−Hmin) × (H−Hmin) ÷ (iHb−Hmin)
When H> iH,
H ′ = sHb + (Hmax−sHb) × (H−iHb) ÷ (Hmax−iHb)
By using this equation, only the region to be converted can be converted.

このようにすれば、変換対象のH値のみを変換することができるから、色変換の効果を大きくすることができる。
(12)上記実施形態においては、S値及びV値に対し、領域ごとに補正カーブ(変換式)を独立して用いるため、擬似輪郭(階調とび)が生成されるおそれがある。すなわち、図11に示すように、領域ごとに、SとS’との関係を示すテーブルを有しており、隣接する領域におけるテーブルの性質を何ら考慮していない。
In this way, since only the H value to be converted can be converted, the effect of color conversion can be increased.
(12) In the above embodiment, since a correction curve (conversion formula) is independently used for each region with respect to the S value and the V value, a pseudo contour (tone jump) may be generated. That is, as shown in FIG. 11, each region has a table indicating the relationship between S and S ′, and no consideration is given to the nature of the table in adjacent regions.

これに対し、図12に示すように、各色領域における補正カーブを滑らかにすることで階調とびを防止できる。
ここで、具体的な処理について以下に説明する。なお、図13及び図14を参照しつつC領域の一部及びB領域の一部の色変換処理について説明を行うが、他の領域についても処理の内容は基本的には同じである。
On the other hand, as shown in FIG. 12, gradation skipping can be prevented by smoothing the correction curve in each color region.
Here, specific processing will be described below. The color conversion process for a part of the C area and a part of the B area will be described with reference to FIGS. 13 and 14. However, the contents of the process are basically the same for the other areas.

補正されたS値(Sb’’)は、変換対象領域のH値(H)、変換対象とする領域のH値の中間値(Hbmid)、変換対象となる画素のH値の色相座標位置と、変換対象とする領域のH値の中間値の色相座標位置とを比較し、変換対象となる画素のH値の色相座標位置は近くに、かつ、変換対象とする領域のH値の中間値の色相座標位置からは遠くに隣接する領域のH値の代表値(Hcmid)、上記変換式(式2)に対応する変換式で変換された(すなわち、B領域の彩度補正テーブルを用いて算出された)変換対象領域のS値(Sb’)、上記変換式(式3)に対応する変換式で変換された(すなわち、C領域の彩度補正テーブルを用いて算出された)隣接する領域のS値(Sc’)を用いて、以下の式で求めることができる。   The corrected S value (Sb ″) includes the H value (H) of the conversion target area, the intermediate value (Hbmid) of the H value of the conversion target area, and the hue coordinate position of the H value of the pixel to be converted. The hue coordinate position of the intermediate value of the H value of the area to be converted is compared, the hue coordinate position of the H value of the pixel to be converted is close, and the intermediate value of the H value of the area to be converted The H value representative value (Hcmid) of the adjacent region far from the hue coordinate position is converted by a conversion formula corresponding to the conversion formula (Formula 2) (that is, using the saturation correction table of the B region). The S value (Sb ′) of the conversion target area (calculated) and adjacent converted by the conversion expression corresponding to the conversion expression (Expression 3) (that is, calculated using the saturation correction table of the C area) Using the S value (Sc ′) of the region, it can be obtained by the following equation.

Sb’’ = {(H−Hcmid)×Sb’+(Hbmid−H)×Sc’}
÷{(Hbmid−Hcmid)} ・・・(式7)
なお、上記Hbmid、Hcmidは、上記再設定された「代表値」である。
Sb ″ = {(H−Hcmid) × Sb ′ + (Hbmid−H) × Sc ′}
÷ {(Hbmid−Hcmid)} (Expression 7)
The Hbmid and Hcmid are the “representative values” that have been reset.

また、この例における補正されたV値(Vb’’)は、変換対象領域のH値(H)、変換対象領域のH値の代表値(Hbmid)、隣接する領域のH値の代表値(Hcmid)、上記変換式(式4)に対応する変換式で変換された(すなわち、B領域の明度補正テーブルを用いて算出された)変換対象領域のV値(Vb’)、上記変換式(式5)に対応する変換式で変換された(すなわち、C領域の明度補正テーブルを用いて算出された)隣接する領域のS値(Vc’)を用いて、以下の式で求めることができる。   Further, the corrected V value (Vb ″) in this example includes the H value (H) of the conversion target region, the representative value (Hbmid) of the H value of the conversion target region, and the representative value of the H value of the adjacent region (Hbmid). Hcmid), the V value (Vb ′) of the conversion target area converted by the conversion expression corresponding to the conversion expression (Expression 4) (that is, calculated using the brightness correction table of the B area), and the conversion expression ( Using the S value (Vc ′) of the adjacent region converted by the conversion equation corresponding to Equation 5 (that is, calculated using the brightness correction table of the C region), the following equation can be used. .

Vb’’ = {(H−Hcmid)×Vb’+(Hbmid−H)×Vc’}
÷{(Hbmid−Hcmid)} ・・・(式8)
前述した処理を、図15に示されるB領域の一部(H値の範囲:210<H≦240)及びC領域の一部(H値の範囲180<H≦210)に対して行う。これにより、入力の色相値(H)に応じた重み付け計算により、出力の彩度値(S'')及び明度値(V'')を求めることにより、各色相間の補正効果を滑らかにすることができる。
Vb ″ = {(H−Hcmid) × Vb ′ + (Hbmid−H) × Vc ′}
÷ {(Hbmid−Hcmid)} (Equation 8)
The above-described processing is performed for a part of the B region (H value range: 210 <H ≦ 240) and a part of the C region (H value range 180 <H ≦ 210) shown in FIG. As a result, the output saturation value (S ″) and lightness value (V ″) are obtained by weighting calculation according to the input hue value (H), thereby smoothing the correction effect between the hues. Can do.

(13)上記実施形態では、画像処理装置として複合機10を例示したが、これに限定されるものではなく、例えば、パーソナルコンピュータのような情報処理装置であってもよい。   (13) In the above embodiment, the multifunction machine 10 is exemplified as the image processing apparatus. However, the present invention is not limited to this, and may be an information processing apparatus such as a personal computer.

実施形態の複合機の外観を示す斜視図である。1 is a perspective view illustrating an appearance of a multifunction machine according to an embodiment. 複合機の制御系の概略構成を示すブロック図である。FIG. 2 is a block diagram illustrating a schematic configuration of a control system of the multifunction machine. 色変換処理におけるユーザの動作及び複合機の処理の概略を示した説明図である。FIG. 6 is an explanatory diagram illustrating an outline of a user operation and a process of a multifunction machine in a color conversion process. 実施形態の色変換処理のフローチャートである。5 is a flowchart of color conversion processing according to the embodiment. 第1特徴量特定処理のフローチャートである。It is a flowchart of a 1st feature-value specific process. 第2特徴量特定処理のフローチャートである。It is a flowchart of the 2nd feature-value specific process. 色相補正テーブルの説明図である。It is explanatory drawing of a hue correction table. 代表値再設定処理のフローチャートである。It is a flowchart of a representative value reset process. B領域のみを変換対象とした場合に作成される色相補正テーブルの説明図である。It is explanatory drawing of the hue correction table produced when only B area | region is made into conversion object. 変形例における色相補正テーブルを示した図である。It is the figure which showed the hue correction table in a modification. 彩度補正テーブルを示した図である。It is the figure which showed the saturation correction table. 彩度補正のカーブの変化を示した図である。It is the figure which showed the change of the curve of saturation correction | amendment. B領域及びC領域における彩度補正テーブルを示した図である。It is the figure which showed the saturation correction table in B area | region and C area | region. B領域及びC領域における補正されたS値を示した図である。It is the figure which showed the corrected S value in B area | region and C area | region. B領域及びC領域の一部が変換対象となることを示した図である。It is the figure which showed that a part of B area | region and C area | region became conversion object.

符号の説明Explanation of symbols

10…複合機、11…本体ケーシング、12…開口、20…画像読取部、21…原稿カバー、30…操作パネル、31…操作部、32…表示部、40…画像印刷部、50…カードスロット、60…通信部、70…制御部、71…CPU、72…ROM、73…RAM、80…信号線   DESCRIPTION OF SYMBOLS 10 ... MFP, 11 ... Main body casing, 12 ... Opening, 20 ... Image reading part, 21 ... Document cover, 30 ... Operation panel, 31 ... Operation part, 32 ... Display part, 40 ... Image printing part, 50 ... Card slot , 60 ... communication section, 70 ... control section, 71 ... CPU, 72 ... ROM, 73 ... RAM, 80 ... signal line

Claims (15)

所定の読取位置にセットされた印刷媒体から光学的に読み取られる第1画像を入力する第1画像入力手段と、
前記第1画像入力手段により入力された第1画像の特徴を表す第1特徴量を特定する第1特徴量特定手段と、
画像補正の対象とする画像である第2画像を入力する第2画像入力手段と、
前記第2画像入力手段により入力された第2画像の特徴を表す第2特徴量を特定する第2特徴量特定手段と、
前記第2特徴量特定手段により特定された第2特徴量を前記第1特徴量特定手段により特定された第1特徴量に近づけるように、前記第2画像に対する画像補正処理を行う画像補正手段と、
前記画像補正手段による画像補正処理が行われた第2画像を印刷するための印刷処理を行う印刷制御手段と、
前記読取位置に印刷媒体がセットされているか否かを前記第1画像入力手段により入力された画像に基づき判定する判定手段と、
前記判定手段により印刷媒体がセットされていないと判定された場合には、前記印刷制御手段による印刷処理を禁止する印刷禁止手段と、
を備えることを特徴とする画像処理装置。
First image input means for inputting a first image that is optically read from a print medium set at a predetermined reading position;
First feature amount specifying means for specifying a first feature amount representing a feature of the first image input by the first image input means;
Second image input means for inputting a second image which is an image to be subjected to image correction;
Second feature amount specifying means for specifying a second feature amount representing a feature of the second image input by the second image input means;
Image correcting means for performing image correction processing on the second image so that the second feature quantity specified by the second feature quantity specifying means approaches the first feature quantity specified by the first feature quantity specifying means; ,
Print control means for performing print processing for printing the second image that has been subjected to image correction processing by the image correction means;
Determination means for determining whether a print medium is set at the reading position based on an image input by the first image input means;
A printing prohibition unit for prohibiting a printing process by the print control unit when the determination unit determines that a print medium is not set;
An image processing apparatus comprising:
前記判定手段は、前記第1画像入力手段により入力された第1画像の平均輝度値が所定値以上の場合に、印刷媒体がセットされていないと判定すること
を特徴とする請求項1に記載の画像処理装置。
2. The determination unit according to claim 1, wherein the determination unit determines that no print medium is set when an average luminance value of the first image input by the first image input unit is a predetermined value or more. Image processing apparatus.
前記画像補正手段により行われる画像補正処理の前後における前記第2画像の変化量と、所定の判定基準量とを比較する比較手段を備え、
前記比較手段による比較結果において前記変化量が前記判定基準量よりも小さい場合に、前記印刷禁止手段は、前記印刷制御手段による印刷処理を禁止すること
を特徴とする請求項1又は請求項2に記載の画像処理装置。
Comparing means for comparing a change amount of the second image before and after the image correction processing performed by the image correcting means with a predetermined determination reference amount;
3. The print prohibiting unit prohibits a printing process by the print control unit when the amount of change in the comparison result by the comparing unit is smaller than the determination reference amount. The image processing apparatus described.
前記印刷禁止手段は、印刷を行うか否かについてのユーザの意思を確認し、印刷を行う意思の場合には前記印刷処理の禁止を解除すること
を特徴とする請求項3に記載の画像処理装置。
The image processing according to claim 3, wherein the printing prohibition unit confirms a user's intention as to whether or not to perform printing, and cancels the prohibition of the printing process when the user intends to perform printing. apparatus.
前記印刷禁止手段は、ユーザの意思に従い前記印刷処理の禁止を解除した場合には、前記判定基準量を前記変化量に更新すること
を特徴とする請求項4に記載の画像処理装置。
The image processing apparatus according to claim 4, wherein the printing prohibition unit updates the determination reference amount to the change amount when the prohibition of the printing process is canceled according to a user's intention.
前記印刷禁止手段は、印刷を行うか否かについてのユーザの意思を確認し、印刷を行う意思の場合には前記印刷処理の禁止を解除すること
を特徴とする請求項1又は請求項2に記載の画像処理装置。
3. The print prohibiting unit confirms a user's intention as to whether or not to perform printing, and cancels the prohibition of the printing process when the user intends to perform printing. The image processing apparatus described.
前記第1画像入力手段は、複数の読取解像度で画像を入力可能に構成されており、前記判定手段による判定に利用するための画像の読取解像度を、前記印刷制御手段による印刷処理に利用するための画像の読取解像度よりも低くすること
を特徴とする請求項1から請求項6までのいずれか1項に記載の画像処理装置。
The first image input unit is configured to be able to input an image at a plurality of reading resolutions, and to use the image reading resolution used for the determination by the determination unit for the printing process by the print control unit. The image processing apparatus according to claim 1, wherein the image processing apparatus is lower than the reading resolution of the image.
所定の読取位置にセットされた印刷媒体から光学的に読み取られる第1画像を入力する第1画像入力手段と、
前記第1画像入力手段により入力された第1画像の特徴を表す第1特徴量を特定する第1特徴量特定手段と、
画像補正の対象とする画像である第2画像を入力する第2画像入力手段と、
前記第2画像入力手段により入力された第2画像の特徴を表す第2特徴量を特定する第2特徴量特定手段と、
前記第2特徴量特定手段により特定された第2特徴量を前記第1特徴量特定手段により特定された第1特徴量に近づけるように、前記第2画像に対する画像補正処理を行う画像補正手段と、
前記読取位置に印刷媒体がセットされているか否かを前記第1画像入力手段により入力された画像に基づき判定する判定手段と、
前記判定手段により印刷媒体がセットされていないと判定された場合には、前記画像補正手段による前記第2画像に対する画像補正処理を禁止する補正禁止手段と、
を備えることを特徴とする画像処理装置。
First image input means for inputting a first image that is optically read from a print medium set at a predetermined reading position;
First feature amount specifying means for specifying a first feature amount representing a feature of the first image input by the first image input means;
Second image input means for inputting a second image which is an image to be subjected to image correction;
Second feature amount specifying means for specifying a second feature amount representing a feature of the second image input by the second image input means;
Image correcting means for performing image correction processing on the second image so that the second feature quantity specified by the second feature quantity specifying means approaches the first feature quantity specified by the first feature quantity specifying means; ,
Determination means for determining whether a print medium is set at the reading position based on an image input by the first image input means;
A correction prohibiting unit for prohibiting image correction processing on the second image by the image correcting unit when the determining unit determines that a print medium is not set;
An image processing apparatus comprising:
第1画像を入力する第1画像入力手段と、
前記第1画像入力手段により入力された第1画像の特徴を表す第1特徴量を特定する第1特徴量特定手段と、
画像補正の対象とする画像である第2画像を入力する第2画像入力手段と、
前記第2画像入力手段により入力された第2画像の特徴を表す第2特徴量を特定する第2特徴量特定手段と、
前記第2特徴量特定手段により特定された第2特徴量を前記第1特徴量特定手段により特定された第1特徴量に近づけるように、前記第2画像に対する画像補正処理を行う画像補正手段と、
前記画像補正手段による画像補正処理が行われた第2画像を印刷するための印刷処理を行う印刷制御手段と、
前記画像補正手段により行われる画像補正処理の前後における前記第2画像の変化量と、所定の判定基準量と、を比較する比較手段と、
前記比較手段による比較結果において前記変化量が前記判定基準量よりも小さい場合には、前記印刷制御手段による印刷処理を禁止する印刷禁止手段と、
を備えることを特徴とする画像処理装置。
First image input means for inputting a first image;
First feature amount specifying means for specifying a first feature amount representing a feature of the first image input by the first image input means;
Second image input means for inputting a second image which is an image to be subjected to image correction;
Second feature amount specifying means for specifying a second feature amount representing a feature of the second image input by the second image input means;
Image correcting means for performing image correction processing on the second image so that the second feature quantity specified by the second feature quantity specifying means approaches the first feature quantity specified by the first feature quantity specifying means; ,
Print control means for performing print processing for printing the second image that has been subjected to image correction processing by the image correction means;
Comparison means for comparing a change amount of the second image before and after the image correction processing performed by the image correction means with a predetermined determination reference amount;
When the change amount is smaller than the determination reference amount in the comparison result by the comparison unit, a print prohibition unit for prohibiting the print processing by the print control unit;
An image processing apparatus comprising:
前記印刷禁止手段は、印刷を行うか否かについてのユーザの意思を確認し、印刷を行う意思の場合には前記印刷処理の禁止を解除すること
を特徴とする請求項9に記載の画像処理装置。
The image processing according to claim 9, wherein the print prohibiting unit confirms a user's intention as to whether or not to perform printing, and cancels the prohibition of the printing process when the user intends to perform printing. apparatus.
前記印刷禁止手段は、ユーザの意思に従い前記印刷処理の禁止を解除した場合には、前記判定基準量を前記変化量に更新すること
を特徴とする請求項10に記載の画像処理装置。
The image processing apparatus according to claim 10, wherein the print prohibiting unit updates the determination reference amount to the change amount when the prohibition of the print processing is canceled according to a user's intention.
前記第1画像入力手段は、所定の読取位置にセットされた印刷媒体から光学的に読み取られる画像を複数の読取解像度で入力可能に構成されており、前記比較手段による比較に利用するための画像の読取解像度を、前記印刷制御手段による印刷処理に利用するための画像の読取解像度よりも低くすること
を特徴とする請求項9から請求項11までのいずれか1項に記載の画像処理装置。
The first image input means is configured to be able to input an image optically read from a printing medium set at a predetermined reading position at a plurality of reading resolutions, and is an image used for comparison by the comparison means The image processing apparatus according to any one of claims 9 to 11, wherein the image reading resolution is lower than an image reading resolution to be used for a printing process by the print control unit.
前記第1特徴量特定手段は、所定の条件により第1特徴量として複数の値を特定し、
前記第2特徴量特定手段は、前記第1特徴量特定手段と同じ条件により第2特徴量として複数の値を特定し、
前記画像補正手段は、前記第1特徴量として特定された複数の値と前記第2特徴量として特定された複数の値とから算出された各画素に対する補正値に従い、前記第2画像を構成する各画素に対して画像補正処理を行うこと
を特徴とする請求項1から請求項12までのいずれか1項に記載の画像処理装置。
The first feature value specifying means specifies a plurality of values as the first feature value according to a predetermined condition,
The second feature quantity specifying unit specifies a plurality of values as the second feature quantity under the same conditions as the first feature quantity specifying unit,
The image correcting unit configures the second image according to correction values for each pixel calculated from a plurality of values specified as the first feature value and a plurality of values specified as the second feature value. The image processing apparatus according to claim 1, wherein image correction processing is performed on each pixel.
所定の読取位置にセットされた印刷媒体から光学的に読み取られる第1画像を入力する第1画像入力手段と、
前記第1画像入力手段により入力された第1画像の特徴を表す第1特徴量を特定する第1特徴量特定手段と、
画像補正の対象とする画像である第2画像を入力する第2画像入力手段と、
前記第2画像入力手段により入力された第2画像の特徴を表す第2特徴量を特定する第2特徴量特定手段と、
前記第2特徴量特定手段により特定された第2特徴量を前記第1特徴量特定手段により特定された第1特徴量に近づけるように、前記第2画像に対する画像補正処理を行う画像補正手段と、
前記画像補正手段による画像補正処理が行われた第2画像を印刷するための印刷処理を行う印刷制御手段と、
前記読取位置に印刷媒体がセットされているか否かを前記第1画像入力手段により入力された画像に基づき判定する判定手段と、
前記判定手段により印刷媒体がセットされていないと判定された場合には、前記印刷制御手段による印刷処理を禁止する印刷禁止手段としてコンピュータを機能させること
を特徴とする画像処理プログラム。
First image input means for inputting a first image that is optically read from a print medium set at a predetermined reading position;
First feature amount specifying means for specifying a first feature amount representing a feature of the first image input by the first image input means;
Second image input means for inputting a second image which is an image to be subjected to image correction;
Second feature amount specifying means for specifying a second feature amount representing a feature of the second image input by the second image input means;
Image correcting means for performing image correction processing on the second image so that the second feature quantity specified by the second feature quantity specifying means approaches the first feature quantity specified by the first feature quantity specifying means; ,
Print control means for performing print processing for printing the second image that has been subjected to image correction processing by the image correction means;
Determination means for determining whether a print medium is set at the reading position based on an image input by the first image input means;
An image processing program that causes a computer to function as a print prohibiting unit that prohibits a print process by the print control unit when the determination unit determines that a print medium is not set.
第1画像を入力する第1画像入力手段と、
前記第1画像入力手段により入力された第1画像の特徴を表す第1特徴量を特定する第1特徴量特定手段と、
画像補正の対象とする画像である第2画像を入力する第2画像入力手段と、
前記第2画像入力手段により入力された第2画像の特徴を表す第2特徴量を特定する第2特徴量特定手段と、
前記第2特徴量特定手段により特定された第2特徴量を前記第1特徴量特定手段により特定された第1特徴量に近づけるように、前記第2画像に対する画像補正処理を行う画像補正手段と、
前記画像補正手段による画像補正処理が行われた第2画像を印刷するための印刷処理を行う印刷制御手段と、
前記画像補正手段により行われる画像補正処理の前後における前記第2画像の変化量と、所定の判定基準量と、を比較する比較手段と、
前記比較手段による比較結果において前記変化量が前記判定基準量よりも小さい場合には、前記印刷制御手段による印刷処理を禁止する印刷禁止手段としてコンピュータを機能させること
を特徴とする画像処理プログラム。
First image input means for inputting a first image;
First feature amount specifying means for specifying a first feature amount representing a feature of the first image input by the first image input means;
Second image input means for inputting a second image which is an image to be subjected to image correction;
Second feature amount specifying means for specifying a second feature amount representing a feature of the second image input by the second image input means;
Image correcting means for performing image correction processing on the second image so that the second feature quantity specified by the second feature quantity specifying means approaches the first feature quantity specified by the first feature quantity specifying means; ,
Print control means for performing print processing for printing the second image that has been subjected to image correction processing by the image correction means;
Comparison means for comparing a change amount of the second image before and after the image correction processing performed by the image correction means with a predetermined determination reference amount;
An image processing program that causes a computer to function as a print prohibiting unit that prohibits a printing process by the print control unit when the change amount in the comparison result by the comparing unit is smaller than the determination reference amount.
JP2007226090A 2007-08-31 2007-08-31 Image processing apparatus and image processing program Expired - Fee Related JP4793356B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2007226090A JP4793356B2 (en) 2007-08-31 2007-08-31 Image processing apparatus and image processing program
US12/202,986 US8284417B2 (en) 2007-08-31 2008-09-02 Image processing device capable of preventing needless printing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007226090A JP4793356B2 (en) 2007-08-31 2007-08-31 Image processing apparatus and image processing program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2011129828A Division JP5045836B2 (en) 2011-06-10 2011-06-10 Image processing apparatus and image processing program

Publications (2)

Publication Number Publication Date
JP2009060390A true JP2009060390A (en) 2009-03-19
JP4793356B2 JP4793356B2 (en) 2011-10-12

Family

ID=40406950

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007226090A Expired - Fee Related JP4793356B2 (en) 2007-08-31 2007-08-31 Image processing apparatus and image processing program

Country Status (2)

Country Link
US (1) US8284417B2 (en)
JP (1) JP4793356B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20230035041A1 (en) * 2021-07-30 2023-02-02 Takehiro Nakajima Image forming apparatus, image forming method, and non-transitory recording medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4576973B2 (en) * 2004-10-18 2010-11-10 ソニー株式会社 Printing control apparatus, image processing apparatus, printing apparatus, printing control method, and program
JP6915295B2 (en) * 2017-02-17 2021-08-04 富士フイルムビジネスイノベーション株式会社 Data processing equipment and data processing program

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05342344A (en) * 1992-06-08 1993-12-24 Canon Inc Method and system for picture processing
JPH07177366A (en) * 1993-12-17 1995-07-14 Canon Inc Color image processor
JPH07312720A (en) * 1994-05-16 1995-11-28 Nikon Corp Image reader
JP2000196904A (en) * 1998-12-29 2000-07-14 Canon Inc Color image forming device and method for generating lookup table
JP2005182143A (en) * 2003-12-16 2005-07-07 N Tech:Kk Inspection method for cap top surface
JP2005202469A (en) * 2004-01-13 2005-07-28 Fuji Xerox Co Ltd Image processor, image processing method and program
JP2006229811A (en) * 2005-02-21 2006-08-31 Noritsu Koki Co Ltd Photographic image processing method and photographic image processor

Family Cites Families (81)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0268499B1 (en) * 1986-11-20 1993-10-20 Konica Corporation Color image forming apparatus
JPH02260073A (en) * 1989-03-31 1990-10-22 Toshiba Corp Picture display device
EP0400991B1 (en) * 1989-05-31 1998-08-26 Canon Kabushiki Kaisha Color image processing apparatus
JPH0722337B2 (en) * 1990-01-08 1995-03-08 富士ゼロックス株式会社 Film image parameter extraction method in image processing apparatus
JP3126046B2 (en) 1991-10-28 2001-01-22 富士通株式会社 Color adjustment method and color adjustment device for color image
JPH05300531A (en) 1992-04-14 1993-11-12 Nippon Hoso Kyokai <Nhk> Method and device for correction of color
JP3304427B2 (en) 1992-10-14 2002-07-22 ソニー株式会社 Color image color shift correction device
US5680230A (en) * 1993-09-09 1997-10-21 Canon Kabushiki Kaisha Image processing method and apparatus thereof
US6434266B1 (en) * 1993-12-17 2002-08-13 Canon Kabushiki Kaisha Image processing method and apparatus for converting colors in a color image
US5715377A (en) * 1994-07-21 1998-02-03 Matsushita Electric Industrial Co. Ltd. Gray level correction apparatus
JP3147278B2 (en) * 1994-11-09 2001-03-19 キヤノン株式会社 Document detection method and apparatus
JPH08254407A (en) * 1995-03-15 1996-10-01 Omron Corp Automatic image reading width determination device
JPH09116740A (en) 1995-10-19 1997-05-02 Toppan Printing Co Ltd Automatic color tone correction device
JPH09172553A (en) 1995-12-19 1997-06-30 Toppan Printing Co Ltd Gradation correction device
US5734802A (en) * 1996-02-29 1998-03-31 Xerox Corporation Blended look-up table for printing images with both pictorial and graphical elements
JPH09284583A (en) 1996-04-17 1997-10-31 Toppan Printing Co Ltd Color correction device
JPH09325536A (en) 1996-05-31 1997-12-16 Nippon Syst House Kk Copying device and its control method
JPH10145583A (en) * 1996-11-14 1998-05-29 Casio Comput Co Ltd Image processor
JPH10149441A (en) 1996-11-20 1998-06-02 Casio Comput Co Ltd Picture processing method and device therefor
JPH10173947A (en) 1996-12-16 1998-06-26 Canon Inc Image processor and its method
JPH1198374A (en) 1997-09-24 1999-04-09 Konica Corp Method and device for correcting color
JPH11185034A (en) 1997-12-24 1999-07-09 Casio Comput Co Ltd Image data correction device and recording medium recording image data correction processing program
JPH11196258A (en) 1997-12-27 1999-07-21 Canon Inc Unit and method for processing image
JP3895492B2 (en) * 1998-03-13 2007-03-22 株式会社リコー Image processing apparatus, image processing method, and computer-readable recording medium storing program for causing computer to execute the method
US6603885B1 (en) * 1998-04-30 2003-08-05 Fuji Photo Film Co., Ltd. Image processing method and apparatus
US6801334B1 (en) * 1998-05-28 2004-10-05 Fuji Photo Film Co., Ltd. Index print producing method, image processing system, image processing method and image processing device
JP2000106623A (en) 1998-07-27 2000-04-11 Fuji Photo Film Co Ltd Image processing unit
JP2000083157A (en) * 1998-09-07 2000-03-21 Fuji Photo Film Co Ltd Image processing method and image processing unit
JP2000152268A (en) 1998-11-09 2000-05-30 Victor Co Of Japan Ltd Video signal processing unit
JP2001051062A (en) 1999-08-12 2001-02-23 Aloka Co Ltd Radiation measuring device and noise elimination method
JP3501031B2 (en) * 1999-08-24 2004-02-23 日本電気株式会社 Image region determination device, image region determination method, and storage medium storing program thereof
US7145597B1 (en) * 1999-10-28 2006-12-05 Fuji Photo Film Co., Ltd. Method and apparatus for image processing
JP3804819B2 (en) 1999-11-05 2006-08-02 富士写真フイルム株式会社 Printing system
JP4172122B2 (en) 1999-12-02 2008-10-29 ノーリツ鋼機株式会社 Color density correction method, recording medium having recorded color density correction program, image processing apparatus, and photographic printing apparatus
JP3820835B2 (en) * 2000-02-28 2006-09-13 コニカミノルタビジネステクノロジーズ株式会社 COLOR CORRECTION DEVICE, RECORDING MEDIUM, RECORDING DEVICE, AND COLOR CORRECTION METHOD
US20030091229A1 (en) * 2000-03-31 2003-05-15 Imation Corp. Color image display accuracy using comparison of complex shapes to reference background
JP2002171408A (en) 2000-12-01 2002-06-14 Fuji Photo Film Co Ltd Image processing method and image processing apparatus
JP4511066B2 (en) * 2001-03-12 2010-07-28 オリンパス株式会社 Imaging device
US7251056B2 (en) 2001-06-11 2007-07-31 Ricoh Company, Ltd. Image processing apparatus, image processing method and information recording medium
JP2003108987A (en) 2001-09-27 2003-04-11 Fuji Photo Film Co Ltd Image printer and image printing method
JP2003163801A (en) * 2001-11-26 2003-06-06 Fuji Xerox Co Ltd Apparatus, method, and program for image processing, and storage medium
JP3825740B2 (en) * 2001-12-07 2006-09-27 株式会社リコー Image processing apparatus, image processing method, and program executed by computer
JP3991196B2 (en) 2001-12-18 2007-10-17 富士ゼロックス株式会社 Image processing system and image processing server
US20040036892A1 (en) * 2002-02-22 2004-02-26 Tsukasa Ito Image processing method, image processing apparatus, image recording apparatus and recording medium
US20030193582A1 (en) * 2002-03-29 2003-10-16 Fuji Photo Film Co., Ltd. Method for storing an image, method and system for retrieving a registered image and method for performing image processing on a registered image
JP3814551B2 (en) 2002-03-29 2006-08-30 キヤノン株式会社 Server apparatus and control method thereof
JP4230730B2 (en) 2002-07-23 2009-02-25 パナソニック コミュニケーションズ株式会社 Image processing system and image processing method
US7283247B2 (en) * 2002-09-25 2007-10-16 Olympus Corporation Optical probe system
WO2004031991A1 (en) 2002-09-30 2004-04-15 Adobe Systems Incorporated Reduction of search ambiguity with multiple media references
US7215792B2 (en) * 2002-10-09 2007-05-08 Xerox Corporation Systems for spectral multiplexing of source images to provide a composite image with gray component replacement, for rendering the composite image, and for spectral demultiplexing of the composite image
JP4189959B2 (en) 2003-05-15 2008-12-03 株式会社リコー Image processing apparatus, image processing method, program, and recording medium
JP4087749B2 (en) 2003-05-26 2008-05-21 松下電器産業株式会社 Image processing system and image processing method
JP2005192158A (en) 2003-12-26 2005-07-14 Konica Minolta Photo Imaging Inc Image processing method, image processing apparatus, and image recording apparatus
JP4328956B2 (en) 2004-01-07 2009-09-09 富士フイルム株式会社 Method and apparatus for controlling digital camera
JP2005242535A (en) 2004-02-25 2005-09-08 Omron Corp Image correction device
US7646517B2 (en) * 2004-02-27 2010-01-12 Seiko Epson Corporation Image processing system and image processing method
JP4320272B2 (en) * 2004-03-31 2009-08-26 富士フイルム株式会社 Specific area detection method, specific area detection apparatus, and program
JP4579570B2 (en) 2004-04-20 2010-11-10 キヤノン株式会社 Shading method
US7508550B2 (en) * 2004-06-17 2009-03-24 Fujifilm Corporation Image correcting apparatus and method, and image correcting program, and look-up table creating apparatus and method, and look-up table creating program
JP2006013836A (en) * 2004-06-25 2006-01-12 Seiko Epson Corp Image data processing for processing color image data of color image
JP2006080746A (en) 2004-09-08 2006-03-23 Nikon Corp Image processor, electronic camera, and image processing program
JP4549352B2 (en) * 2004-09-30 2010-09-22 富士フイルム株式会社 Image processing apparatus and method, and image processing program
EP1648158A1 (en) 2004-10-18 2006-04-19 Thomson Licensing Device and method for colour correction of an input image
JP4275053B2 (en) * 2004-11-19 2009-06-10 シャープ株式会社 Image recording device
JP4325552B2 (en) * 2004-12-24 2009-09-02 セイコーエプソン株式会社 Image processing apparatus, image processing method, and image processing program
JP2006229537A (en) 2005-02-17 2006-08-31 Fuji Photo Film Co Ltd Color correcting device and color correcting program
JP2006303899A (en) * 2005-04-20 2006-11-02 Fuji Photo Film Co Ltd Image processor, image processing system, and image processing program
JP4561465B2 (en) * 2005-05-13 2010-10-13 ブラザー工業株式会社 Image editing device
JP4795718B2 (en) * 2005-05-16 2011-10-19 富士フイルム株式会社 Image processing apparatus and method, and program
US7623712B2 (en) * 2005-06-09 2009-11-24 Canon Kabushiki Kaisha Image processing method and apparatus
US7864347B2 (en) * 2005-06-27 2011-01-04 Xerox Corporation Systems and methods that provide custom region scan with preview image on a multifunction device
JP2007028529A (en) * 2005-07-21 2007-02-01 Fuji Xerox Co Ltd Information recording system, information reproducing system, and information recording and reproducing system
JP2007088782A (en) * 2005-09-21 2007-04-05 Ricoh Co Ltd Image processing apparatus, image processing method and image processing program
US20070070436A1 (en) 2005-09-23 2007-03-29 Kabushiki Kaisha Toshiba Image forming apparatus and method of controlling the apparatus
US20070080973A1 (en) * 2005-10-12 2007-04-12 Jurgen Stauder Device and method for colour correction of an input image
JP4725336B2 (en) * 2006-01-30 2011-07-13 ブラザー工業株式会社 Image processing apparatus and image processing program
JP2007208413A (en) * 2006-01-31 2007-08-16 Olympus Corp Color correction apparatus, color correction method, and color correction program
JP4799246B2 (en) * 2006-03-30 2011-10-26 キヤノン株式会社 Image processing method and image processing apparatus
JP4878572B2 (en) * 2007-03-30 2012-02-15 キヤノン株式会社 Image processing apparatus and image processing method
JP4442664B2 (en) * 2007-08-31 2010-03-31 ブラザー工業株式会社 Image processing apparatus, image processing method, and image processing program
US8154778B2 (en) * 2007-11-15 2012-04-10 Sharp Laboratories Of America, Inc Systems and methods for color correction processing and notification for digital image data generated from a document image

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05342344A (en) * 1992-06-08 1993-12-24 Canon Inc Method and system for picture processing
JPH07177366A (en) * 1993-12-17 1995-07-14 Canon Inc Color image processor
JPH07312720A (en) * 1994-05-16 1995-11-28 Nikon Corp Image reader
JP2000196904A (en) * 1998-12-29 2000-07-14 Canon Inc Color image forming device and method for generating lookup table
JP2005182143A (en) * 2003-12-16 2005-07-07 N Tech:Kk Inspection method for cap top surface
JP2005202469A (en) * 2004-01-13 2005-07-28 Fuji Xerox Co Ltd Image processor, image processing method and program
JP2006229811A (en) * 2005-02-21 2006-08-31 Noritsu Koki Co Ltd Photographic image processing method and photographic image processor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20230035041A1 (en) * 2021-07-30 2023-02-02 Takehiro Nakajima Image forming apparatus, image forming method, and non-transitory recording medium
US11729341B2 (en) 2021-07-30 2023-08-15 Ricoh Company, Ltd. Image forming apparatus, image forming method, and non-transitory recording medium

Also Published As

Publication number Publication date
JP4793356B2 (en) 2011-10-12
US20090059257A1 (en) 2009-03-05
US8284417B2 (en) 2012-10-09

Similar Documents

Publication Publication Date Title
EP2670125B1 (en) Image processing device correcting color of border region between object and background in image
JP4442664B2 (en) Image processing apparatus, image processing method, and image processing program
US8559062B2 (en) Image processing apparatus, image forming apparatus, image processing method and computer readable medium for controlling toner consumption
JP2010093684A (en) Image processor
WO2015122102A1 (en) Image processing apparatus, image processing system, image processing method, and recording medium
JP4329797B2 (en) Image color determination apparatus, image color determination method, and program
KR20120019641A (en) Image forming apparatus and method for processing image thereof
JP4793356B2 (en) Image processing apparatus and image processing program
JP4433017B2 (en) Image processing apparatus and image processing program
JP4985243B2 (en) Image processing apparatus and image processing program
JP4389977B2 (en) Image printing apparatus, image printing method, and image printing program
JP5045836B2 (en) Image processing apparatus and image processing program
JP4748796B2 (en) Image processing apparatus and image processing method.
US8159716B2 (en) Image processing device performing image correction by using a plurality of sample images
US8094343B2 (en) Image processor
JP4840295B2 (en) Image processing apparatus and image processing program
JP4442663B2 (en) Image processing apparatus and image processing program
JP4442665B2 (en) Image processing apparatus and image processing program
JP6204292B2 (en) Image forming apparatus
JP2009060432A (en) Image processor, image processing method, and image processing print program
JP2005142740A (en) Ink jet original discriminating method, image processing apparatus, image reading apparatus, image forming apparatus, ink jet original discriminating program and recording medium
JP2008113316A (en) Image processor
JP2011097479A (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium with image processing program recorded thereon

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100113

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110302

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110412

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110610

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110628

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110711

R150 Certificate of patent or registration of utility model

Ref document number: 4793356

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140805

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees