JP2013098618A - Image processing apparatus - Google Patents

Image processing apparatus Download PDF

Info

Publication number
JP2013098618A
JP2013098618A JP2011237079A JP2011237079A JP2013098618A JP 2013098618 A JP2013098618 A JP 2013098618A JP 2011237079 A JP2011237079 A JP 2011237079A JP 2011237079 A JP2011237079 A JP 2011237079A JP 2013098618 A JP2013098618 A JP 2013098618A
Authority
JP
Japan
Prior art keywords
color
target color
target
unit
image
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
JP2011237079A
Other languages
Japanese (ja)
Other versions
JP5502054B2 (en
Inventor
Mitsuko Nishiura
美都子 西浦
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.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Document Solutions Inc
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 Kyocera Document Solutions Inc filed Critical Kyocera Document Solutions Inc
Priority to JP2011237079A priority Critical patent/JP5502054B2/en
Priority to CN201210376994.8A priority patent/CN103095965B/en
Priority to EP12189472.9A priority patent/EP2587787B1/en
Priority to KR1020120119009A priority patent/KR101453612B1/en
Priority to US13/661,648 priority patent/US8760720B2/en
Publication of JP2013098618A publication Critical patent/JP2013098618A/en
Application granted granted Critical
Publication of JP5502054B2 publication Critical patent/JP5502054B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an image processing apparatus capable of easily setting desired color correction.SOLUTION: A pixel extraction part 401 extracts a pixel which belongs to a color range specified in advance from correction target image data. A target color selection receiving part 403 receives selection of a target color by a user from plural target colors stored in a target color holding part 402. A color correction execution part 404 executes color correction to image data to be corrected based on a pixel color extracted by the pixel extraction part 401 and a target color selected through the target color selection receiving part 403. The target color extract part 406 extracts a target color to be registered from image data for target color registration held in a registration image holding part 405. A target color registration part 408 registers in the target color holding part 402 the target color to be registered extracted by the target color extract part 406 in association with a new color range input to a color range input part 407.

Description

本発明は、画像データに対して色補正を実施する画像処理装置に関する。   The present invention relates to an image processing apparatus that performs color correction on image data.

近年、複写機や複合機等の画像形成装置ではカラー印刷可能な機器が一般化している。この種の画像形成装置は、例えば、C(シアン)、M(マゼンタ)、Y(イエロー)、K(ブラック)の4色のトナーやインク等の記録剤の組み合わせによりカラー印刷を実現する。   In recent years, devices capable of color printing have become common in image forming apparatuses such as copiers and multifunction peripherals. This type of image forming apparatus realizes color printing by combining, for example, four color toners and inks such as C (cyan), M (magenta), Y (yellow), and K (black).

このような画像形成装置の多くは、画像データに対して色補正を行う機能を有している。そもそも、画像形成装置には、元原稿の色彩を忠実に再現することが要求されるが、近年、写真等を含む画像の印刷がされるようになり、色彩を人が好ましいと感じる色に変換させることも求められ始めたからである。人が好ましいと感じる色に色彩を変換させるとは、具体的には、いわゆる記憶色を再現することを意味する。記憶色とは、例えば、人の肌、空の青、草木の緑、夕日の赤等の色であり、元原稿に忠実な色の再現を行うよりも、人間が記憶している色に近い色の再現を好ましく感じる色である。   Many of such image forming apparatuses have a function of performing color correction on image data. In the first place, image forming apparatuses are required to faithfully reproduce the colors of the original document, but in recent years, images including photographs have been printed, and the colors are converted to colors that people feel desirable. This is because it has begun to be requested. Specifically, converting a color into a color that a person feels preferable means to reproduce a so-called memory color. Memory colors are, for example, human skin, blue sky, green vegetation, red sunset, etc., and are closer to colors stored by humans than to reproduce colors that are faithful to the original. It is a color that favors color reproduction.

このような記憶色は、好まれる色に個人差がある。そのため、画像形成装置において、好ましいと感じる色を適切に提供するための手法が種々提案されている(例えば、特許文献1−3等参照。)。   Such memory colors have individual differences in preferred colors. For this reason, various methods have been proposed for appropriately providing colors that are felt to be preferable in the image forming apparatus (for example, see Patent Documents 1-3).

例えば、後掲の特許文献1は、色合いを少しずつ変化させた複数のサムネイル画像からなる色調整用画像を印刷し、当該印刷された色調整用画像から選択したサムネイル画像を特定する番号を入力させることでユーザに好ましい色補正を選択させ、当該色補正を画像処理に反映させる画像処理装置を開示している。   For example, Patent Document 1 described later prints a color adjustment image composed of a plurality of thumbnail images whose hues are changed little by little, and inputs a number for specifying a thumbnail image selected from the printed color adjustment images. An image processing apparatus is disclosed that allows a user to select a preferred color correction and reflect the color correction in image processing.

また、特許文献2および特許文献3は、同一画像に対して異なる色補正を実施した複数の画像を同一画面に表示させ、当該画像を選択することにより色補正条件をユーザに選択させる技術を開示している。   Patent Document 2 and Patent Document 3 disclose a technique for causing a user to select a color correction condition by displaying a plurality of images on which the same image is subjected to different color corrections on the same screen and selecting the images. doing.

特開2009−200741号公報Japanese Unexamined Patent Publication No. 2009-200741 特開平11−032227号公報Japanese Patent Laid-Open No. 11-032227 特開平11−098374号公報JP-A-11-098374

特許文献1−3が開示する技術では、提示された色補正候補に好ましい色補正が含まれていればユーザはその色補正を容易に選択することができる。しかしながら、提示された色補正候補に好ましい色補正が含まれていない場合、その好ましい色補正を得るために複雑な操作等が必要になり、ユーザは所望の色補正を容易に設定することができない。   With the technology disclosed in Patent Literatures 1-3, if a preferred color correction is included in the presented color correction candidates, the user can easily select the color correction. However, when a preferred color correction is not included in the presented color correction candidates, a complicated operation or the like is required to obtain the preferred color correction, and the user cannot easily set a desired color correction. .

本発明は、このような従来技術の課題を鑑みてなされたものであり、所望の色補正を容易に設定できる画像処理装置を提供することを目的とする。   The present invention has been made in view of the above-described problems of the prior art, and an object thereof is to provide an image processing apparatus capable of easily setting desired color correction.

上述の目的を達成するために、本発明に係る画像処理装置は以下の技術的手段を採用している。すなわち、本発明は、画像データに対して色補正を実施する画像処理装置であって、画素抽出部、目標色保持部、目標色選択受付部、色補正実施部、登録用画像保持部、目標色抽出部、色範囲入力部および目標色登録部を備える。画素抽出部は、補正対象の画像データから、予め指定された色範囲に属する画素を抽出する。目標色保持部は、予め指定された色範囲と対応づけて複数の目標色を格納する。目標色選択受付部は、目標色保持部に格納された複数の目標色から、ユーザによる1の目標色の選択を受け付ける。色補正実施部は、画素抽出部により抽出された画素の色と目標色選択受付部を通じて選択された目標色とに基づいて、補正対象の画像データに対して色補正を実施する。登録用画像保持部は、登録対象の目標色を含む画像データを保持する。目標色抽出部は、登録用画像保持部に保持された画像データから登録対象の目標色を抽出する。目標色抽出部により抽出された登録対象の目標色と対応づける新たな色範囲は色範囲入力部に入力される。目標色登録部は、目標色抽出部により抽出された登録対象の目標色を、色範囲入力部に入力された新たな色範囲と対応づけて目標色保持部に登録する。   In order to achieve the above object, the image processing apparatus according to the present invention employs the following technical means. That is, the present invention is an image processing apparatus that performs color correction on image data, and includes a pixel extraction unit, a target color holding unit, a target color selection receiving unit, a color correction performing unit, a registration image holding unit, a target A color extraction unit, a color range input unit, and a target color registration unit are provided. The pixel extraction unit extracts pixels belonging to a color range designated in advance from the image data to be corrected. The target color holding unit stores a plurality of target colors in association with a color range designated in advance. The target color selection receiving unit receives selection of one target color by the user from a plurality of target colors stored in the target color holding unit. The color correction execution unit performs color correction on the image data to be corrected based on the pixel color extracted by the pixel extraction unit and the target color selected through the target color selection receiving unit. The registration image holding unit holds image data including a target color to be registered. The target color extraction unit extracts a target color to be registered from the image data held in the registration image holding unit. The new color range associated with the registration target color extracted by the target color extraction unit is input to the color range input unit. The target color registration unit registers the target color to be registered extracted by the target color extraction unit in the target color holding unit in association with the new color range input to the color range input unit.

この画像処理装置によれば、画像データを使用して目標色を登録することができる。すなわち、ユーザが視覚を通じて確認した画像中に含まれる色を、目標色として登録することができる。また、登録対象の目標色へ色補正する対象となる色範囲を設定することができる。そのため、画像処理装置に設定されていない記憶色等の色であっても、ユーザの好みの色を目標色として登録することができる。その結果、色補正を実施する際には、ユーザは、好みの色への色補正を容易に実施することができる。   According to this image processing apparatus, the target color can be registered using the image data. That is, the color included in the image visually confirmed by the user can be registered as the target color. In addition, it is possible to set a color range to be subjected to color correction to a target color to be registered. Therefore, even a color such as a memory color that is not set in the image processing apparatus can register a user's favorite color as a target color. As a result, when color correction is performed, the user can easily perform color correction to a favorite color.

この画像処理装置において、目標色抽出部は、予め指定された画像データの領域内の画素を抽出し、当該抽出した画素の色を登録対象目標色の候補として表示するとともにユーザによる登録対象目標色の選択を受け付ける構成であってもよい。この構成では、目標色の登録に使用される画像データに複数の色が含まれている場合、ユーザは、提示された目標色の候補から所望の目標色を選択することができる。すなわち、ユーザの好みの色を極めて容易にかつ確実に目標色として登録することができる。   In this image processing apparatus, the target color extraction unit extracts pixels in a region of image data designated in advance, displays the color of the extracted pixels as candidates for a registration target target color, and registers the target color to be registered by the user. It may be configured to accept the selection. In this configuration, when a plurality of colors are included in the image data used for registering the target color, the user can select a desired target color from the presented target color candidates. That is, the user's favorite color can be registered as a target color very easily and reliably.

また、上記画像処理装置は、目標色抽出部により抽出された登録対象の目標色が目標色保持部に既登録の色範囲に属するか否かを判定する判定部をさらに備えてもよい。この場合、判定部により既登録の色範囲に属さないと判定された場合に、目標色登録部が、目標色抽出部により抽出された登録対象の目標色を、色範囲入力部に入力された新たな色範囲と対応づけて目標色保持部に登録する。あるいは、上記画像処理装置は、目標色抽出部により抽出された登録対象の目標色が目標色保持部に既登録の目標色に対して予め指定された色差条件を満足するか否かを判定する判定部をさらに備えてもよい。この場合、判定部により色差条件を満足すると判定された場合に、目標色登録部が、目標色抽出部により抽出された登録対象の目標色を、色範囲入力部に入力された新たな色範囲と対応づけて目標色保持部に登録する。色差条件としては、例えば、目標色保持部に既に格納されている目標色と登録対象目標色とのCIE Lh色空間における色差が所定値以上であること等を使用することができる。 The image processing apparatus may further include a determination unit that determines whether the target color to be registered extracted by the target color extraction unit belongs to a color range already registered in the target color holding unit. In this case, when the determination unit determines that the color does not belong to the already registered color range, the target color registration unit inputs the target color to be registered extracted by the target color extraction unit to the color range input unit The new color range is registered in the target color holding unit in association with the new color range. Alternatively, the image processing apparatus determines whether the registration target color extracted by the target color extraction unit satisfies a color difference condition specified in advance for the target color already registered in the target color holding unit. You may further provide the determination part. In this case, when the determination unit determines that the color difference condition is satisfied, the target color registration unit uses the target color to be registered extracted by the target color extraction unit as a new color range input to the color range input unit. Are registered in the target color holding unit. As the color difference condition, for example, the color difference between the target color already stored in the target color holding unit and the registration target target color in the CIE L * C * h color space can be used. .

これらの構成では、色空間における色差の小さい近似の目標色が異なる色範囲の目標色として登録されることがない。その結果、色補正を実施する際に、近似した多数の色範囲がユーザに提示され、色補正の選択が困難な状況になることを防止できる。   In these configurations, an approximate target color having a small color difference in the color space is not registered as a target color in a different color range. As a result, when performing color correction, it is possible to prevent a situation where it is difficult to select color correction because a number of approximate color ranges are presented to the user.

本発明によれば、ユーザは、画像処理装置に所望の色補正を容易に設定することができる。また、所望の色補正を容易に実施することができる。   According to the present invention, the user can easily set desired color correction in the image processing apparatus. In addition, desired color correction can be easily performed.

本発明の一実施形態における複合機の全体構成を示す概略構成図1 is a schematic configuration diagram showing the overall configuration of a multifunction machine according to an embodiment of the present invention. 本発明の一実施形態における複合機の操作パネルを示す模式図1 is a schematic diagram showing an operation panel of a multifunction machine according to an embodiment of the present invention. 本発明の一実施形態における複合機のハードウェア構成を示す図The figure which shows the hardware constitutions of the multifunctional device in one Embodiment of this invention. 本発明の一実施形態における複合機を示す機能ブロック図1 is a functional block diagram showing a multifunction machine according to an embodiment of the present invention. 本発明の一実施形態における複合機が実施する色補正手順の一例を示すフロー図FIG. 3 is a flowchart illustrating an example of a color correction procedure performed by the multifunction peripheral according to the embodiment of the present invention. 本発明の一実施形態における複合機が表示する色範囲選択画面の一例を示す図The figure which shows an example of the color range selection screen which the multifunctional machine in one Embodiment of this invention displays 本発明の一実施形態における複合機が表示する目標色選択画面の一例を示す図The figure which shows an example of the target color selection screen which the multifunctional device in one Embodiment of this invention displays 本発明の一実施形態における複合機が実施する目標色登録手順の一例を示すフロー図The flowchart which shows an example of the target color registration procedure which the multifunctional machine in one Embodiment of this invention implements 本発明の一実施形態における複合機が表示する目標色位置指定画面の一例を示す図The figure which shows an example of the target color position designation | designated screen which the multifunctional device in one Embodiment of this invention displays 本発明の一実施形態における複合機が表示する色範囲入力画面の一例を示す図The figure which shows an example of the color range input screen which the multifunctional device in one Embodiment of this invention displays 本発明の一実施形態における複合機が表示する色範囲選択画面の一例を示す図The figure which shows an example of the color range selection screen which the multifunctional machine in one Embodiment of this invention displays 本発明の一実施形態における複合機が表示する目標色選択画面の一例を示す図The figure which shows an example of the target color selection screen which the multifunctional device in one Embodiment of this invention displays

以下、本発明の一実施形態について、図面を参照しながらより詳細に説明する。以下では、デジタル複合機として本発明を具体化する。   Hereinafter, an embodiment of the present invention will be described in more detail with reference to the drawings. In the following, the present invention is embodied as a digital multifunction machine.

図1は本実施形態におけるデジタル複合機の全体構成の一例を示す概略構成図である。図1に示すように、複合機100は、画像読取部120および画像形成部140を含む本体101と、本体101の上方に取り付けられたプラテンカバー102とを備える。本体101の上面には原稿台103が設けられており、原稿台103はプラテンカバー102によって開閉されるようになっている。また、プラテンカバー102は、原稿搬送装置110を備えている。   FIG. 1 is a schematic configuration diagram illustrating an example of the overall configuration of a digital multifunction peripheral according to the present embodiment. As shown in FIG. 1, the multifunction peripheral 100 includes a main body 101 including an image reading unit 120 and an image forming unit 140, and a platen cover 102 attached above the main body 101. A document table 103 is provided on the upper surface of the main body 101, and the document table 103 is opened and closed by a platen cover 102. Further, the platen cover 102 includes a document conveying device 110.

原稿台103の下方には、画像読取部120が設けられている。画像読取部120は、走査光学系121により原稿の画像を読み取りその画像のデジタルデータ(画像データ)を生成する。原稿は、原稿台103や原稿搬送装置110に載置することができる。走査光学系121は、第1キャリッジ122や第2キャリッジ123、集光レンズ124を備える。第1キャリッジ122には線状の光源131およびミラー132が設けられ、第2キャリッジ123にはミラー133および134が設けられている。光源131は原稿を照明する。ミラー132、133、134は、原稿からの反射光を集光レンズ124に導き、集光レンズ124はその光像をラインイメージセンサ125の受光面に結像する。   An image reading unit 120 is provided below the document table 103. The image reading unit 120 reads an image of a document with the scanning optical system 121 and generates digital data (image data) of the image. The document can be placed on the document table 103 or the document transport device 110. The scanning optical system 121 includes a first carriage 122, a second carriage 123, and a condenser lens 124. The first carriage 122 is provided with a linear light source 131 and a mirror 132, and the second carriage 123 is provided with mirrors 133 and 134. The light source 131 illuminates the document. The mirrors 132, 133, and 134 guide reflected light from the document to the condenser lens 124, and the condenser lens 124 forms an optical image on the light receiving surface of the line image sensor 125.

この走査光学系121において、第1キャリッジ122および第2キャリッジ123は、副走査方向135に往復動可能に設けられている。第1キャリッジ122および第2キャリッジ123を副走査方向135に移動することによって、原稿台103に載置された原稿の画像をイメージセンサ125で読み取ることができる。原稿搬送装置110にセットされた原稿の画像を読み取る場合、画像読取部120は、第1キャリッジ122および第2キャリッジ123を画像読取位置に合わせて一時的に固定し、画像読取位置を通過する原稿の画像をイメージセンサ125で読み取る。イメージセンサ125は、受光面に入射した光像から、例えば、R(レッド)、G(グリーン)、B(ブルー)の各色に対応する原稿の画像データを生成する。生成された画像データは、画像形成部140において用紙に印刷することができる。また、ネットワークアダプタ161によりネットワーク162を通じて他の機器(図示せず)へ送信することもできる。   In the scanning optical system 121, the first carriage 122 and the second carriage 123 are provided so as to be able to reciprocate in the sub-scanning direction 135. By moving the first carriage 122 and the second carriage 123 in the sub-scanning direction 135, the image of the document placed on the document table 103 can be read by the image sensor 125. When reading an image of a document set on the document conveying device 110, the image reading unit 120 temporarily fixes the first carriage 122 and the second carriage 123 according to the image reading position, and passes the image reading position. Are read by the image sensor 125. The image sensor 125 generates image data of a document corresponding to, for example, each color of R (red), G (green), and B (blue) from the light image incident on the light receiving surface. The generated image data can be printed on paper in the image forming unit 140. Further, the data can be transmitted to another device (not shown) through the network 162 by the network adapter 161.

画像形成部140は、画像読取部120で得た画像データや、ネットワーク162に接続された他の機器(図示せず)から受信した画像データを用紙に印刷する。画像形成部140は、感光体ドラム141を備える。感光体ドラム141は一定速度で一方向に回転する。感光体ドラム141の周囲には、回転方向の上流側から順に、帯電器142、露光器143、現像器144、中間転写ベルト145が配置されている。帯電器142は、感光体ドラム141表面を一様に帯電させる。露光器143は、一様に帯電した感光体ドラム141の表面に、画像データに応じて光を照射し、感光体ドラム141上に静電潜像を形成する。現像器144は、その静電潜像にトナーを付着させ、感光体ドラム141上にトナー像を形成する。中間転写ベルト145は、感光体ドラム141上のトナー像を用紙に転写する。画像データがカラー画像である場合、中間転写ベルト145は、各色のトナー像を同一の用紙に転写する。なお、RGB形式のカラー画像は、C(シアン)、M(マゼンタ)、Y(イエロー)、K(ブラック)形式の画像データに変換され、各色の画像データが露光器143に入力される。   The image forming unit 140 prints image data obtained by the image reading unit 120 or image data received from another device (not shown) connected to the network 162 on a sheet. The image forming unit 140 includes a photosensitive drum 141. The photosensitive drum 141 rotates in one direction at a constant speed. Around the photosensitive drum 141, a charger 142, an exposure unit 143, a developing unit 144, and an intermediate transfer belt 145 are arranged in this order from the upstream side in the rotation direction. The charger 142 uniformly charges the surface of the photosensitive drum 141. The exposure device 143 irradiates the surface of the uniformly charged photoconductor drum 141 with light according to the image data, and forms an electrostatic latent image on the photoconductor drum 141. The developing device 144 attaches toner to the electrostatic latent image and forms a toner image on the photosensitive drum 141. The intermediate transfer belt 145 transfers the toner image on the photosensitive drum 141 onto a sheet. When the image data is a color image, the intermediate transfer belt 145 transfers each color toner image onto the same sheet. The RGB color image is converted into C (cyan), M (magenta), Y (yellow), and K (black) format image data, and the image data of each color is input to the exposure unit 143.

画像形成部140は、手差しトレイ151、給紙カセット152、153、154等から、中間転写ベルト145と転写ローラ146との間の転写部に用紙を給送する。手差しトレイ151や各給紙カセット152、153、154には、様々なサイズの用紙を載置または収容することができる。画像形成部140は、ユーザの指定した用紙や、自動検知した原稿のサイズに応じた用紙を選択し、選択した用紙を給送ローラ155により手差しトレイ151やカセット152、153、154から給紙する。給紙された用紙は搬送ローラ156やレジストローラ157で転写部に搬送する。トナー像を転写した用紙は、搬送ベルト147により定着器148に搬送される。定着器148は、ヒータを内蔵した定着ローラ158および加圧ローラ159を有しており、熱と押圧力によってトナー像を用紙に定着する。画像形成部140は、定着器148を通過した用紙を排紙トレイ149へ排紙する。   The image forming unit 140 feeds paper from the manual feed tray 151, the paper feed cassettes 152, 153, and 154 to the transfer unit between the intermediate transfer belt 145 and the transfer roller 146. Various sizes of paper can be placed or stored in the manual feed tray 151 and the paper feed cassettes 152, 153, and 154. The image forming unit 140 selects a sheet specified by the user or a sheet corresponding to the automatically detected document size, and feeds the selected sheet from the manual feed tray 151 or the cassettes 152, 153, and 154 by the feeding roller 155. . The fed paper is transported to the transfer section by transport rollers 156 and registration rollers 157. The sheet on which the toner image is transferred is conveyed to the fixing device 148 by the conveyance belt 147. The fixing device 148 has a fixing roller 158 and a pressure roller 159 with a built-in heater, and fixes the toner image on the sheet by heat and pressing force. The image forming unit 140 discharges the sheet that has passed through the fixing device 148 to the discharge tray 149.

図2は複合機が備える操作パネルの外観の一例を示す図である。ユーザは、操作パネル200を用いて、複合機100に複写開始やその他の指示を与えたり、複合機100の状態や設定を確認したりすることができる。操作パネル200には、タッチパネル付きディスプレイ201や操作キー203が配置されている。ディスプレイ201は、操作ボタンやメッセージ等を表示する液晶ディスプレイ等からなる表示面と、当該表示面上の押圧位置を検出するセンサとを備える。押圧位置の検知方法は特に限定されない。抵抗膜方式、静電容量方式、表面弾性波方式、電磁波方式等、任意の方式を採用することができる。ユーザは、自身の指やタッチペン202を使用して、ディスプレイ201を通じて入力を行うことができる。   FIG. 2 is a diagram illustrating an example of an appearance of an operation panel included in the multifunction peripheral. The user can use the operation panel 200 to give the MFP 100 a start of copying and other instructions, and to confirm the status and settings of the MFP 100. On the operation panel 200, a display 201 with a touch panel and operation keys 203 are arranged. The display 201 includes a display surface including a liquid crystal display that displays operation buttons, messages, and the like, and a sensor that detects a pressed position on the display surface. The detection method of a press position is not specifically limited. Any method such as a resistance film method, a capacitance method, a surface acoustic wave method, and an electromagnetic wave method can be employed. The user can input through the display 201 using his / her finger or the touch pen 202.

ディスプレイ201は、ボタン表示部204、メッセージ表示部205およびステータス表示部206を有する操作画面を表示する。ボタン表示部204には、複数のタブ208が用意されており、各タブにはそのタブのカテゴリーに応じた操作ボタンが配列されている。「簡単設定」タブは、基本的な設定に使用される操作ボタンを有する。図2の例では、用紙サイズ、複写倍率、濃度、印刷面、ページ集約、後処理を設定するための操作ボタンが配列されている。例えば「濃度」ボタン207を押圧する操作をユーザが行うと、濃度を選択するための「薄い」、「ふつう」、「濃い」等の選択ボタンを有するポップアップ画面がその操作ボタン上に重ねて表示され、ユーザの選択(押圧)によりその濃度が設定される。図2の例では、「簡単設定」タブの他、「原稿/用紙/仕上げ」タブ、「カラー/画質」タブ、「レイアウト/編集」タブ、「応用/その他」タブも設けられている。ユーザは、タブボタン208を選択する操作を行うことによって、これらのタブの表示に切り替えることができる。一つのタブが選択されている間、操作画面上で他のタブやその要素は隠れている。なお、この複合機100では、後述する色補正は、「カラー/画質」タブに含まれる「ワンタッチ画質調整」ボタンの押圧により実行可能になる。また、後述する目標色登録は、「カラー/画質」タブに含まれる「目標色登録」ボタンの押圧により実行可能になる。   The display 201 displays an operation screen having a button display unit 204, a message display unit 205, and a status display unit 206. A plurality of tabs 208 are prepared in the button display unit 204, and operation buttons corresponding to the tab category are arranged on each tab. The “easy setting” tab has operation buttons used for basic setting. In the example of FIG. 2, operation buttons for setting paper size, copy magnification, density, printing surface, page aggregation, and post-processing are arranged. For example, when the user performs an operation of pressing the “density” button 207, a pop-up screen having selection buttons such as “light”, “normal”, and “dark” for selecting the density is displayed over the operation button. The density is set by the user's selection (pressing). In the example of FIG. 2, in addition to the “easy setting” tab, a “document / paper / finish” tab, a “color / image quality” tab, a “layout / edit” tab, and an “application / others” tab are also provided. The user can switch to the display of these tabs by performing an operation of selecting the tab button 208. While one tab is selected, other tabs and their elements are hidden on the operation screen. In the multi-function device 100, color correction described later can be executed by pressing a “one-touch image quality adjustment” button included in the “color / image quality” tab. Further, target color registration described later can be executed by pressing a “target color registration” button included in the “color / image quality” tab.

メッセージ表示部205には、複写が可能か否か、複写部数などの設定をユーザに通知するメッセージが表示される。また、ステータス表示部206には、必要に応じて装置ステータス情報が表示される。この表示には、複合機100が備える各種センサの検知結果が反映される。装置ステータス情報とは、装置は動作可能な状態にあるが、異常への対応を促す警告をユーザに通知するメッセージを意味する。例えば、用紙残量が少ない旨、原稿台103が汚れている旨、ファクシミリのメモリ受信が設定されている場合にファックス文書がメモリに格納された旨等が含まれる。また、用紙切れや搬送ジャム等が装置ステータス情報に含まれてもよい。   The message display unit 205 displays a message notifying the user of settings such as whether copying is possible and the number of copies. The status display unit 206 displays device status information as necessary. In this display, detection results of various sensors included in the multifunction peripheral 100 are reflected. The device status information means a message that notifies the user of a warning that prompts the user to respond to an abnormality although the device is in an operable state. For example, the fact that the remaining amount of paper is low, the document platen 103 is dirty, and the facsimile document is stored in the memory when the facsimile memory reception is set is included. Further, the device status information may include out-of-paper, conveyance jam, and the like.

操作キー203は、主電源キー209、テンキー210やスタートキー211、クリアキー212等を含む。例えば、電源キー209は、複合機100のON、OFFの切り替えに使用される。テンキー210は、複写部数の指定や複写倍率の設定に用いることができる。ユーザがそれらの設定をすると、複合機100は、メッセージ表示部205に、例えば、「コピーできます(設定あり)」のようなメッセージを表示し、ユーザによる設定が行われたことを通知する。スタートキー211は、複写や画像印刷の開始指示に使用される。ユーザは、自身でした設定を解除する場合、クリアキー212を操作する。ユーザによる設定を機械が受け付けているかどうかは上述のメッセージで判断することができるので、その設定が不要になればクリアキー212を操作すればよい。   The operation keys 203 include a main power key 209, a numeric keypad 210, a start key 211, a clear key 212, and the like. For example, the power key 209 is used to switch the MFP 100 on and off. The numeric keypad 210 can be used for specifying the number of copies and setting the copy magnification. When the user makes these settings, the multi-function device 100 displays a message such as “Can be copied (with settings)” on the message display unit 205 to notify the user that the settings have been made. The start key 211 is used for a start instruction for copying or image printing. The user operates the clear key 212 when canceling the setting made by the user. Since whether or not the machine accepts the setting by the user can be determined by the above-described message, the clear key 212 may be operated if the setting becomes unnecessary.

図3は、複合機における制御系のハードウェア構成図である。本実施形態の複合機100は、CPU(Central Processing Unit)301、RAM(Random Access Memory)302、ROM(Read Only Memory)303、HDD(Hard Disk Drive)304および原稿搬送装置110、画像読取部120、画像形成部140における各駆動部に対応するドライバ305が内部バス306を介して接続されている。ROM303やHDD304等はプログラムを格納しており、CPU301はその制御プログラムの指令にしたがって複合機100を制御する。例えば、CPU301はRAM302を作業領域として利用し、ドライバ305とデータや命令を授受することにより上記各駆動部の動作を制御する。また、HDD304は、画像読取部120により得られた画像データや、他の機器からネットワークアダプタ161を通じて受信した画像データの蓄積にも用いられる。   FIG. 3 is a hardware configuration diagram of a control system in the multifunction machine. The multifunction peripheral 100 according to the present embodiment includes a CPU (Central Processing Unit) 301, a RAM (Random Access Memory) 302, a ROM (Read Only Memory) 303, an HDD (Hard Disk Drive) 304, an original transport device 110, and an image reading unit 120. A driver 305 corresponding to each drive unit in the image forming unit 140 is connected via an internal bus 306. The ROM 303, the HDD 304, and the like store programs, and the CPU 301 controls the multifunction peripheral 100 in accordance with the instructions of the control program. For example, the CPU 301 uses the RAM 302 as a work area, and controls the operation of each driving unit by exchanging data and commands with the driver 305. The HDD 304 is also used to store image data obtained by the image reading unit 120 and image data received from other devices through the network adapter 161.

内部バス306には、操作パネル200や各種のセンサ307も接続されている。操作パネル200は、ユーザの操作を受け付け、その操作に基づく信号をCPU301に供給する。また、ディスプレイ201は、CPU301からの制御信号にしたがって上述の操作画面を表示する。センサ307は、プラテンカバー102の開閉検知センサや原稿台103上の原稿検知センサ、定着器148の温度センサ、搬送される用紙または原稿の検知センサなど各種のセンサを含む。CPU301は、例えばROM303に格納されたプログラムを実行することで、以下の各手段(機能ブロック)を実現するとともに、これらセンサからの信号に応じて各手段の動作を制御する。   An operation panel 200 and various sensors 307 are also connected to the internal bus 306. The operation panel 200 receives a user operation and supplies a signal based on the operation to the CPU 301. The display 201 displays the above-described operation screen according to a control signal from the CPU 301. The sensor 307 includes various sensors such as an open / close detection sensor for the platen cover 102, a document detection sensor on the document table 103, a temperature sensor for the fixing device 148, and a detection sensor for the conveyed paper or document. The CPU 301 executes, for example, a program stored in the ROM 303 to realize each of the following means (functional blocks) and controls the operation of each means according to signals from these sensors.

図4は、本実施形態の複合機の機能ブロック図である。図4に示すように、本実施形態の複合機100は、画素抽出部401、目標色保持部402、目標色選択受付部403、色補正実施部404、登録用画像保持部405、目標色抽出部406、色範囲入力部407、目標色登録部408、判定部409および補正対象画像保持部410を備える。画素抽出部401、目標色保持部402、目標色選択受付部403、色補正実施部404および補正対象画像保持部410は、複合機100において、所定の色範囲に属する画素の色を目標色に近づける色補正を画像データに実施する機能を実現する。また、登録用画像保持部405、目標色抽出部406、色範囲入力部407、目標色登録部408および判定部409は、複合機100において、目標色保持部402に新たな目標色を登録する機能を実現する。   FIG. 4 is a functional block diagram of the MFP according to the present embodiment. As illustrated in FIG. 4, the multifunction peripheral 100 according to the present embodiment includes a pixel extraction unit 401, a target color holding unit 402, a target color selection receiving unit 403, a color correction execution unit 404, a registration image holding unit 405, a target color extraction. A unit 406, a color range input unit 407, a target color registration unit 408, a determination unit 409, and a correction target image holding unit 410. The pixel extraction unit 401, the target color holding unit 402, the target color selection receiving unit 403, the color correction execution unit 404, and the correction target image holding unit 410 use the color of pixels belonging to a predetermined color range as the target color in the multifunction machine 100. A function for performing color correction for image data on the image data is realized. In addition, the registration image holding unit 405, the target color extraction unit 406, the color range input unit 407, the target color registration unit 408, and the determination unit 409 register a new target color in the target color holding unit 402 in the multifunction peripheral 100. Realize the function.

画素抽出部401は、補正対象の画像データから、予め指定された色範囲(以下、指定色範囲ともいう。)に属する画素を抽出する。当該色範囲は、例えば、均等色空間である、CIE Lh色空間において一定の領域を占める色として設定することができる。ここでは、画像データは、sRGB(standard RGB)等の絶対色空間を構成する色成分で表現された色情報を有しており、CIE Lh色空間での表現に容易に変換可能である。なお、画像データが、機器依存を有するRGB形式で表現された色情報を有している場合は、複合機100が、当該色情報を、絶対色空間で表現された色情報に変換する。 The pixel extraction unit 401 extracts pixels belonging to a color range designated in advance (hereinafter also referred to as a designated color range) from the image data to be corrected. For example, the color range can be set as a color that occupies a certain area in the CIE L * C * h color space, which is a uniform color space. Here, the image data has color information expressed by color components constituting an absolute color space such as sRGB (standard RGB), and can be easily converted into an expression in the CIE L * C * h color space. It is. Note that when the image data has color information expressed in RGB format having device dependence, the multi-function device 100 converts the color information into color information expressed in an absolute color space.

特に限定されないが、本実施形態では、補正対象画像データは、補正対象画像保持部410に一時的に保持される。ここでは、補正対象画像保持部410は、RAM等の揮発性メモリからなる画像保持部411において補正対象画像データが格納される領域として構成されている。なお、本実施形態では、後述の登録用画像保持部405も画像保持部411に設けられている。登録用画像保持部405は、画像保持部411において登録対象の目標色を含む画像データ(以下、目標色登録用画像データという。)が格納される領域として構成される。複合機100において補正対象画像データと目標色登録用画像データとを同時に保持しない場合は、補正対象画像保持部410と登録用画像保持部405とを、画像保持部411の同一部分として構成することもできる。   Although not particularly limited, in the present embodiment, the correction target image data is temporarily held in the correction target image holding unit 410. Here, the correction target image holding unit 410 is configured as an area in which correction target image data is stored in the image holding unit 411 including a volatile memory such as a RAM. In the present embodiment, a registration image holding unit 405 described later is also provided in the image holding unit 411. The registration image holding unit 405 is configured as an area in which image data including a target color to be registered in the image holding unit 411 (hereinafter referred to as target color registration image data) is stored. When the MFP 100 does not hold the correction target image data and the target color registration image data at the same time, the correction target image holding unit 410 and the registration image holding unit 405 are configured as the same part of the image holding unit 411. You can also.

なお、画像保持部411に保持される画像データ(補正対象画像データまたは目標色登録用画像データ)は、例えば、画像記憶部412から取得される。画像記憶部412は、上述のHDD304に確保された記憶領域であり、画像読取部120から入力された画像データやネットワーク161等を介して外部装置から入力された画像データが格納される。また、画像読取部120から入力された画像データやネットワーク161等を介して外部装置から入力された画像データが画像保持部411に直接格納される構成であってもよい。   Note that image data (correction target image data or target color registration image data) held in the image holding unit 411 is acquired from the image storage unit 412, for example. The image storage unit 412 is a storage area secured in the HDD 304 described above, and stores image data input from the image reading unit 120 and image data input from an external device via the network 161 or the like. Further, the image data input from the image reading unit 120 or the image data input from an external device via the network 161 or the like may be directly stored in the image holding unit 411.

目標色保持部402は、以下で詳述する色補正実施部404により実施される色補正における目標色の色情報を格納する。ここでは、色情報として、CIE Lh色空間内における色座標が格納されている。目標色保持部402において、目標色は、上述の指定色範囲として選択されうる色範囲と対応づけて格納されている。1つの色範囲には複数の目標色が対応づけられており、ユーザは、当該複数の目標色の中から1の目標色を選択することで、色補正実施部404による色補正における目標色を選択することができる。当該1の目標色は、ユーザにより目標色選択受付部403を通じて選択される。 The target color holding unit 402 stores color information of the target color in the color correction performed by the color correction execution unit 404 described in detail below. Here, color coordinates in the CIE L * C * h color space are stored as color information. In the target color holding unit 402, the target color is stored in association with the color range that can be selected as the specified color range. A plurality of target colors are associated with one color range, and the user selects one target color from among the plurality of target colors, so that the target color in the color correction performed by the color correction execution unit 404 is selected. You can choose. The one target color is selected by the user through the target color selection receiving unit 403.

色補正実施部404は、画素抽出部401により抽出された画素の色と目標色選択受付部403を通じて選択された目標色とに基づいて、補正対象画像保持部410が保持する補正対象画像データに対して色補正を実施する。当該色補正において、仮に、画素抽出部401により抽出された全画素を選択された目標色に置換すると、階調飛びが発生し画像品質が著しく低下してしまう。そのため、色補正実施部404は、画素抽出部401により抽出された画素の色と選択された目標色との色差、すなわち、均等色空間(あるいは、均等色平面)における2色間の距離に応じた色補正量を算出することにより階調飛びの発生を防止する。この補正手法では、画素抽出部401が抽出した画素の色を目標色に近づける補正を実現できる。   Based on the pixel color extracted by the pixel extraction unit 401 and the target color selected through the target color selection receiving unit 403, the color correction execution unit 404 applies correction target image data held by the correction target image holding unit 410 to the correction target image data. Color correction is performed on the image. In the color correction, if all the pixels extracted by the pixel extraction unit 401 are replaced with the selected target color, gradation skip occurs and the image quality is significantly lowered. Therefore, the color correction execution unit 404 responds to the color difference between the pixel color extracted by the pixel extraction unit 401 and the selected target color, that is, the distance between two colors in the uniform color space (or uniform color plane). The occurrence of gradation skip is prevented by calculating the color correction amount. With this correction method, it is possible to realize correction that brings the color of the pixel extracted by the pixel extraction unit 401 closer to the target color.

具体的には、色差が大きい場合は目標色に向かう方向の補正量(以下、色補正ベクトルという。)を大きくし、色差が小さい場合は色補正ベクトルを小さくする。特に限定されないが、本実施形態では、色差の大きさに応じて、例えば、5段階の補正パラメータa1、a2、a3、a4、a5(a1<a2<a3<a4<a5)の中から1の補正パラメータが選択され、色補正ベクトルの大きさが、色差と選択された補正パラメータとの積により算出される。この場合、補正パラメータは0から1の間の値として設定される。上述のように、本実施形態では、目標色はCIE Lh色空間内の一点として設定される。したがって、CIE Lh色空間内の目標色に向かう色補正ベクトルが色補正量として算出される。 Specifically, when the color difference is large, the correction amount in the direction toward the target color (hereinafter referred to as a color correction vector) is increased, and when the color difference is small, the color correction vector is decreased. Although not particularly limited, in the present embodiment, one of five correction parameters a1, a2, a3, a4, and a5 (a1 <a2 <a3 <a4 <a5) is selected according to the color difference. A correction parameter is selected, and the magnitude of the color correction vector is calculated by the product of the color difference and the selected correction parameter. In this case, the correction parameter is set as a value between 0 and 1. As described above, in this embodiment, the target color is set as one point in the CIE L * C * h color space. Therefore, a color correction vector directed to the target color in the CIE L * C * h color space is calculated as the color correction amount.

色補正実施部404は、まず、補正対象画像保持部410に保持された画像データから、上記指定色範囲に属する画素として画素抽出部401により抽出された各画素について、選択された目標色に対応する色補正量を上述の手法により算出する。次いで、色補正実施部404は、画素抽出部401により抽出された各画素の色情報に算出した色補正量を適用することにより、抽出された各画素の色情報を変更する。なお、上述のように、色補正量の適用はCIE Lh色空間における色座標に基づいて実施される。色補正実施部404は、当該色補正量の適用後にsRGB等の絶対色空間を構成する色成分で表現された色情報に変更することで、補正後の画像データを得る。 The color correction execution unit 404 first corresponds to the selected target color for each pixel extracted by the pixel extraction unit 401 as a pixel belonging to the specified color range from the image data held in the correction target image holding unit 410. The color correction amount to be calculated is calculated by the above-described method. Next, the color correction execution unit 404 changes the color information of each extracted pixel by applying the calculated color correction amount to the color information of each pixel extracted by the pixel extraction unit 401. As described above, the application of the color correction amount is performed based on the color coordinates in the CIE L * C * h color space. The color correction execution unit 404 obtains corrected image data by changing to color information expressed by color components constituting an absolute color space such as sRGB after application of the color correction amount.

次いで、目標色保持部402へ新たな目標色を登録する作用を奏する構成について説明する。上述のように、新たな目標色を登録する機能は、登録用画像保持部405、目標色抽出部406、色範囲入力部407、目標色登録部408および判定部409により実現される。   Next, a configuration that acts to register a new target color in the target color holding unit 402 will be described. As described above, the function of registering a new target color is realized by the registration image holding unit 405, the target color extraction unit 406, the color range input unit 407, the target color registration unit 408, and the determination unit 409.

目標色抽出部406は、登録用画像保持部405に保持された目標色登録用画像データから登録対象の目標色を抽出する。目標色登録用画像データとしては、画像記憶部412に格納されている画像データ、画像読取部120から入力された画像データ、ネットワーク161等を介して外部装置から入力された画像データを使用することができる。   The target color extraction unit 406 extracts a target color to be registered from the target color registration image data held in the registration image holding unit 405. As target color registration image data, image data stored in the image storage unit 412, image data input from the image reading unit 120, image data input from an external device via the network 161, or the like is used. Can do.

新たな目標色の抽出は、例えば、ユーザによる目標色登録用画像データ中の位置(点あるいは領域)の指定により実施することができる。すなわち、目標色登録用画像データに対してユーザが指定した位置に単一の色のみが存在する場合、目標色抽出部406は当該色を新たな目標色として抽出する。また、目標色登録用画像データに対してユーザが指定した位置に複数の色が存在する場合、目標色抽出部406は当該複数の色を目標色候補としてユーザに提示し、提示された目標色候補の中からユーザが新たな目標色として抽出すべき色を指定する。あるいは、目標色抽出部406は当該目標色候補についてそれぞれ画素数を計数し、最も画素数が多い色を自動的に新たな目標色として抽出してもよい。なお、抽出した目標色候補をユーザに提示する場合も、その全てを提示する必要はなく、画素数が多い順に一部(例えば、3種程度)を提示する構成とすることもできる。   The extraction of a new target color can be carried out, for example, by designating a position (point or area) in the target color registration image data by the user. That is, when there is only a single color at the position specified by the user for the target color registration image data, the target color extraction unit 406 extracts the color as a new target color. When there are a plurality of colors at the position specified by the user for the target color registration image data, the target color extraction unit 406 presents the plurality of colors as target color candidates to the user, and the displayed target color The user designates a color to be extracted as a new target color from the candidates. Alternatively, the target color extraction unit 406 may count the number of pixels for each target color candidate, and automatically extract the color having the largest number of pixels as a new target color. When the extracted target color candidates are presented to the user, it is not necessary to present all of them, and a part (for example, about three types) may be presented in descending order of the number of pixels.

また、上述のように、目標色保持部402では、目標色は色範囲と対応づけて保持されており、新たな目標色も色範囲と対応づけて保持される必要がある。本実施形態では、当該新たな目標色と対応づける色範囲は色範囲入力部407を通じてユーザが入力する。   Further, as described above, the target color holding unit 402 holds the target color in association with the color range, and the new target color needs to be held in association with the color range. In the present embodiment, the user inputs a color range associated with the new target color through the color range input unit 407.

判定部409は、目標色抽出部406により抽出された登録対象の目標色が目標色保持部402に既登録の色範囲に属するか否かを判定する。また、目標色登録部408は、判定部409により目標色抽出部406により抽出された登録対象の目標色が既登録の色範囲に属さないと判定した場合に、当該登録対象の目標色を、色範囲入力部407に入力された新たな色範囲と対応づけて目標色保持部402に登録する。   The determination unit 409 determines whether the target color to be registered extracted by the target color extraction unit 406 belongs to a color range already registered in the target color holding unit 402. When the target color registration unit 408 determines that the registration target color extracted by the target color extraction unit 406 by the determination unit 409 does not belong to the already registered color range, the target color registration unit 408 The new color range input to the color range input unit 407 is registered in the target color holding unit 402 in association with the new color range.

なお、複合機100では、ユーザによる選択等の指示は、ディスプレイ201を含む操作パネル200に対する操作(操作キー203の押下やディスプレイ201の押圧)によって入力される。ディスプレイ201は、ディスプレイ201の押圧位置を検出するセンサにより検出された押圧位置の座標とディスプレイ201に表示する操作ボタン等の画面要素の座標とに基づいてユーザの操作内容を認識する。   In the multifunction device 100, an instruction such as selection by the user is input by an operation on the operation panel 200 including the display 201 (pressing of the operation key 203 or pressing of the display 201). The display 201 recognizes the operation content of the user based on the coordinates of the pressed position detected by the sensor that detects the pressed position of the display 201 and the coordinates of the screen elements such as operation buttons displayed on the display 201.

続いて、複合機100が実施する処理について説明する。以下では、まず、色補正の手順について説明し、その後に、目標色の登録手順について説明する。   Next, processing performed by the multifunction machine 100 will be described. In the following, the color correction procedure will be described first, and then the target color registration procedure will be described.

図5は、複合機100が実施する色補正手順の一例を示すフロー図である。当該手順は、例えば、ユーザにより色補正指示が入力されたことをトリガーとして進行する。なお、色補正指示は、上述したように、操作画面の「カラー/画質」タブに含まれる「ワンタッチ画質調整」ボタンをユーザが押圧することで複合機100に入力される。   FIG. 5 is a flowchart illustrating an example of a color correction procedure performed by the multifunction peripheral 100. The procedure proceeds with, for example, a color correction instruction input by the user as a trigger. Note that the color correction instruction is input to the multi-function peripheral 100 when the user presses the “one-touch image quality adjustment” button included in the “color / image quality” tab of the operation screen as described above.

このとき、画素抽出部401は、画像データ指定を要求する画面をディスプレイ201に表示し、ユーザによる画像データの指定が完了するまで待機する(ステップS501No)。ユーザは、色補正対象となる画像データを指定する。指定方法は、特に限定されない。例えば、画像記憶部412に格納されている画像データを色補正対象の画像データに指定する場合は、画像記憶部412に格納されている画像データの一覧をディスプレイ201に表示し、当該一覧から読み出す画像データを選択すればよい。選択された画像データは、画像記憶部412から読み出されて補正対象画像保持部410に保持される。また、補正対象画像データは画像読取部120で読み取ることもできる。この場合、ユーザは原稿搬送装置110の原稿トレイに補正対象の原稿をセットし、スタートキー押下等により読取開始を複合機100に指示する。画像読取部120により読み取られた画像データは補正対象画像保持部410に保持される。なお、同一の色補正を適用するのであれば、補正対象画像保持部410に保持される画像データは複数頁であってもよいが、ここでは1頁である例に基づいて説明する。   At this time, the pixel extraction unit 401 displays a screen requesting image data designation on the display 201, and waits until the designation of image data by the user is completed (No in step S501). The user designates image data to be color corrected. The designation method is not particularly limited. For example, when the image data stored in the image storage unit 412 is designated as image data to be color-corrected, a list of image data stored in the image storage unit 412 is displayed on the display 201 and read from the list. What is necessary is just to select image data. The selected image data is read from the image storage unit 412 and held in the correction target image holding unit 410. The correction target image data can also be read by the image reading unit 120. In this case, the user sets a document to be corrected on the document tray of the document feeder 110 and instructs the multifunction device 100 to start reading by pressing the start key or the like. The image data read by the image reading unit 120 is held in the correction target image holding unit 410. If the same color correction is applied, the image data held in the correction target image holding unit 410 may be a plurality of pages, but here, an explanation will be given based on an example of one page.

画像データの指定が完了すると、画素抽出部401は、補正対象画像データにおいて色補正の対象になる色範囲(指定色範囲)の選択を要求する画面をディスプレイ201に表示し、ユーザによる色範囲の選択が完了するまで待機する(ステップS501Yes、S502No)。ユーザは、補正対象となる色を選択する。   When the specification of the image data is completed, the pixel extraction unit 401 displays a screen requesting selection of a color range (specified color range) to be subjected to color correction in the correction target image data on the display 201, and the user can select a color range. It waits until selection is completed (step S501 Yes, S502 No). The user selects a color to be corrected.

図6は、このときディスプレイ201に表示される、色範囲選択画面の一例を示す図である。この例では、色範囲選択画面601は、色範囲の選択に使用される選択ボタン602〜604、選択を中止して画像データの指定に戻るために使用される「戻る」ボタン605を備える。図6では、選択ボタンとして、記憶色の1つである肌色に対応する「人物写真」ボタン602、記憶色の1つである青色に対応する「風景写真(青)」ボタン603、記憶色の1つである緑色に対応する「風景写真(緑)」ボタン604を備える例を示している。ユーザが、選択ボタン602〜604から1のボタンを選択すると、画素抽出部401は、選択されたボタン(記憶色)に対応づけられた色範囲を画素抽出に使用する指定色範囲として設定する。   FIG. 6 is a diagram showing an example of a color range selection screen displayed on the display 201 at this time. In this example, the color range selection screen 601 includes selection buttons 602 to 604 that are used to select a color range, and a “return” button 605 that is used to cancel the selection and return to designation of image data. In FIG. 6, as a selection button, a “portrait photograph” button 602 corresponding to a flesh color that is one of the memory colors, a “landscape photograph (blue)” button 603 corresponding to one of the memory colors, and a memory color In this example, a “landscape photograph (green)” button 604 corresponding to one green is shown. When the user selects one of the selection buttons 602 to 604, the pixel extraction unit 401 sets the color range associated with the selected button (memory color) as the designated color range used for pixel extraction.

例えば、図6において、ユーザが「風景写真(青)」ボタン603を選択すると、画素抽出部401は、当該ボタンに対応づけられた青色の色範囲(L:20〜80、C:5〜55、Hue:190〜330°)に属する色の画素を抽出する状態に設定される。なお、このような色範囲は、選択ボタン602〜604と対応づけて画素抽出部401に予め登録されている。 For example, in FIG. 6, when the user selects a “landscape photograph (blue)” button 603, the pixel extraction unit 401 displays a blue color range (L * : 20 to 80, C * : 5) associated with the button. To 55, Hue: 190 to 330 °), it is set to a state of extracting pixels of colors belonging to. Note that such a color range is registered in advance in the pixel extraction unit 401 in association with the selection buttons 602 to 604.

色範囲の指定を受けた画素抽出部401は、当該色範囲を示す情報(以下、色範囲識別子という。)を目標色選択受付部403に通知する。当該通知を受けた目標色選択受付部403は、ユーザによる目標色の選択を受け付ける画面をディスプレイ201に表示し、ユーザによる目標色の選択が完了するまで待機する(ステップS502Yes、S503、S504No)。目標色選択受付部403は、当該画面に、通知された色範囲と対応づけて目標色保持部402に登録されている各目標色を表示する。   Receiving the color range specification, the pixel extraction unit 401 notifies the target color selection receiving unit 403 of information indicating the color range (hereinafter referred to as a color range identifier). Receiving the notification, the target color selection receiving unit 403 displays a screen for receiving the selection of the target color by the user on the display 201, and waits until the selection of the target color by the user is completed (No in steps S502, S503, and S504). The target color selection receiving unit 403 displays each target color registered in the target color holding unit 402 in association with the notified color range on the screen.

図7は、このときディスプレイ201に表示される、目標色選択画面の一例を示す図である。この例では、目標色選択画面701は、各目標色で着色された矩形画像702〜704を含む。この図では、矩形画像702が第1の目標色(以下、「青1」という。)に対応し、矩形画像703が第2の目標色(以下、「青2」という。)に対応し、矩形画像704が第3の目標色(以下、「青3」という。)に対応する。また、目標色選択画面701は、各矩形画像に対応する目標色の選択に使用される「青1」ボタン705、「青2」ボタン706、「青3」ボタン707、選択を中止して色範囲選択画面601に戻るために使用される「戻る」ボタン708を備える。   FIG. 7 is a diagram showing an example of the target color selection screen displayed on the display 201 at this time. In this example, the target color selection screen 701 includes rectangular images 702 to 704 colored with each target color. In this figure, a rectangular image 702 corresponds to a first target color (hereinafter referred to as “blue 1”), and a rectangular image 703 corresponds to a second target color (hereinafter referred to as “blue 2”). A rectangular image 704 corresponds to a third target color (hereinafter referred to as “blue 3”). In addition, the target color selection screen 701 includes a “blue 1” button 705, a “blue 2” button 706, and a “blue 3” button 707, which are used for selecting a target color corresponding to each rectangular image, and the selection is canceled. A “return” button 708 used for returning to the range selection screen 601 is provided.

例えば、第1の目標色は鮮やかな青色とし、第2の目標色は緑みのない真っ青な青色とし、第3の目標色は緑みのある青色(いわゆる、エメラルドグリーン)とすることができる。また、色範囲選択画面601における他の選択ボタンについても簡単に説明すると、「人物写真」ボタン602には、赤みのある、血色の良い印象の肌色の方向へ調整される目標色、日焼けしたような印象の肌色の方向へ調整される目標色、色白の肌色の方向へ調整される目標色を対応づけることができる。また、「風景写真(緑)」ボタン604には、鮮やかな緑色の方向へ調整される目標色、黄緑色の方向へ調整される目標色、やや青みのある緑色の方向へ調整される目標色を対応づけることができる。   For example, the first target color can be vivid blue, the second target color can be pure blue without green, and the third target color can be green with blue (so-called emerald green). . The other selection buttons on the color range selection screen 601 will be briefly described. The “portrait photograph” button 602 has a target color that is adjusted in the direction of the skin color that is reddish and ruddy, and seems to be tanned. It is possible to associate a target color adjusted in the direction of a flesh color with a good impression and a target color adjusted in the direction of a flesh-white skin color. A “landscape photograph (green)” button 604 has a target color adjusted in a bright green direction, a target color adjusted in a yellow-green direction, and a target color adjusted in a slightly blueish green direction. Can be associated.

図7に示す目標色選択画面701において、ユーザが「青1」ボタン705、「青2」ボタン706、「青3」ボタン707のいずれかを選択すると、目標色選択受付部403は選択された目標色の色情報を色補正実施部404に入力する(ステップS504Yes)。例えば、図7において、ユーザが「青2」ボタン706を選択すると、目標色選択受付部403は目標色「青2」の色情報を色補正実施部404に入力する。   When the user selects any one of the “blue 1” button 705, the “blue 2” button 706, and the “blue 3” button 707 on the target color selection screen 701 shown in FIG. 7, the target color selection receiving unit 403 is selected. The color information of the target color is input to the color correction execution unit 404 (Yes in step S504). For example, in FIG. 7, when the user selects the “blue 2” button 706, the target color selection receiving unit 403 inputs the color information of the target color “blue 2” to the color correction performing unit 404.

目標色の色情報が入力された色補正実施部404は、色補正の開始を画素抽出部401に通知する。当該通知を受けた画素抽出部401は、補正対象画像保持部410に保持されている画像データから、指定色範囲に属する色を有する画素を抽出する。画素抽出部401は、抽出した画素の色情報および当該画素の画像データ中の位置情報を色補正実施部404に入力する。当該入力を受けた色補正実施部404は、目標色の色情報と画素抽出部401から入力された色情報に基づいて、上述した手法により抽出された各画素に対する色補正量を算出し、抽出された各画素についての補正後の色情報を求める。色補正実施部404は、補正対象画像保持部410に保持されている画像データを取得し、画素抽出部401から入力された位置情報に対応する画素の色を補正後の色に置換することにより色補正を実行する(ステップS505)。   The color correction execution unit 404 to which the color information of the target color has been input notifies the pixel extraction unit 401 of the start of color correction. The pixel extraction unit 401 that has received the notification extracts pixels having colors that belong to the specified color range from the image data held in the correction target image holding unit 410. The pixel extraction unit 401 inputs the extracted pixel color information and position information in the image data of the pixel to the color correction execution unit 404. Upon receiving the input, the color correction execution unit 404 calculates and extracts a color correction amount for each pixel extracted by the above-described method based on the color information of the target color and the color information input from the pixel extraction unit 401. The corrected color information for each pixel is obtained. The color correction execution unit 404 acquires the image data held in the correction target image holding unit 410 and replaces the color of the pixel corresponding to the position information input from the pixel extraction unit 401 with the corrected color. Color correction is executed (step S505).

以上のようにして色補正実施部404が生成した色補正後の画像データは、画像形成部140において印刷されたり、画像記憶部412に格納されたりすることで、色補正実施部404から出力される。   The image data after color correction generated by the color correction execution unit 404 as described above is output from the color correction execution unit 404 by being printed in the image forming unit 140 or stored in the image storage unit 412. The

次に、複合機100が実施する目標色の登録手順について説明する。図8は、複合機100が実施する目標色登録手順の一例を示すフロー図である。ここでは、上述の「人物写真」、「風景写真(青)」、「風景写真(緑)」のいずれの色範囲にも含まれない赤系統の色を目標色として登録する事例について説明する。当該手順は、例えば、ユーザにより目標色登録指示が入力されたことをトリガーとして進行する。なお、目標色登録指示は、上述したように、操作画面の「カラー/画質」タブに含まれる「目標色登録」ボタンをユーザが押圧することで複合機100に入力される。   Next, a target color registration procedure performed by the multifunction peripheral 100 will be described. FIG. 8 is a flowchart illustrating an example of a target color registration procedure performed by the multifunction peripheral 100. Here, an example will be described in which a red color that is not included in any of the color ranges of the “person photograph”, “landscape photograph (blue)”, and “landscape photograph (green)” is registered as a target color. The procedure proceeds with, for example, a target color registration instruction input by the user. As described above, the target color registration instruction is input to the multifunction device 100 when the user presses the “target color registration” button included in the “color / image quality” tab of the operation screen.

このとき、目標色抽出部406は、画像データ指定を要求する画面をディスプレイ201に表示し、ユーザによる画像データの指定が完了するまで待機する(ステップS801No)。ユーザは、画像中に目標色を含む目標色登録用画像データを指定する。指定方法は、特に限定されない。例えば、画像記憶部412に格納されている画像データを目標色登録用画像データに指定する場合は、画像記憶部412に格納されている画像データの一覧をディスプレイ201に表示し、当該一覧から読み出す画像データを選択すればよい。選択された画像データは、画像記憶部412から読み出されて登録用画像保持部405に保持される。この例では、目標色登録用画像データとして、夕刻の海を示す画像の画像データが使用されている。当該画像は、太陽、夕焼け空および海を含んでいる。また、目標色登録用画像データは画像読取部120で読み取ることもできる。この場合、ユーザは原稿搬送装置110の原稿トレイに登録対象の原稿をセットし、スタートキー押下等により読取開始を複合機100に指示する。画像読取部120により読み取られた画像データは登録用画像保持部405に保持される。   At this time, the target color extraction unit 406 displays a screen requesting image data designation on the display 201, and waits until the designation of image data by the user is completed (No in step S801). The user designates target color registration image data including the target color in the image. The designation method is not particularly limited. For example, when the image data stored in the image storage unit 412 is designated as the target color registration image data, a list of image data stored in the image storage unit 412 is displayed on the display 201 and read from the list. What is necessary is just to select image data. The selected image data is read from the image storage unit 412 and held in the registration image holding unit 405. In this example, image data representing an evening sea is used as target color registration image data. The image includes the sun, sunset sky and sea. The target color registration image data can also be read by the image reading unit 120. In this case, the user sets a document to be registered on the document tray of the document feeder 110 and instructs the multifunction device 100 to start reading by pressing the start key or the like. The image data read by the image reading unit 120 is held in the registration image holding unit 405.

画像データの指定が完了すると、目標色抽出部406は、目標色登録用画像データ中で登録すべき目標色が存在する位置(点あるいは領域)の指定を要求する画面をディスプレイ201に表示し、ユーザによる位置の選択が完了するまで待機する(ステップS801Yes、S802No)。ユーザは、登録すべき目標色が存在する位置を指定する。   When the specification of the image data is completed, the target color extraction unit 406 displays on the display 201 a screen requesting specification of the position (point or area) where the target color to be registered exists in the target color registration image data. It waits until the selection of the position by the user is completed (step S801 Yes, S802 No). The user designates the position where the target color to be registered exists.

図9は、このときディスプレイ201に表示される、目標色位置指定画面の一例を示す図である。この例では、目標色位置指定画面901は、上述の目標色登録用画像データを表示するプレビュー表示部902、ユーザによる位置指定に応じて抽出された目標色候補を表示するとともにユーザによる選択を受け付ける目標色選択部903、目標色選択部903に対するユーザの選択を確定する際に選択される「決定」ボタン904、選択を中止して直前の操作画面(ここでは、目標色登録用画像データの指定画面)に戻る際に使用される「キャンセル」ボタン905を備える。なお、特に限定されないが、ここでは、プレビュー表示部902に、上述のようにして指定された目標色登録用画像データを、表示に適当なサイズに画素数を減じたサムネイル画像が表示される。ここでは、当該サムネイル画像は、目標色抽出部406により生成される。   FIG. 9 is a diagram showing an example of the target color position designation screen displayed on the display 201 at this time. In this example, the target color position designation screen 901 displays a preview display unit 902 that displays the target color registration image data described above, displays target color candidates extracted according to the position designation by the user, and accepts selection by the user. A target color selection unit 903, a “decision” button 904 that is selected when the user's selection for the target color selection unit 903 is confirmed, an operation screen immediately before the selection is canceled (in this case, designation of image data for target color registration) A “cancel” button 905 used when returning to the screen. Although not particularly limited, here, the preview display unit 902 displays the thumbnail image obtained by reducing the number of pixels to the appropriate size for displaying the target color registration image data specified as described above. Here, the thumbnail image is generated by the target color extraction unit 406.

目標色位置指定画面901において、ユーザは、自身の指やタッチペン202を使用して、プレビュー表示部902に表示された目標色登録用画像データ上で登録を希望する目標色が存在する位置を指定する(ステップS802Yes)。ここでは、ユーザが、図9に示す点911(画像中の夕焼け空の部分)を指定したとする。当該指定に応じて、目標色抽出部406は、プレビュー表示部902に表示されたサムネイル画像においてユーザにより指定された点911に対応する目標色登録用画像データ上の点(あるいは、当該点を含む領域)に存在する画素の色情報を抽出する(ステップS803)。当該色情報が目標色候補である。なお、上述のように、当該色情報は1色の場合もあれば、複数色の場合もある。ここでは、目標色抽出部406は複数の目標色候補を抽出し、当該複数の目標色候補の中から画素数の多い順に3色の目標色候補を特定したとする。   On the target color position designation screen 901, the user uses his / her finger or touch pen 202 to designate the position where the target color desired to be registered exists on the target color registration image data displayed on the preview display unit 902. (Step S802 Yes). Here, it is assumed that the user designates a point 911 (a portion of the sunset sky in the image) shown in FIG. In response to the designation, the target color extraction unit 406 includes a point on the target color registration image data corresponding to the point 911 designated by the user in the thumbnail image displayed on the preview display unit 902 (or includes the point). The color information of the pixels existing in the (region) is extracted (step S803). The color information is a target color candidate. As described above, the color information may be a single color or a plurality of colors. Here, it is assumed that the target color extraction unit 406 extracts a plurality of target color candidates and specifies the target color candidates for three colors in descending order of the number of pixels from the plurality of target color candidates.

ユーザの指定位置に対応する複数の目標色候補を特定した目標色抽出部406は当該特定した目標色候補を目標色位置指定画面901の目標色選択部903に表示し、ユーザによる選択が完了するまで待機する(ステップS804Yes、S805、S806No)。図9に示すように、目標色選択部903は、各目標色候補で着色された矩形画像912〜914、および各矩形画像に対応する目標色の選択に使用される「登録」ボタン915〜917を備える。この例では、目標色選択部903において左方に表示されている目標色候補912に対応する「登録」ボタン915が選択された状態を示している。   The target color extraction unit 406 that has identified a plurality of target color candidates corresponding to the user's designated position displays the identified target color candidates on the target color selection unit 903 of the target color position designation screen 901, and the selection by the user is completed. (Steps S804 Yes, S805, S806 No). As illustrated in FIG. 9, the target color selection unit 903 includes rectangular images 912 to 914 colored with each target color candidate, and “registration” buttons 915 to 917 used to select target colors corresponding to the respective rectangular images. Is provided. This example shows a state in which the “Register” button 915 corresponding to the target color candidate 912 displayed on the left side in the target color selection unit 903 is selected.

当該状態においてユーザが「決定」ボタン904を選択すると、目標色抽出部406は、選択された目標色の色情報を判定部409に入力する。当該入力に応じて、判定部409は、目標色抽出部406から入力された目標色が目標色保持部402に既登録の色範囲に属するか否かを判定する(ステップS806Yes、S807)。上述のように、この例では、入力された目標色は、目標色保持部402に登録されている既存の色範囲(ここでは、「人物写真」、「風景写真(青)」、「風景写真(緑)」)のいずれにも含まれない。したがって、判定部409は、目標色抽出部406により抽出された目標色が既存の色範囲に属さないと判定する(ステップS807No)。このとき、判定部409は、判定結果を、目標色抽出部406に通知する。   When the user selects the “OK” button 904 in this state, the target color extraction unit 406 inputs color information of the selected target color to the determination unit 409. In response to the input, the determination unit 409 determines whether or not the target color input from the target color extraction unit 406 belongs to a color range already registered in the target color holding unit 402 (steps S806 Yes and S807). As described above, in this example, the input target color is an existing color range registered in the target color holding unit 402 (here, “person photograph”, “landscape photograph (blue)”, “landscape photograph”). (Green) ”). Therefore, the determination unit 409 determines that the target color extracted by the target color extraction unit 406 does not belong to the existing color range (No in step S807). At this time, the determination unit 409 notifies the target color extraction unit 406 of the determination result.

当該通知を受けた目標色抽出部406は、抽出した目標色の色情報を色範囲入力部407に入力する。当該入力を受けた色範囲入力部407は、ユーザに対し入力された色情報に対応づける色範囲の入力を要求し、入力が完了するまで待機する(ステップS808、S809No)。   Upon receiving the notification, the target color extraction unit 406 inputs the color information of the extracted target color into the color range input unit 407. Receiving the input, the color range input unit 407 requests the user to input a color range associated with the input color information, and waits until the input is completed (No in steps S808 and S809).

図10は、このときディスプレイ201に表示される、色範囲入力画面の一例を示す図である。この例では、色範囲入力画面1001は、色範囲の入力に使用される、明度入力欄1002、彩度入力欄1003、色相角入力欄1004、上述の色範囲選択画面601において、色範囲を選択する際のボタンに付される名称の入力に使用される登録名入力欄1005、色範囲選択後に表示される目標色選択画面において、目標色を選択する際のボタンに付される名称の入力に使用されるラベル名入力欄1006、各入力欄に対する入力を確定する際に選択される「決定」ボタン1007、選択を中止して目標色位置指定画面901に戻るために使用される「戻る」ボタン1008を備える。   FIG. 10 is a diagram showing an example of a color range input screen displayed on the display 201 at this time. In this example, the color range input screen 1001 selects a color range in the lightness input column 1002, the saturation input column 1003, the hue angle input column 1004, and the color range selection screen 601 described above, which are used to input the color range. In the registered name input field 1005 used for inputting the name to be assigned to the button when selecting a color, in the target color selection screen displayed after selecting the color range, for inputting the name to be assigned to the button when selecting the target color A label name input field 1006 to be used, a “decision” button 1007 selected when the input to each input field is confirmed, and a “return” button used to cancel the selection and return to the target color position designation screen 901 1008.

図10の例では、明度入力欄1002において、下限値「20」および上限値「80」が設定され、彩度入力欄1003において、下限値「70」および上限値「120」が設定され、色相角入力欄1004において、下限値「−30(330)」および上限値「40」が設定された例を示している。また、登録名入力欄1005において、「風景写真(赤)」が設定され、ラベル名入力欄1006において、「赤」が設定されている。本実施形態では、これらの設定値の入力は、操作パネル200の操作キー203や、必要に応じてディスプレイ201に表示されるソフトウェアキーボード等を使用してユーザにより入力される。なお、明度入力欄1002、彩度入力欄1003および色相角入力欄1004において、上下限値は、例えば、色範囲入力部407が目標色抽出部406から入力された目標色を中心として一定の色差内の範囲となる上下限値等をデフォルト値として表示し、当該デフォルト値をユーザが微調整する構成にすることができる。   In the example of FIG. 10, the lower limit value “20” and the upper limit value “80” are set in the lightness input field 1002, and the lower limit value “70” and the upper limit value “120” are set in the saturation input field 1003. In the corner input field 1004, an example is shown in which a lower limit “−30 (330)” and an upper limit “40” are set. In the registered name input field 1005, “landscape photograph (red)” is set, and in the label name input field 1006, “red” is set. In the present embodiment, these setting values are input by the user using the operation keys 203 of the operation panel 200 or a software keyboard displayed on the display 201 as necessary. In the lightness input field 1002, the saturation input field 1003, and the hue angle input field 1004, for example, the upper and lower limit values are constant color differences centered on the target color input from the target color extraction unit 406 by the color range input unit 407, for example. The upper and lower limit values that fall within the range can be displayed as default values, and the default values can be finely adjusted by the user.

ユーザによる「決定」ボタン1007の選択により入力が確定されると、色範囲入力部407は入力された色範囲を、目標色抽出部406から入力された目標色の色情報とともに目標色登録部408に入力する(ステップS809Yes)。当該入力を受けた目標色登録部408は、入力された目標色の色情報を入力された色範囲と対応づけて目標色保持部402に登録する(ステップS810)。また、目標色登録部408は、入力された色範囲を、入力された登録名およびラベル名とともに画素抽出部401に入力する。当該入力を受けた画素抽出部401では、以降の色補正において、入力された色範囲の選択を可能になる。   When the input is confirmed by the user selecting the “OK” button 1007, the color range input unit 407 displays the input color range together with the color information of the target color input from the target color extraction unit 406 as a target color registration unit 408. (Step S809 Yes). The target color registration unit 408 that has received the input registers the color information of the input target color in the target color holding unit 402 in association with the input color range (step S810). Further, the target color registration unit 408 inputs the input color range to the pixel extraction unit 401 together with the input registration name and label name. Upon receiving the input, the pixel extraction unit 401 can select the input color range in the subsequent color correction.

図11は、以上のようにして新たな目標色が目標色保持部402に登録された後、色補正実施の際にユーザが目標色を選択する際に表示される色範囲選択画面601を示す図である。上述の例では、ユーザは、色範囲入力画面1001において、登録名「風景写真(赤)」を入力している。そのため、新目標色登録後の色範囲選択画面601は、図11に示すように、選択ボタンとして、肌色に対応する「人物写真」ボタン602、青色に対応する「風景写真(青)」ボタン603、緑色に対応する「風景写真(緑)」ボタン604に加えて、赤色に対応する「風景写真(赤)」ボタン611を備えている。   FIG. 11 shows a color range selection screen 601 displayed when a user selects a target color when performing color correction after a new target color is registered in the target color holding unit 402 as described above. FIG. In the above example, the user inputs the registered name “landscape photograph (red)” on the color range input screen 1001. Therefore, as shown in FIG. 11, the color range selection screen 601 after registration of the new target color has a “person photograph” button 602 corresponding to skin color and a “landscape photograph (blue)” button 603 corresponding to blue as selection buttons. In addition to a “landscape photo (green)” button 604 corresponding to green, a “landscape photo (red)” button 611 corresponding to red is provided.

図12は、図11に示す色範囲選択画面601において、ユーザが「風景写真(赤)」ボタン611を選択した際に表示される目標色選択画面を示す図である。上述の例では、ユーザは、色範囲入力画面1001において、ラベル名「赤」を入力している。そのため、「風景写真(赤)」に対応する目標色選択画面1201は、新たに登録された目標色で着色された矩形画像1202および当該矩形画像1202に対応する目標色の選択に使用される「赤1」ボタン1203、選択を中止して色範囲選択画面601に戻るために使用される「戻る」ボタン1204を備えている。したがって、ユーザは、目標色選択画面1201において「赤1」ボタン1203を選択することで、新たに登録した目標色を選択することができる。   FIG. 12 is a diagram showing a target color selection screen displayed when the user selects the “landscape photo (red)” button 611 on the color range selection screen 601 shown in FIG. In the above example, the user inputs the label name “red” on the color range input screen 1001. Therefore, the target color selection screen 1201 corresponding to “landscape photograph (red)” is used to select a rectangular image 1202 colored with a newly registered target color and a target color corresponding to the rectangular image 1202. A “red 1” button 1203 and a “return” button 1204 used to cancel the selection and return to the color range selection screen 601 are provided. Therefore, the user can select a newly registered target color by selecting the “red 1” button 1203 on the target color selection screen 1201.

一方、上述の判定ステップ(ステップS807)において、判定部409が、目標色抽出部406により抽出された目標色が既存の色範囲に属すると判定した場合(ステップS807Yes)、判定部409は、当該判定結果を、目標色抽出部406に通知する。   On the other hand, in the above-described determination step (step S807), when the determination unit 409 determines that the target color extracted by the target color extraction unit 406 belongs to the existing color range (step S807 Yes), the determination unit 409 The determination result is notified to the target color extraction unit 406.

当該通知を受けた目標色抽出部406は、ユーザに対し、既存の色範囲に属する目標色として登録するか否かをユーザに問い合わせる(ステップS811)。このとき、目標色抽出部406は、例えば、ディスプレイ201に「登録する」または「登録しない」を選択可能なボタンを表示する等によりユーザに問い合わせる。回答が入力されると、目標色抽出部406は、当該回答を判定部409へ通知する。   Upon receiving the notification, the target color extraction unit 406 inquires of the user whether or not to register it as a target color belonging to the existing color range (step S811). At this time, the target color extraction unit 406 inquires of the user, for example, by displaying a button capable of selecting “register” or “not register” on the display 201. When the answer is input, the target color extraction unit 406 notifies the determination unit 409 of the answer.

入力された回答が「登録する」であった場合、判定部409は、目標色抽出部406から入力された目標色の色情報を、当該目標色が属する目標色保持部402に既登録の色範囲とともに目標色登録部408に入力する(ステップS811Yes)。当該入力を受けた目標色登録部408は、入力された目標色の色情報を入力された色範囲と対応づけて目標色保持部402に登録する(ステップS810)。また、入力された回答が「登録しない」であった場合、判定部409は、特に何もすることなく手順が終了する(ステップS811No)。なお、入力された回答が「登録しない」であった場合に、ユーザが登録対象目標色を新たな色範囲と対応づけて目標色保持部402に登録する構成であってもよい。この場合、「登録しない」の回答を受けた目標色抽出部406後、色範囲入力部407により色範囲の入力がユーザに要求されることになる(ステップS808)。   When the input answer is “register”, the determination unit 409 uses the color information of the target color input from the target color extraction unit 406 as the color already registered in the target color holding unit 402 to which the target color belongs. It inputs into the target color registration part 408 with the range (step S811 Yes). The target color registration unit 408 that has received the input registers the color information of the input target color in the target color holding unit 402 in association with the input color range (step S810). If the input answer is “not registered”, the determination unit 409 terminates the procedure without doing anything (step S811 No). Note that when the input answer is “not registered”, the user may register the target color to be registered in the target color holding unit 402 in association with the new color range. In this case, after the target color extraction unit 406 that has received an answer of “do not register”, the color range input unit 407 requests the user to input a color range (step S808).

なお、特に限定されないが、本実施形態では、上述のユーザの位置指定に応じた目標色候補の抽出ステップ(ステップS804)において目標色抽出部406が抽出した目標色候補が一色であった場合、目標色抽出部406は、ユーザに対して目標色候補の選択を要求することなく色範囲の指定を要求する構成になっている(ステップS804No、S807)。   Although not particularly limited, in the present embodiment, when the target color candidate extracted by the target color extraction unit 406 in the target color candidate extraction step (step S804) according to the above-described user position designation is one color, The target color extracting unit 406 is configured to request the user to specify a color range without requesting the user to select a target color candidate (No in steps S804 and S807).

以上説明したように、この複合機100では、画像データそのものを使用して目標色を登録するため、ユーザは、視覚を通じて確認した画像中に含まれる色を目標色として登録することができる。また、登録対象の目標色へ色補正する対象となる色範囲を設定することができる。そのため、画像処理装置に設定されていない記憶色等の色であっても、ユーザの好みの色を目標色として登録することができる。その結果、色補正を実施する際には、ユーザは、好みの色への色補正を容易に実施することができる。   As described above, in the multi-function device 100, the target color is registered using the image data itself, so that the user can register the color included in the image confirmed through vision as the target color. In addition, it is possible to set a color range to be subjected to color correction to a target color to be registered. Therefore, even a color such as a memory color that is not set in the image processing apparatus can register a user's favorite color as a target color. As a result, when color correction is performed, the user can easily perform color correction to a favorite color.

また、複合機100では、目標色登録用画像データに複数の色が含まれている場合、ユーザは、提示された目標色の候補から所望の目標色を選択することができる。すなわち、ユーザの好みの色を極めて容易にかつ確実に目標色として登録することができる。   Further, in the multifunction machine 100, when the target color registration image data includes a plurality of colors, the user can select a desired target color from the presented target color candidates. That is, the user's favorite color can be registered as a target color very easily and reliably.

加えて、複合機100では、判定部409により登録対象の目標色が既存の色範囲に属さないと判定された場合に、登録対象の目標色を目標色保持部402に登録する構成であるため、色空間における色差の小さい近似の目標色が異なる色範囲の目標色として登録されることがない。その結果、色補正を実施する際に、近似した多数の色範囲がユーザに提示され、色補正の選択が困難な状況になることを防止できる。   In addition, the MFP 100 is configured to register the registration target color in the target color holding unit 402 when the determination unit 409 determines that the registration target color does not belong to the existing color range. Thus, an approximate target color having a small color difference in the color space is not registered as a target color in a different color range. As a result, when performing color correction, it is possible to prevent a situation where it is difficult to select color correction because a number of approximate color ranges are presented to the user.

なお、判定部409は、上記判定ステップ(ステップS807)において、上述の判定に代えて、目標色抽出部406から入力された目標色が目標色保持部402に登録されている既存の目標色に対して、予め指定された色差条件を満足するか否かを判定してもよい。ここで色差条件として、例えば、目標色保持部402に既に格納されている目標色と登録対象の目標色とのCIE Lh色空間における色差が所定値(例えば、30〜50程度)以上であること等を使用することができる。この構成では、例えば、色差条件を満足するときに、新たな目標色および新たな色範囲を目標色保持部402に登録することで、上述した効果と同様の効果を得ことができる。なお、目標色抽出部406から入力された目標色が目標色保持部402に登録されている既存の色範囲に属するか否かの判定と、当該目標色が目標色保持部402に登録されている既存の目標色に対して、予め指定された色差条件を満足するか否かの判定は併用することも可能である。 Note that the determination unit 409 replaces the target color input from the target color extraction unit 406 with the existing target color registered in the target color holding unit 402 in the determination step (step S807) instead of the above-described determination. On the other hand, it may be determined whether or not a color difference condition specified in advance is satisfied. Here, as the color difference condition, for example, a color difference in the CIE L * C * h color space between the target color already stored in the target color holding unit 402 and the target color to be registered is a predetermined value (for example, about 30 to 50). The above can be used. In this configuration, for example, when the color difference condition is satisfied, the same effect as described above can be obtained by registering a new target color and a new color range in the target color holding unit 402. Note that it is determined whether the target color input from the target color extraction unit 406 belongs to the existing color range registered in the target color holding unit 402, and the target color is registered in the target color holding unit 402. It is also possible to use a determination as to whether or not a predetermined color difference condition is satisfied for an existing target color.

また、上述の実施形態では、特に好ましい形態として、判定部409を備える複合機を説明したが、判定部409を備えない場合であっても、ユーザは、少なくとも、視覚を通じて確認した画像中に含まれる色を目標色として登録することができ、登録対象の目標色へ色補正する対象となる色範囲を設定することができる。   Further, in the above-described embodiment, as a particularly preferable form, a multifunction device including the determination unit 409 has been described. However, even when the determination unit 409 is not provided, the user includes at least an image confirmed through visual observation. Can be registered as a target color, and a color range to be subjected to color correction to the target color to be registered can be set.

この構成では、図8に示す目標色選択ステップ(ステップS806)において登録対象の目標色が選択されると、目標色抽出部406は、選択された目標色の色情報を色範囲入力部407に入力する。当該入力を受けた色範囲入力部407は、ユーザに対し入力された色情報に対応づける色範囲の入力を要求し、入力が完了するまで待機する(ステップS808、S809No)。ユーザによる色範囲の入力が完了すると、色範囲入力部407は入力された色範囲を、目標色抽出部406から入力された目標色の色情報とともに目標色登録部408に入力する(ステップS809Yes)。当該入力を受けた目標色登録部408は、入力された目標色の色情報を入力された色範囲と対応づけて目標色保持部402に登録する(ステップS810)。また、目標色登録部408は、入力された色範囲を、入力された登録名およびラベル名とともに画素抽出部401に入力する。   In this configuration, when the target color to be registered is selected in the target color selection step (step S806) shown in FIG. 8, the target color extraction unit 406 sends the color information of the selected target color to the color range input unit 407. input. Receiving the input, the color range input unit 407 requests the user to input a color range associated with the input color information, and waits until the input is completed (No in steps S808 and S809). When the input of the color range by the user is completed, the color range input unit 407 inputs the input color range to the target color registration unit 408 together with the color information of the target color input from the target color extraction unit 406 (Yes in step S809). . The target color registration unit 408 that has received the input registers the color information of the input target color in the target color holding unit 402 in association with the input color range (step S810). Further, the target color registration unit 408 inputs the input color range to the pixel extraction unit 401 together with the input registration name and label name.

なお、上述した各実施形態は本発明の技術的範囲を制限するものではなく既に記載したもの以外でも、本発明の範囲内で種々の変形や応用が可能である。例えば、上記実施形態では、複合機の操作パネルを通じた操作に基づいて説明をしたが、当該複合機と通信可能に接続された情報処理端末を介して複合機に対する操作が行われてもよい。この場合、上述の実施形態における操作パネル200のディスプレイ201の機能は、情報処理端末が具備する、ディスプレイ等の表示手段およびキーボード等の入力手段により提供される。   Each embodiment described above does not limit the technical scope of the present invention, and various modifications and applications can be made within the scope of the present invention other than those already described. For example, although the above embodiment has been described based on an operation through the operation panel of the multifunction device, an operation on the multifunction device may be performed via an information processing terminal that is communicably connected to the multifunction device. In this case, the function of the display 201 of the operation panel 200 in the above-described embodiment is provided by display means such as a display and input means such as a keyboard provided in the information processing terminal.

また、図5および図8に示したフローチャートは、等価な作用を奏する範囲において、各ステップの順序を適宜変更可能である。例えば、図8において、ユーザによる色範囲の入力ステップ(ステップS808、S809)は、画像データの指定前や、目標色登録用画像データ上における位置指定前に実施することもできる。この場合、目標色抽出部406は、目標色候補を抽出する際に、入力された色範囲に属する色情報のみを抽出することが可能になる。このようにすると、入力した色範囲の目標色として登録することが適当でない色情報が目標色候補として抽出されることを防止することができる。また、目標色候補をとして抽出される色情報は入力した色範囲に属するため、近似する複数色の目標色の候補中から所望の目標色を選択して登録することができる。また、このような色範囲が先行して入力される構成では、目標色登録用画像データの全体について、目標色抽出部406が目標色候補を自動的に抽出する構成とすることもできる。   Further, in the flowcharts shown in FIGS. 5 and 8, the order of the steps can be appropriately changed within a range where the equivalent action is achieved. For example, in FIG. 8, the color range input step (steps S808 and S809) by the user can be performed before designating image data or before designating a position on target color registration image data. In this case, the target color extraction unit 406 can extract only color information belonging to the input color range when extracting the target color candidates. In this way, it is possible to prevent color information that is inappropriate to be registered as a target color in the input color range from being extracted as a target color candidate. In addition, since the color information extracted as the target color candidate belongs to the input color range, a desired target color can be selected and registered from among a plurality of approximate target color candidates. Further, in such a configuration in which the color range is input in advance, the target color extraction unit 406 may automatically extract the target color candidates for the entire target color registration image data.

さらに、上述の実施形態において、目標色選択画面に表示される目標色を示す矩形画像に代えて、色補正後の画像データの外観を示す画像を使用してもよい。この場合、表示される画像データは、補正対象画像データのサムネイル画像、補正対象データとは異なる画像のいずれを使用してもよい。この場合、目標色選択画面に色補正前の画像データの外観を示す画像を表示することが好ましい。なお、色補正後の画像データは、色補正前のデータに対して、目標色保持部402に格納された色範囲および目標色に応じた色補正を画素抽出部401および色補正実施部404が実施することで生成可能である。   Furthermore, in the above-described embodiment, instead of the rectangular image indicating the target color displayed on the target color selection screen, an image indicating the appearance of the image data after color correction may be used. In this case, as the displayed image data, either a thumbnail image of the correction target image data or an image different from the correction target data may be used. In this case, it is preferable to display an image showing the appearance of the image data before color correction on the target color selection screen. The image data after color correction is processed by the pixel extraction unit 401 and the color correction execution unit 404 according to the color range stored in the target color holding unit 402 and the target color with respect to the data before color correction. It can be generated by implementation.

加えて、上述の実施形態では、デジタル複合機として本発明を具体化したが、デジタル複合機に限らず、プリンタ、複写機等の任意の画像処理装置に本発明を適用することも可能である。   In addition, in the above-described embodiment, the present invention is embodied as a digital multi-function peripheral. However, the present invention can be applied not only to a digital multi-function peripheral but also to an arbitrary image processing apparatus such as a printer or a copier. .

本発明によれば、所望の色補正をユーザが容易に設定することができ、画像処理装置として有用である。   According to the present invention, a user can easily set desired color correction, which is useful as an image processing apparatus.

100 複合機(画像処理装置)
120 画像読取部
140 画像形成部
201 ディスプレイ
401 画素抽出部
402 目標色保持部
403 目標色選択受付部
404 色補正実施部
405 登録用画像保持部
406 目標色抽出部
407 色範囲入力部
408 目標色登録部
409 判定部
410 補正対象画像保持部
411 画像保持部
1201 選択用画像保持部
1202 画像生成部
100 MFP (image processing device)
DESCRIPTION OF SYMBOLS 120 Image reading part 140 Image formation part 201 Display 401 Pixel extraction part 402 Target color holding | maintenance part 403 Target color selection reception part 404 Color correction implementation part 405 Registration image holding part 406 Target color extraction part 407 Color range input part 408 Target color registration 409 Determination unit 410 Correction target image holding unit 411 Image holding unit 1201 Selection image holding unit 1202 Image generation unit

Claims (4)

画像データに対して色補正を実施する画像処理装置であって、
補正対象の画像データから、予め指定された色範囲に属する画素を抽出する画素抽出部と、
前記予め指定された色範囲と対応づけて複数の目標色を格納する目標色保持部と、
前記目標色保持部に格納された複数の目標色から、ユーザによる1の目標色の選択を受け付ける目標色選択受付部と、
前記画素抽出部により抽出された画素の色と前記目標色選択受付部を通じて選択された目標色とに基づいて、前記補正対象の画像データに対して色補正を実施する色補正実施部と、
登録対象の目標色を含む画像データを保持する登録用画像保持部と、
前記登録用画像保持部に保持された画像データから前記登録対象の目標色を抽出する目標色抽出部と、
前記目標色抽出部により抽出された登録対象の目標色と対応づける新たな色範囲が入力される色範囲入力部と、
前記目標色抽出部により抽出された登録対象の目標色を、前記色範囲入力部に入力された新たな色範囲と対応づけて前記目標色保持部に登録する目標色登録部と、
を備える画像処理装置。
An image processing apparatus that performs color correction on image data,
A pixel extraction unit that extracts pixels belonging to a color range designated in advance from image data to be corrected;
A target color holding unit that stores a plurality of target colors in association with the previously specified color range;
A target color selection receiving unit that receives selection of one target color by the user from a plurality of target colors stored in the target color holding unit;
A color correction execution unit that performs color correction on the image data to be corrected based on the pixel color extracted by the pixel extraction unit and the target color selected through the target color selection receiving unit;
A registration image holding unit for holding image data including a target color to be registered;
A target color extraction unit that extracts the target color of the registration target from the image data held in the registration image holding unit;
A color range input unit for inputting a new color range to be associated with the target color to be registered extracted by the target color extraction unit;
A target color registration unit that registers the target color to be registered extracted by the target color extraction unit in the target color holding unit in association with the new color range input to the color range input unit;
An image processing apparatus comprising:
前記目標色抽出部は、予め指定された画像データの領域内の画素を抽出し、当該抽出した画素の色を登録対象目標色の候補として表示するとともにユーザによる登録対象目標色の選択を受け付ける、請求項1記載の画像処理装置。   The target color extraction unit extracts pixels in an area of image data designated in advance, displays the color of the extracted pixels as registration target target color candidates, and accepts selection of a registration target target color by a user. The image processing apparatus according to claim 1. 前記目標色抽出部により抽出された登録対象の目標色が前記目標色保持部に既登録の色範囲に属するか否かを判定する判定部をさらに備え、
前記判定部により前記既登録の色範囲に属さないと判定された場合に、前記目標色登録部が、前記目標色抽出部により抽出された登録対象の目標色を、前記色範囲入力部に入力された新たな色範囲と対応づけて前記目標色保持部に登録する、請求項1または2記載の画像処理装置。
A determination unit for determining whether the target color to be registered extracted by the target color extraction unit belongs to a color range already registered in the target color holding unit;
When the determination unit determines that the color does not belong to the registered color range, the target color registration unit inputs the target color to be registered extracted by the target color extraction unit to the color range input unit The image processing apparatus according to claim 1, wherein the image processing apparatus is registered in the target color holding unit in association with the new color range.
前記目標色抽出部により抽出された登録対象の目標色が前記目標色保持部に既登録の目標色に対して予め指定された色差条件を満足するか否かを判定する判定部をさらに備え、
前記判定部により前記色差条件を満足すると判定された場合に、前記目標色登録部が、前記目標色抽出部により抽出された登録対象の目標色を、前記色範囲入力部に入力された新たな色範囲と対応づけて前記目標色保持部に登録する、請求項1または2に記載の画像処理装置。
A determination unit for determining whether the target color to be registered extracted by the target color extraction unit satisfies a color difference condition specified in advance for the target color already registered in the target color holding unit;
When the determination unit determines that the color difference condition is satisfied, the target color registration unit inputs a new target color extracted by the target color extraction unit into the color range input unit. The image processing apparatus according to claim 1, wherein the image processing apparatus is registered in the target color holding unit in association with a color range.
JP2011237079A 2011-10-28 2011-10-28 Image processing device Active JP5502054B2 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP2011237079A JP5502054B2 (en) 2011-10-28 2011-10-28 Image processing device
CN201210376994.8A CN103095965B (en) 2011-10-28 2012-10-08 Image Processing Apparatus
EP12189472.9A EP2587787B1 (en) 2011-10-28 2012-10-22 Image processing apparatus
KR1020120119009A KR101453612B1 (en) 2011-10-28 2012-10-25 Image processing apparatus
US13/661,648 US8760720B2 (en) 2011-10-28 2012-10-26 Image processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011237079A JP5502054B2 (en) 2011-10-28 2011-10-28 Image processing device

Publications (2)

Publication Number Publication Date
JP2013098618A true JP2013098618A (en) 2013-05-20
JP5502054B2 JP5502054B2 (en) 2014-05-28

Family

ID=48620170

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011237079A Active JP5502054B2 (en) 2011-10-28 2011-10-28 Image processing device

Country Status (1)

Country Link
JP (1) JP5502054B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004215235A (en) * 2002-12-18 2004-07-29 Seiko Epson Corp Memory color adjustment for output picture
JP2006180202A (en) * 2004-12-22 2006-07-06 Fuji Xerox Co Ltd Color adjustment method, color adjustment apparatus, and program
JP2010005327A (en) * 2008-06-30 2010-01-14 Olympus Corp Dental image processing apparatus, system, method, and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004215235A (en) * 2002-12-18 2004-07-29 Seiko Epson Corp Memory color adjustment for output picture
JP2006180202A (en) * 2004-12-22 2006-07-06 Fuji Xerox Co Ltd Color adjustment method, color adjustment apparatus, and program
JP2010005327A (en) * 2008-06-30 2010-01-14 Olympus Corp Dental image processing apparatus, system, method, and program

Also Published As

Publication number Publication date
JP5502054B2 (en) 2014-05-28

Similar Documents

Publication Publication Date Title
JP5598727B2 (en) Image processing device
EP2784592B1 (en) Image forming apparatus, image forming method, and image forming program
US8760720B2 (en) Image processing apparatus
JP5661573B2 (en) Image forming apparatus and image forming system
JP5502053B2 (en) Image processing device
JP5069768B2 (en) Operating device and electronic device
JP2009088796A (en) Image forming apparatus
JP5868893B2 (en) Image processing device
US8797596B2 (en) Operating device used in color designation upon executing color correction and image processing apparatus
JP5879243B2 (en) Image display apparatus, image reading apparatus, and image forming apparatus
JP5502054B2 (en) Image processing device
US10834277B2 (en) Image forming apparatus including job end notification function and control method thereof
JP5705787B2 (en) Authentication apparatus and image forming apparatus
JP6169220B2 (en) Authentication apparatus and image forming apparatus
JP2008244619A (en) Image forming apparatus
JP6017607B2 (en) Authentication apparatus and image forming apparatus
JP2014011612A (en) Image forming apparatus
JP6054494B2 (en) Operating device and electronic device
JP2009225449A (en) Image processing apparatus and image processing method
JP2011160085A (en) Image forming apparatus
JP2011099971A (en) Image forming apparatus
JP2015143905A (en) Image processor
JP2009177406A (en) Image forming apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130321

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130823

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130918

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131108

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: 20140212

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140312

R150 Certificate of patent or registration of utility model

Ref document number: 5502054

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150