JP2001144986A - Image processing method, image processor and computer- readable recording medium - Google Patents

Image processing method, image processor and computer- readable recording medium

Info

Publication number
JP2001144986A
JP2001144986A JP32703499A JP32703499A JP2001144986A JP 2001144986 A JP2001144986 A JP 2001144986A JP 32703499 A JP32703499 A JP 32703499A JP 32703499 A JP32703499 A JP 32703499A JP 2001144986 A JP2001144986 A JP 2001144986A
Authority
JP
Japan
Prior art keywords
image
hue
unit
function
conversion
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
JP32703499A
Other languages
Japanese (ja)
Other versions
JP4017797B2 (en
Inventor
Koichi Watabe
康一 渡部
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.)
Fujifilm Holdings Corp
Original Assignee
Fuji Photo Film Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Photo Film Co Ltd filed Critical Fuji Photo Film Co Ltd
Priority to JP32703499A priority Critical patent/JP4017797B2/en
Publication of JP2001144986A publication Critical patent/JP2001144986A/en
Application granted granted Critical
Publication of JP4017797B2 publication Critical patent/JP4017797B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Processing Or Creating Images (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a technology that can respond to strong needs of improving the image quality in response to the preference of users and of acquisition of a special image effect. SOLUTION: An image input section 106 inputs an image to be processed. A function acquisition section 104 acquires a function to convert an angle when each pixel of the image is represented by the angle in a hue space. An image conversion section 106 converts the hue of each pixel according to the function to generate a 2nd image. The function has a prescribed dead zone at which an input angle is outputted as it is so as to inhibit a change in the color in the zone.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、画像処理技術に
関する。この発明は特に、画像の色変換機能を有する画
像処理装置および画像処理方法に関する。
[0001] The present invention relates to an image processing technique. The present invention particularly relates to an image processing apparatus and an image processing method having a color conversion function of an image.

【0002】[0002]

【従来の技術】プリンタ、PC(パーソナルコンピュー
タ)をはじめとするコンピュータ、各種画像処理または
編集装置において、画像の色に手を加える技術が知られ
ている。特開平2−128869号公報には、色変換機
能を有する色補正処理方法が開示されている。この方法
は、分光濃度データから記録濃度データへ色を補正する
際、同時に多重化とよばれる処理を加える。多重化は、
入力データの色相がその角度空間において一回転する間
に、出力データの色相を数回転させる処理とされる。こ
の方法は、例えばRGBデータからCMYデータへ変換
して記録、印刷等する機器への適用が考えられる。
2. Description of the Related Art In a computer such as a printer, a PC (personal computer), and various image processing or editing apparatuses, a technique for modifying the color of an image is known. JP-A-2-128869 discloses a color correction processing method having a color conversion function. This method adds a process called multiplexing at the same time as correcting the color from the spectral density data to the recording density data. Multiplexing is
While the hue of the input data makes one rotation in the angle space, the hue of the output data is rotated several times. This method can be applied to a device that converts, for example, RGB data into CMY data, and records, prints, or the like.

【0003】[0003]

【発明が解決しようとする課題】前述の色補正処理方法
は、処理の効率化を目的とする。すなわち、分光濃度デ
ータから記録濃度データへの色補正と多重化処理を同時
に実現することで、両者を別々に行う過去の処理を改善
するものである。
The above-described color correction processing method aims to increase the processing efficiency. That is, by realizing the color correction from the spectral density data to the recording density data and the multiplexing process at the same time, it is possible to improve the past process of performing both separately.

【0004】しかしながら、デジタルカメラ、カラープ
リンタなどの普及が著しい今日、ユーザが思い通りに画
質を改善したり、独自の画像を作り出すことに対する要
請が強く、前述の色補正処理方法は必ずしもそれに応え
るものではない。
[0004] However, in today's widespread use of digital cameras, color printers, and the like, there is a strong demand for users to improve the image quality as desired or to create their own images, and the above-described color correction processing method does not always meet the demands. Absent.

【0005】この発明はこうした点に鑑みてなされたも
のであり、その目的は、画像の主観画質の改善や画像に
特殊効果を施すための技術を提供することにある。この
目的は特許請求の範囲における独立項に記載の特徴の組
合せにより達成される。また従属項は、本発明の具体的
かつ有用な形態を規定する。
[0005] The present invention has been made in view of such a point, and an object of the present invention is to provide a technique for improving the subjective image quality of an image and applying a special effect to the image. This object is achieved by a combination of features described in the independent claims. The dependent claims define specific and useful aspects of the present invention.

【0006】[0006]

【課題を解決するための手段】本発明のある形態は画像
処理装置である。この装置は、画像を入力する画像入力
部と、前記画像の色相について定められ、かつ所定の不
動区間を含む変換関数を取得する関数取得部と、前記変
換関数に従い前記画像の構成単位ごとにその色相を変換
して第二の画像を生成する変換部とを含む。
One embodiment of the present invention is an image processing apparatus. This apparatus is an image input unit that inputs an image, a function acquisition unit that determines a hue of the image, and acquires a conversion function that includes a predetermined immobile section, and a function acquisition unit that obtains a conversion function for each of the constituent units of the image according to the conversion function. A conversion unit configured to convert a hue to generate a second image.

【0007】関数の定義域のある区間について、その関
数が恒等写像となるとき、その区間を「不動区間」とよ
ぶ。この装置では、不動区間を設けることで、その区間
の色相を維持したまま、それ以外の色相を他の色相へ変
換する。「画像の構成単位」の例として画素やある程度
細分化された画像ブロックがある。
When a function becomes an identity map for a certain section of the domain of the function, the section is called an "immobile section". In this device, by providing an immobile section, the other hues are converted to other hues while maintaining the hue of the section. Examples of the “image constituent unit” include a pixel and an image block that is subdivided to some extent.

【0008】前記変換関数は周期性のある色相空間につ
いて定められ、かつその空間において連続関数であって
もよい。周期性の例として、0〜360°の角度で示さ
れる色相空間がある。連続関数を採用することにより、
色の滑らかな変換が実現する。
The conversion function may be defined for a periodic hue space, and may be a continuous function in that space. As an example of the periodicity, there is a hue space indicated by an angle of 0 to 360 °. By adopting a continuous function,
Smooth color conversion is realized.

【0009】不動区間は、画像に含まれる注目領域の色
相に関連して定められてもよい。例えば、人物やその顔
を注目領域とし、その肌の色相を中心に不動区間を定め
てもよい。その場合、肌の色は変換を受けず、他の色が
変換される。前記画像変換部は、輝度を維持したまま色
相を変換してもよい。
The immovable section may be determined in relation to the hue of the region of interest included in the image. For example, a person or its face may be used as a region of interest, and an immovable section may be defined around the hue of the skin. In that case, the skin color is not converted and other colors are converted. The image converter may convert hue while maintaining luminance.

【0010】前記関数取得部は、ユーザの指示を参照し
て前記変換関数を取得してもよい。この画像処理装置は
また、プレビュー制御部を有してもよい。プレビュー制
御部は、前記変換関数によって得られるべき前記第二の
画像のプレビュー画像を生成する。この画像処理装置は
また、色指定部を有してもよい。色指定部は、前記変換
によって色相を変化または維持させるべき色を指定す
る。例えば画面上の点を選択することでその点の色を指
定してもよい。
[0010] The function acquiring section may acquire the conversion function with reference to a user's instruction. This image processing device may also have a preview control unit. The preview control unit generates a preview image of the second image to be obtained by the conversion function. This image processing device may also have a color designation unit. The color designating unit designates a color whose hue is to be changed or maintained by the conversion. For example, by selecting a point on the screen, the color of the point may be designated.

【0011】この画像処理装置はさらに領域指定部を有
してもよい。領域指定部は、前記変換によって色相を変
化または維持させるべき領域を指定する。指定は、その
領域を囲む境界線で行ってもよい。この画像処理装置は
また、関数編集部を有してもよい。関数編集部は、ユー
ザの指示に基づき前記変換関数を修正したり新規作成す
るなどの編集をする。
This image processing apparatus may further have an area designating section. The region designating unit designates a region in which the hue is to be changed or maintained by the conversion. The designation may be made with a boundary line surrounding the area. This image processing device may also have a function editing unit. The function editing unit edits the conversion function based on a user's instruction, such as correcting or newly creating the conversion function.

【0012】本発明の別の形態は、画像処理方法であ
る。この方法は、画像の色相について定められ、かつ所
定の不動区間を含む変換関数を取得するステップと、前
記変換関数に従い、前記画像の構成単位ごとにその色相
を変換し、第二の画像を生成するステップとを含む。こ
れらのステップをコンピュータに実行せしめるプロジェ
クトとしてプログラムを格納した記録媒体を提供しても
よい。
Another embodiment of the present invention is an image processing method. The method comprises the steps of: obtaining a conversion function defined for a hue of an image and including a predetermined immovable section; converting the hue for each constituent unit of the image according to the conversion function to generate a second image Performing the steps. A recording medium storing a program may be provided as a project that causes a computer to execute these steps.

【0013】なお以上の発明の概要は、本発明に必要な
すべての特徴を列挙したものではなく、当然ながら、こ
れらの特徴群のサブコンビネーションもまた発明となり
うる。
The above summary of the invention does not list all the features required for the present invention, and naturally, a sub-combination of these features can also be an invention.

【0014】[0014]

【発明の実施の形態】以下の実施の形態は、特許請求の
範囲に記載された発明を限定するものではなく、また実
施の形態の中で説明されている特徴の組合せのすべてが
発明の解決手段に必須であるとは限らない。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The following embodiments do not limit the invention described in the claims, and all combinations of features described in the embodiments are solutions of the invention. It is not always necessary for the means.

【0015】ここで実施の形態に係る画像処理装置を組
み込んだシステムの例として、カラー感熱プリンタを説
明する。そのための予備知識として、まずカラー感熱紙
の概要を述べる。
Here, a color thermal printer will be described as an example of a system incorporating the image processing apparatus according to the embodiment. First, an outline of color thermal paper will be described as preliminary knowledge.

【0016】カラー感熱紙は、例えば支持体のうえにシ
アン、マゼンタ、イエローの各感熱層、および透明保護
層が下からこの順に形成されている。各感熱層を発色さ
せるために加えるべき熱エネルギーは異なり、通常はい
ちばん下のシアン感熱層のエネルギーが最も高く、いち
ばん上のイエロー感熱層のエネルギーが最も低い。この
ため、熱エネルギーを調節して各感熱層を順に発色させ
ることができる。
The color thermosensitive paper has, for example, a cyan, magenta, and yellow thermosensitive layer and a transparent protective layer formed in this order from the bottom on a support. The thermal energy to be applied to each heat-sensitive layer to develop a color is different, and the energy of the lowermost cyan heat-sensitive layer is usually the highest, and the energy of the uppermost yellow heat-sensitive layer is usually the lowest. Therefore, the heat energy can be adjusted so that each heat-sensitive layer can be colored sequentially.

【0017】加熱後に得られたイエローとマゼンタの感
熱層の色は、異なる紫外線によって定着する。例えば、
イエロー、マゼンタの感熱層の最大吸収波長はそれぞれ
約420nmと約365nmで、これらの感熱層にそれ
ぞれ対応する最大吸収波長にエネルギーピークをもつ紫
外線を照射すると、色が定着する。定着により、記録済
みの感熱層が次の感熱層の記録中に再発色しなくなる。
The colors of the yellow and magenta heat-sensitive layers obtained after heating are fixed by different ultraviolet rays. For example,
The maximum absorption wavelengths of the yellow and magenta heat-sensitive layers are about 420 nm and about 365 nm, respectively. When the heat-sensitive layers are irradiated with ultraviolet light having an energy peak at the maximum absorption wavelength corresponding to each, the color is fixed. Fixing prevents the recorded thermosensitive layer from re-coloring during the recording of the next thermosensitive layer.

【0018】イエロー、マゼンタ、シアンを記録すると
き、それぞれの色についてバイアス熱エネルギーと階調
熱エネルギーのふたつの熱エネルギーが加えられる。
バイアス熱エネルギーは、各色の感熱層が発色するため
に必要な熱エネルギーより少し低く、記録に先立ちカラ
ー感熱紙に与えられる。バイアス熱エネルギーは、後述
のバイアスデータを参照して定められる。一方、階調熱
エネルギーは、記録すべき色の階調レベルによって定ま
り、バイアス加熱後に印加される。階調熱エネルギー
は、後述の画像データによって決まる。
When printing yellow, magenta, and cyan, two heat energies, bias heat energy and gradation heat energy, are applied to each color.
The bias heat energy is slightly lower than the heat energy required for the heat-sensitive layer of each color to develop a color, and is applied to the color heat-sensitive paper prior to recording. The bias thermal energy is determined with reference to bias data described later. On the other hand, the gradation thermal energy is determined by the gradation level of the color to be recorded, and is applied after bias heating. The gradation heat energy is determined by image data described later.

【0019】図1はカラー感熱プリンタの概略構成であ
る。実施の形態に係る画像処理装置は、図2で示すごと
く、主にプリンタ10のコントローラ12とシステムメ
モリ14に格納された画像処理プログラムの共働により
実現される。
FIG. 1 is a schematic configuration of a color thermal printer. The image processing apparatus according to the embodiment is realized mainly by the cooperation of the controller 12 of the printer 10 and the image processing program stored in the system memory 14, as shown in FIG.

【0020】プリンタ10は装置全体を制御するコント
ローラ12をもつ。コントローラ12は、例えば汎用の
マイクロプロセッサで構成できる。システムメモリ14
は、プリンタ10の制御プログラム、システムプログラ
ム、その他システム情報を格納する。システムメモリ1
4は、DRAMやSRAMなどで構成してもよいし、F
LASHメモリその他EEPROM(電気的消去および
プログラム可能メモリ)などの不揮発性メモリで構成し
てもよい。この実施の形態では、システムメモリ14の
中に、コントローラ12がサーマルヘッド32の制御の
ために適宜参照するLUT(ルックアップテーブル)が
設けられる。
The printer 10 has a controller 12 for controlling the entire apparatus. The controller 12 can be composed of, for example, a general-purpose microprocessor. System memory 14
Stores a control program of the printer 10, a system program, and other system information. System memory 1
4 may be composed of a DRAM, an SRAM, or the like.
It may be constituted by a nonvolatile memory such as a LASH memory or an EEPROM (electrically erasable and programmable memory). In this embodiment, the system memory 14 is provided with an LUT (lookup table) which the controller 12 refers to appropriately for controlling the thermal head 32.

【0021】コントローラ12は、プリンタ10の各部
と、データバス60およびコントロールバス62で処理
に必要なデータ、コマンド、ステータス等の信号の授受
を行う。コントローラ12は、通信I/F部52や、図
示しないセントロニクスI/Fコネクタを介してPCな
どの外部機器(図示せず)から印刷要求と印刷すべき画
像データを受け取る。印刷要求に従い、コントローラ1
2はサーマルヘッド32で発生すべき熱エネルギーの制
御を行う。
The controller 12 sends and receives signals such as data, commands, and status necessary for processing to and from various parts of the printer 10 via the data bus 60 and the control bus 62. The controller 12 receives a print request and image data to be printed from an external device (not shown) such as a PC via a communication I / F unit 52 or a Centronics I / F connector (not shown). According to the print request, the controller 1
Numeral 2 controls thermal energy to be generated by the thermal head 32.

【0022】外部装置制御部46は、画像が格納された
メモリカード、フロッピーディスク、ハードディスクな
どの任意の記憶装置や、種々のI/O機能を有するPC
MCIA準拠のカード等(以下総括的に「外部装置」と
いう)を制御する。プリンタ10は、外部装置から印刷
すべき画像データを取得してもよい。
The external device control section 46 is an arbitrary storage device such as a memory card, a floppy disk, or a hard disk in which images are stored, or a PC having various I / O functions.
It controls an MCIA-compliant card or the like (hereinafter, collectively referred to as “external device”). The printer 10 may acquire image data to be printed from an external device.

【0023】表示ユニット64は、例えばLCDとその
ドライバを含み、プリンタ10の動作状態や設定状態、
入力されたユーザの指示等を表示する。操作ユニット6
6は、プリンタ10にユーザの指示を入力するためのメ
ニューボタン、選択ボタン、数値キー等を含む。タッチ
パネルを用いる場合、表示ユニット64と操作ユニット
66は一体に成形される。
The display unit 64 includes, for example, an LCD and its driver, and operates and sets the printer 10.
The input user's instructions and the like are displayed. Operation unit 6
Reference numeral 6 includes a menu button, a selection button, a numerical key, and the like for inputting a user's instruction to the printer 10. When a touch panel is used, the display unit 64 and the operation unit 66 are integrally formed.

【0024】画像メモリ16は、イエロー(Y)画像メ
モリ16a、マゼンタ(M)画像メモリ16b、シアン
(C)画像メモリ16cをもつ。各画像メモリ16a〜
16cはそれぞれ対応する色データを格納する。カラー
感熱紙30への記録の際、各色の画像データが画像メモ
リ16から1ラインずつ読み出され、画像ラインメモリ
18に書き込まれる。
The image memory 16 has a yellow (Y) image memory 16a, a magenta (M) image memory 16b, and a cyan (C) image memory 16c. Each image memory 16a-
16c stores corresponding color data. At the time of recording on the color thermal paper 30, image data of each color is read line by line from the image memory 16 and written to the image line memory 18.

【0025】バイアスラインメモリ20は1ライン分の
バイアスデータを保持する。バイアスデータは、例えば
多数存在する発熱素子(後述)の抵抗値のバラツキを補
正するために、発熱素子毎に設定される。
The bias line memory 20 holds one line of bias data. The bias data is set for each heating element, for example, in order to correct a variation in resistance values of a large number of heating elements (described later).

【0026】ストローブ回路24はコントローラ12の
指示に従い、所定のデューティ比をもつストローブパル
スを発生し、これをヘッド駆動部26に送る。セレクタ
22はまずバイアスラインメモリ20から1ライン分の
バイアスデータを読み出し、ヘッド駆動部26に送る。
つづいて画像ラインメモリ18から1ライン分の画像デ
ータを読み出し、ヘッド駆動部26に送る。
The strobe circuit 24 generates a strobe pulse having a predetermined duty ratio in accordance with an instruction from the controller 12, and sends the generated strobe pulse to the head drive unit 26. The selector 22 first reads one line of bias data from the bias line memory 20 and sends it to the head drive unit 26.
Subsequently, one line of image data is read from the image line memory 18 and sent to the head drive unit 26.

【0027】ヘッド駆動部26は、ライン毎にバイアス
データおよび画像データに対応する発熱を起因する駆動
データを発生する。駆動データと前述のストローブパル
スとの間で論理積がとられ、駆動パルスが出力される。
駆動データが「1」のとき駆動パルスも「1」となり、
サーマルヘッド32の各発熱素子について設けられたト
ランジスタを駆動する。これにより各発熱素子が発熱す
る。
The head drive unit 26 generates drive data due to heat generation corresponding to bias data and image data for each line. An AND operation is performed between the drive data and the above-described strobe pulse, and a drive pulse is output.
When the drive data is “1”, the drive pulse also becomes “1”,
A transistor provided for each heating element of the thermal head 32 is driven. As a result, each heating element generates heat.

【0028】ローラ対36はパルスモータ48によって
双方向に回転し、カラー感熱紙30を搬送路において往
復動作させる。このほかにも、図示しないローラ対によ
り、カラー感熱紙30の搬送路が形成されている。搬送
路の上面にはサーマルヘッド32が配され、これと対向
する搬送路下面にプラテンローラ44が設けられる。
The roller pair 36 is bidirectionally rotated by a pulse motor 48, and reciprocates the color thermosensitive paper 30 in the transport path. In addition, a transport path for the color thermal paper 30 is formed by a pair of rollers (not shown). A thermal head 32 is disposed on the upper surface of the transport path, and a platen roller 44 is provided on the lower surface of the transport path opposite to the thermal head 32.

【0029】サーマルヘッド32は、カラー感熱紙の幅
の方向にライン状に配された発熱素子アレイ32aをも
つ。このアレイは多数の発熱素子を含む。サーマルヘッ
ド32は、プラテンローラ44上のカラー感熱紙30に
発熱素子アレイ32aを圧接する第1の位置と、それら
の間隔をおく第2の位置を有する。サーマルヘッド32
は、カラー感熱紙30の搬送中にラインごとに1色ずつ
画像を記録し、カラー感熱紙30が3回往復するとカラ
ー画像が完成する。なお、色毎にサーマルヘッドを設け
てもよく、その場合、1回の往復でカラー画像が完成す
る。
The thermal head 32 has a heating element array 32a arranged linearly in the width direction of the color thermal paper. This array includes a number of heating elements. The thermal head 32 has a first position at which the heating element array 32a is pressed against the color thermal paper 30 on the platen roller 44, and a second position at which a space is provided between them. Thermal head 32
Prints an image for each color for each line while the color thermal paper 30 is being conveyed, and when the color thermal paper 30 reciprocates three times, a color image is completed. Note that a thermal head may be provided for each color, in which case a color image is completed by one reciprocation.

【0030】ローラ対36から見て搬送路の先にイエロ
ー定着部40とマゼンタ定着部42が設けられる。イエ
ロー定着部40とマゼンタ定着部42は、それぞれ前述
のエネルギーピークを有する紫外線を放射する紫外線ラ
ンプ40a、42aをもつ。ランプ駆動部28は、イエ
ローの記録時はイエロー用の紫外線ランプ40aのみ、
またマゼンタの記録時はマゼンタ用の紫外線ランプ42
bのみをそれぞれ点灯させる。
A yellow fixing section 40 and a magenta fixing section 42 are provided at the end of the conveying path when viewed from the roller pair 36. The yellow fixing unit 40 and the magenta fixing unit 42 respectively have ultraviolet lamps 40a and 42a that emit ultraviolet light having the above-described energy peak. The lamp driving unit 28 is configured such that at the time of yellow recording, only the ultraviolet lamp 40a for yellow is used.
When recording magenta, an ultraviolet lamp 42 for magenta is used.
Only b is turned on.

【0031】イエロー定着部40には、紫外線強度を測
定する照度センサ50が設けられている。照度センサ5
0の測定信号は、コントローラ12に送られ、必要な照
度補正が行われる。なお、感熱層の積層の順番が異なる
ときでも、最も上の層を定着する紫外線の照射量に基づ
いて、次に記録する中間層の発色熱エネルギーを調節す
ればよい。
The yellow fixing section 40 is provided with an illuminance sensor 50 for measuring the intensity of ultraviolet rays. Illuminance sensor 5
The measurement signal of 0 is sent to the controller 12, where necessary illuminance correction is performed. Even when the order of lamination of the heat-sensitive layers is different, the coloring heat energy of the intermediate layer to be recorded next may be adjusted based on the irradiation amount of the ultraviolet ray for fixing the uppermost layer.

【0032】図2は、プリンタ10に組み込まれた画像
処理装置100の概略構成を示す。画像処理装置100
は画像が明度と色度で表示されているとき、その色度の
色相を角度で表示し、その角度を変換して色相を変換す
る。これによる画像の主観品質の改善や特殊効果などを
目的とする。
FIG. 2 shows a schematic configuration of the image processing apparatus 100 incorporated in the printer 10. Image processing device 100
When an image is displayed in brightness and chromaticity, the hue of the chromaticity is displayed in an angle, and the angle is converted to convert the hue. The objective is to improve the subjective quality of the image and special effects.

【0033】画像処理装置100は、画像メモリ16そ
の他から画像データを入力する画像入力部102と、色
相の変換関数を取得する関数取得部104と、入力され
た画像に変換関数を作用させ、第2の画像を生成する画
像変換部106を含む。関数ディレクトリ108には複
数の変換関数が予め登録されており、関数取得部104
は必要に応じて利用可能な変換関数を選択、取得する。
The image processing apparatus 100 includes an image input unit 102 for inputting image data from the image memory 16 and the like, a function obtaining unit 104 for obtaining a hue conversion function, and a conversion function for the input image. And an image conversion unit 106 that generates the second image. A plurality of conversion functions are registered in the function directory 108 in advance.
Selects and obtains available conversion functions as needed.

【0034】プレビュー制御部118は、前記第2の画
像をプレビュー画像の形式に変換して図1の表示ユニッ
ト64へ送る。第2の画像は、外部装置制御部46、通
信I/F部52等へ送られ、必要に応じて外部装置への
記録や送信が行われる。
The preview control unit 118 converts the second image into a preview image format and sends it to the display unit 64 in FIG. The second image is sent to the external device control unit 46, the communication I / F unit 52, and the like, and is recorded and transmitted to the external device as needed.

【0035】ユーザ関連機能ユニット110は、ユーザ
の指示を色相の変換に結びつける機能群で、図1の操作
ユニット66の一部または拡張として設けられる。この
ユニットは、変換すべき色を指定する色指定部112
と、ユーザの指示にしたがって変換関数を編集する関数
編集部114と、色を変換すべき領域を画像上で指定す
る領域指定部116を含む。色指定部112と関数編集
部114は、直接変換関数に作用する一方、領域指定部
116は変換関数が作用すべき画像領域を定義する。な
お、色や領域の指定、または編集中の変換関数に関する
情報は適宜表示ユニット64へ送られ、ユーザの利用に
供される。
The user-related function unit 110 is a function group for linking a user's instruction to hue conversion, and is provided as a part or extension of the operation unit 66 in FIG. This unit includes a color specifying unit 112 for specifying a color to be converted.
And a function editing unit 114 that edits a conversion function according to a user's instruction, and an area specifying unit 116 that specifies an area to be converted in color on the image. The color specifying unit 112 and the function editing unit 114 directly operate on the conversion function, while the area specifying unit 116 defines an image area on which the conversion function should operate. Note that information on the designation of a color or area or the conversion function being edited is appropriately sent to the display unit 64 and used by the user.

【0036】画像処理装置100は、色相の変換に当た
り変換関数を参照する。変換関数に入力される画像デー
タの色相の定義域(以下φiで表す)、および変換関数
の出力である変換後の色相の値域(以下φtで表す)
は、ともに色相空間における角度である。この実施の形
態における変換関数の特徴は、不動点が連続する区間、
つまり不動区間(以下[φa,φb]と表記する)をも
つことにある。すなわち変換関数fは、
The image processing apparatus 100 refers to a conversion function when converting a hue. Hue domain of image data input to the conversion function (hereinafter represented by φi), and hue value range after conversion which is the output of the conversion function (hereinafter represented by φt)
Are both angles in the hue space. The feature of the conversion function in this embodiment is that a fixed point is a continuous section,
That is, it has an immovable section (hereinafter referred to as [φa, φb]). That is, the conversion function f is

【0037】 f(φi)=φi: ∀φi∈[φa,φb] を満たす。[φa,φb]を肌色付近にとれば、肌色の
色相は不変のまま、他の色相を変換できる。この場合、
人の皮膚を不自然な色にすることなく、他の色を変換す
る特殊効果を得ることができる。
F (φi) = φi: {φi} [φa, φb] is satisfied. If [φa, φb] is set near the flesh color, another hue can be converted while the hue of the flesh color remains unchanged. in this case,
A special effect of converting another color can be obtained without making the human skin an unnatural color.

【0038】変換関数の別の特徴は連続関数である点に
ある。不連続な点があると、その点において変換後の色
相が不連続になり、不自然さが生じることがある。ただ
し、特殊効果を得る目的上、あえて不連続性を出しても
よい。角度表示の色相空間は例えば0〜360°や−1
80〜180°のような範囲で周期性を有するため、変
換関数もその範囲の両端のφiに対して同じφtを返す
ものとする。すなわち上記のふたつの定義域について、
それぞれ、
Another feature of the conversion function is that it is a continuous function. If there is a discontinuous point, the hue after conversion at that point becomes discontinuous, which may cause unnaturalness. However, for the purpose of obtaining a special effect, a discontinuity may be intentionally generated. The hue space of the angle display is, for example, 0 to 360 ° or -1.
Since it has periodicity in the range of 80 to 180 °, the conversion function returns the same φt for φi at both ends of the range. That is, for the above two domains,
Respectively,

【0039】 f(0)=f(360)+360n ただしnは整数 または、 f(−180)=f(180)−180+360n た
だしnは整数 などを満たすよう設定する。
F (0) = f (360) + 360n where n is an integer or f (−180) = f (180) −180 + 360n where n is an integer.

【0040】ここで具体的に、[φa,φb]以外の角
度を直線的に変換する関数を示す。まず、 φp=φb−φa h=(360n+360−φp)/(360−φp)
ただしnは自然数 とする。このとき、φi>φbについては、 φt=f(φi)=h(φi−φb)+φb (式1) φi<φaについては、 φt=f(φi) =h(φi+180)−180+h(180−φb)+(φb−180) (式2) とする。これが求める変換関数である。
Here, a function for linearly converting an angle other than [φa, φb] is specifically shown. First, φp = φb−φah = (360n + 360−φp) / (360−φp)
Here, n is a natural number. At this time, for φi> φb, φt = f (φi) = h (φi−φb) + φb (Formula 1) For φi <φa, φt = f (φi) = h (φi + 180) −180 + h (180−φb) ) + (Φb−180) (formula 2). This is the required conversion function.

【0041】いま画像データがそれぞれ8ビットの輝度
および色差Y、Cr、Cbで表されているとする。これ
らのパラメータとRGBの変換式は一般に、 Y=0.2990R+0.5870G+0.1140B Cr=0.5000R−0.4187G−0.0813B+128 (式3) Cb=−0.1687R−0.3313G−0.5000B+128 (式4) である。ここでCrとCbの「128」の項は、データ
を8ビットの0〜255で表す便宜のために足されてい
る。したがって、式3、4からこの実施の形態で用いる
色相の座標軸の例として、
It is assumed that the image data is represented by 8-bit luminance and color difference Y, Cr, Cb. The conversion equation between these parameters and RGB is generally Y = 0.2990R + 0.5870G + 0.1140B Cr = 0.5000R−0.4187G−0.0813B + 128 (Equation 3) Cb = −0.1687R−0.3313G−0.5000B + 128 (Equation 4) . Here, the term “128” of Cr and Cb is added for convenience of representing data with 8 bits of 0 to 255. Therefore, from Equations 3 and 4, as an example of the hue coordinate axes used in this embodiment,

【0042】cr=Cr−128 (式5) cb=Cb−128 (式6) をとることができ、色相の角度表示φ(φiまたはφ
t)は、 φ=tan−1(cr/cb) (式7) と定義できる。
Cr = Cr-128 (Equation 5) cb = Cb-128 (Equation 6), and the hue angle display φ (φi or φ
t) can be defined as φ = tan −1 (cr / cb) (Equation 7).

【0043】図3はcrとcbを用いて角度表示した色
相を示す。同図のM、B、C、G、Y、Rはそれぞれマ
ゼンタ、青、シアン、緑、黄色、赤のおよその角度を示
している。ここでは−180〜180°の範囲を設定
し、肌色が確実に含まれる90〜180°を不動区間1
30とする。すなわち、φa=90、φb=180であ
る。また、簡単のため式1、2でn=1とすればh=7
/3となり、変換関数は不動領域130以外の領域(以
下「処理領域132」という)、つまりφi<90にお
いて、 φt=f(φi)=(φi+180)・7/3−180 (式8) と簡単になる。
FIG. 3 shows a hue angle-displayed using cr and cb. In the drawing, M, B, C, G, Y, and R indicate approximate angles of magenta, blue, cyan, green, yellow, and red, respectively. Here, the range of -180 to 180 ° is set, and 90 to 180 °, in which the flesh color is definitely included, is set to the immovable section 1.
30. That is, φa = 90 and φb = 180. For simplicity, if n = 1 in equations 1 and 2, h = 7
/ 3, and the conversion function is an area other than the immobile area 130 (hereinafter referred to as “processing area 132”), that is, φi <90, φt = f (φi) = (φi + 180) · 7 / 3−180 (Equation 8) It's easy.

【0044】図4はこの変換関数を示す。同図のごと
く、不動領域130である90〜180°ではφt=φ
iが守られている。画像変換部106は、式8に基づ
き、画像の各画素について色相の変換をなせばよい。
FIG. 4 shows this conversion function. As shown in the figure, φt = φ at 90 to 180 ° which is the immobile region 130.
i is protected. The image conversion unit 106 may perform hue conversion for each pixel of the image based on Expression 8.

【0045】図5は、画像変換部106が行う処理を示
すフローチャートである。同図のごとく、入力された画
像データを色相の角度表示に変更するため、前処理S1
0、S12、S14を行う。まず画像データのある画素
について、輝度および色差Y、Cr、Cbを取得する
(S10)。つづいて、式5、6に従い、色相空間(図
3)における座標(cr,cb)を求める(S12)。
つぎに、式7に従い、変換関数の入力をφiとして取得
する(S14)。
FIG. 5 is a flowchart showing the processing performed by the image conversion unit 106. As shown in the figure, in order to change the input image data to the hue angle display, the preprocessing S1 is performed.
0, S12, and S14 are performed. First, luminance and color differences Y, Cr, and Cb are obtained for a pixel having image data (S10). Subsequently, the coordinates (cr, cb) in the hue space (FIG. 3) are obtained according to Equations 5 and 6 (S12).
Next, the input of the conversion function is obtained as φi according to Equation 7 (S14).

【0046】S16、S18、およびS24の処理は、
画像変換部106に通知された変換関数によって決ま
る。この例の場合、φiは−180〜180°で定義さ
れ、かつ不動区間130が90〜180°であるから、
不動区間130と処理区間132の区別は単にφiと9
0°の比較で足りる(S16)。いまφi<90°であ
れば(S16のY)、式8によって変換したφtを求め
る(S18)。つづいて、このφtに対応する色相空間
における座標(cr1,cb1)を求める(S20)。
この後、cr1とcb1にそれぞれ128を加えること
で、最終的に変換後の色差CR、CBが求められる(S
22)。
The processing of S16, S18, and S24 is as follows.
It is determined by the conversion function notified to the image conversion unit 106. In this example, φi is defined as −180 to 180 °, and the immobile section 130 is 90 to 180 °,
The distinction between the immobile section 130 and the processing section 132 is simply φi and 9
A comparison of 0 ° is sufficient (S16). If φi <90 ° (Y in S16), φt converted by Expression 8 is obtained (S18). Subsequently, coordinates (cr1, cb1) in the hue space corresponding to the φt are obtained (S20).
Thereafter, 128 is added to each of cr1 and cb1 to finally obtain the converted color differences CR and CB (S
22).

【0047】一方、S16の判断においてφi≧90°
であれば(S16のN)、変換処理を施さないため、c
rとcbをそれぞれいったんcr1とcb1へ退避し
(S24)。S22の処理に渡す。この結果、CR=C
r、CB=Cbなる無変換処理が実現する。以上一連の
処理をすべての画素について行うことで実施の形態に係
る画像処理は完了する。
On the other hand, in the judgment of S16, φi ≧ 90 °
If (N in S16), since no conversion process is performed, c
r and cb are once saved to cr1 and cb1, respectively (S24). The process is passed to S22. As a result, CR = C
The non-conversion process of r, CB = Cb is realized. The image processing according to the embodiment is completed by performing the above series of processing for all the pixels.

【0048】ここでは輝度Yはそのまま維持したが、こ
れは色相のみの変更で自然な画像を生成しやすいためで
ある。実験でも、画像のいずれの部分の色を変更したか
視認できないほど自然な画像が得られている。もちろ
ん、輝度Yの変換も同時に行っても差し支えはなく、そ
の効果のほどは後述のプレビュー画像で確かめることが
できる。
Here, the luminance Y is kept as it is because a natural image is easily generated by changing only the hue. Experiments have also provided images that are so natural that it is not possible to see which part of the image has changed color. Of course, the conversion of the luminance Y can be performed at the same time, and the effect can be confirmed in a preview image described later.

【0049】画像処理装置100は、ユーザの好みに応
じた色変換を行うために、種々の機能を提供する。図6
は、色指定部112によって変更すべき色を指定する手
順を示す。ここではふたりの人物142、144が映し
出された画像140を考える。第1の人物142は黄色
い衣服146を着ており、第2の人物144は青い衣服
148を着ている。ユーザは、例えばマウスなどのポイ
ンティングデバイスで第2の人物144の衣服上のある
点Pを指す。この点Pの画素は青であるから、色指定部
112は変換元の色として「青」を取得する。
The image processing apparatus 100 provides various functions for performing color conversion according to the user's preference. FIG.
Shows a procedure for specifying a color to be changed by the color specifying unit 112. Here, consider an image 140 in which two persons 142 and 144 are projected. The first person 142 is wearing yellow clothing 146 and the second person 144 is wearing blue clothing 148. The user points to a point P on the clothes of the second person 144 with a pointing device such as a mouse. Since the pixel at this point P is blue, the color designation unit 112 acquires “blue” as the conversion source color.

【0050】つづいて変換先の色を決めるべく、色指定
部112は表示ユニット64にパレット150を表示さ
せる。パレット150には第1から第4の色候補が表示
されている。ユーザがパレット150から赤をクリック
したとする。これで変換先の色が「赤」として取得され
る。色指定部112は、 (変換元、変換先)=(青、赤) の情報を関数取得部104に送る。関数取得部104
は、この情報を探索の条件として変換関数を関数ディレ
クトリ108から探しだし、画像変換部106へ送付す
る。
Subsequently, the color designation section 112 causes the display unit 64 to display the pallet 150 in order to determine the destination color. The palette 150 displays first to fourth color candidates. It is assumed that the user clicks red on the palette 150. Thus, the color of the conversion destination is acquired as “red”. The color designation unit 112 sends information of (conversion source, conversion destination) = (blue, red) to the function acquisition unit 104. Function acquisition unit 104
Searches for a conversion function from the function directory 108 using this information as a search condition and sends it to the image conversion unit 106.

【0051】図7は、取得された変換関数を示す。
「青」は−20〜−10°付近に広がっているため、こ
こでは−50〜10°の範囲を「赤」である110°へ
変換している。これで、第2の人物144の衣服148
が青から赤へ変わる。色変換の結果はプレビュー制御部
118を介して表示ユニット64に表示される。なお、
ここでは点Pの画素の色を変更したが、色指定部112
は、「指定された色を変更」するか、逆に「指定された
色以外の色を変更」するか、ユーザに確認する構成とし
てもよい。
FIG. 7 shows the obtained conversion function.
Since “blue” extends around −20 to −10 °, the range from −50 to 10 ° is converted to 110 ° that is “red” here. Thus, the clothes 148 of the second person 144
Changes from blue to red. The result of the color conversion is displayed on the display unit 64 via the preview control unit 118. In addition,
Here, the color of the pixel at the point P has been changed.
May be configured to confirm with the user whether to "change the designated color" or conversely, "change the color other than the designated color".

【0052】図8は、別の変換関数を示す。この例で
は、肌色付近を除き、画像全体を赤く変換する。つま
り、第1の人物142、第2の人物144の顔はもとの
色に残しつつ、その他の部分を赤いフィルターで覗いた
ような画像に作り替えることができる。色指定部112
は例えば「肌色を除く」、「全体を赤く」などの選択肢
を用意し、ユーザがこれをクリックすればよい。
FIG. 8 shows another conversion function. In this example, the entire image is converted to red except for the area near the skin color. In other words, the face of the first person 142 and the face of the second person 144 can be reconstructed into an image as if the other parts were viewed with a red filter while leaving the original color. Color designation section 112
For example, the user may prepare an option such as "Remove flesh color" or "Whole red" and click on this.

【0053】関数編集部114は、例えば図7や図8な
どの変換関数を表示ユニット64に表示させるととも
に、そのグラフ自体を直接編集可能なインタフェイスを
もつ。すなわち、グラフの任意の点をクリック・アンド
・ドラッグの要領で任意に移動する機能を提供する。そ
の結果得られる画像はプレビュー制御部118を介して
表示ユニット64に表示される。
The function editing unit 114 has an interface that allows the display unit 64 to display, for example, the conversion functions shown in FIGS. 7 and 8 and allows the graph itself to be directly edited. That is, a function of arbitrarily moving an arbitrary point on the graph in the manner of clicking and dragging is provided. The resulting image is displayed on display unit 64 via preview control unit 118.

【0054】図9は、領域指定部116の作用を示す。
色指定部112によって変更すべき色が「青」と指定さ
れた場合、衣服だけでなく、例えば空のように色相が近
い色も変換される。したがって、本当に衣服の色のみを
変化させたいとき、領域指定部116を利用する。
FIG. 9 shows the operation of the area designating section 116.
When the color to be changed is designated as “blue” by the color designation unit 112, not only clothes but also colors with similar hues such as the sky are converted. Therefore, when it is really desired to change only the color of the clothes, the area specifying unit 116 is used.

【0055】ユーザは領域指定部116の提供するドロ
ー機能を用いて、変化させたい第2の人物144を取り
囲む境界線160を描く。つづいて、領域指定部116
は「領域内の色を変更」または「領域外の色を変更」の
うちいずれかをユーザに選択させる。このとき変換関数
が図7のものであり、かつユーザが「領域内の色を変
更」を選択すれば、境界線160内部の「青」が「赤」
になり、所期の目的が達成される。
The user draws a boundary 160 surrounding the second person 144 to be changed using the draw function provided by the area designating section 116. Subsequently, the area specifying unit 116
Prompts the user to select either "change color inside area" or "change color outside area". At this time, if the conversion function is that of FIG. 7 and the user selects “change color in area”, “blue” inside boundary line 160 changes to “red”.
And the intended purpose is achieved.

【0056】以上、実施の形態を説明したが、本発明の
技術的な範囲はこれらの記載には限定されない。これら
の実施の形態に多様な変更または改良を加えうることは
当業者には理解されるところである。
Although the embodiments have been described above, the technical scope of the present invention is not limited to these descriptions. It is understood by those skilled in the art that various changes or improvements can be made to these embodiments.

【0057】第1の変形例として、実施の形態はカラー
感熱プリンタへの適用を考えたが、これは当然他のタイ
プのプリンタでもよいし、プリンタ以外のデジタルカメ
ラなどの画像関連機器や、広くコンピュータ一般であっ
てもよい。例えば、パーソナルコンピュータに実施の形
態の処理をなすプログラムをインプリメントして実現す
ることもできる。このプログラムはフロッピーディスク
等の記録媒体で提供することができる。
As a first modification, the embodiment is considered to be applied to a color thermal printer. However, this may naturally be another type of printer, an image-related device such as a digital camera other than the printer, or a widely used device. It may be a general computer. For example, the present invention can also be realized by implementing a program for performing the processing of the embodiment on a personal computer. This program can be provided on a recording medium such as a floppy disk.

【0058】第2の変形例として、図2では関数取得部
104と画像変換部106を別構成として描いたが、こ
れらは例えば図5の処理を一括して行う一体の構成であ
ってもよい。
As a second modification, FIG. 2 shows the function obtaining unit 104 and the image conversion unit 106 as separate components. However, they may be of an integrated configuration for performing the processing of FIG. 5 collectively, for example. .

【0059】第3の変形例として、実施の形態ではc
r、cbを色座標としたが、これはその他の色座標であ
ってもよい。例えば、均等色空間LやL
であってもよい。
As a third modification, in the embodiment, c
Although r and cb are color coordinates, they may be other color coordinates. For example, a uniform color space L * a * b * or L * u
* V * .

【0060】第4の変形例として、実施の形態では肌色
領域を不動区間に設定したが、これは当然別の色に対応
する区間であってもよい。例えば、赤い花だけを残し、
その他の部分をすべて青に変換してしまう処理が考えら
れる。
As a fourth modification, in the embodiment, the skin color area is set as the immobile section, but this may be a section corresponding to another color. For example, leaving only red flowers,
A process of converting all other portions to blue can be considered.

【0061】第5の変形例として、変換関数を選択また
は修正する際、処理すべき画像の色分布を参照する構成
としてもよい。例えば、図7において、変換関数は−5
0°と10°で急激に変化している(これらの点を単に
「変化点」とよぶ)。そのため、まず処理すべき画像の
すべての画素をその色相に応じてヒストグラム化し、出
現頻度が少ない色相を探し出す。つづいて、その色相の
角度が変化点になるよう変換関数を決定する。このこと
で、変換後に得られる画像の色の変化がより自然にな
る。ヒストグラム化は画像入力部102その他が行い、
変換関数の修正等は関数取得部104、関数編集部11
4などが行ってもよい。
As a fifth modification, when selecting or correcting a conversion function, a configuration may be employed in which the color distribution of an image to be processed is referred to. For example, in FIG. 7, the conversion function is −5.
It changes sharply at 0 ° and 10 ° (these points are simply called “change points”). Therefore, first, all the pixels of the image to be processed are converted into a histogram according to the hue, and a hue having a low appearance frequency is searched for. Subsequently, a conversion function is determined so that the hue angle becomes a change point. This makes the color change of the image obtained after the conversion more natural. Histogram conversion is performed by the image input unit 102 and others.
Modification of the conversion function is performed by the function acquisition unit 104 and the function editing unit 11
4 etc. may be performed.

【0062】第6の変形例として、色指定部112、領
域指定部116による指定はそれぞれ複数であってもよ
い。例えば、ある点の色は変え、別の点の色は維持する
処理や、ある境界線の中においてある点の色は変え、別
の点の色は維持する処理など、色の指定と領域の指定の
複合的な指定も可能である。
As a sixth modification, a plurality of designations may be made by the color designation section 112 and the area designation section 116, respectively. For example, changing the color of one point and maintaining the color of another point, or changing the color of one point within a boundary line and maintaining the color of another point, etc. Multiple specification of specification is also possible.

【0063】第7の変形例として、図4等の変換関数は
数値データとして予め三次元LUTに登録しておいても
よい。その場合、画像変換部106はそのLUTを参照
し、必要な補間を施すことにより、高速に変換処理を行
うことができる。
As a seventh modification, the conversion function shown in FIG. 4 and the like may be registered in the three-dimensional LUT as numerical data in advance. In that case, the image conversion unit 106 can perform high-speed conversion processing by referring to the LUT and performing necessary interpolation.

【0064】第8の変形例として、画像変換部106は
画素単位で色の変換を行ったが、これは複数画素からな
るブロック単位で変換してもよい。その場合、ブロック
ごとに画素の色相の平均角度を算出し、その平均角度に
変換関数を作用させてもよい。しかる後、各画素の色相
の角度と前記平均角度の差分を、変換後の各画素の色相
に加えるなどの処理をしてもよい。
As an eighth modification, the image conversion unit 106 performs color conversion on a pixel-by-pixel basis, but this may be performed on a block-by-block basis comprising a plurality of pixels. In that case, the average angle of the hue of the pixel may be calculated for each block, and a conversion function may be applied to the average angle. Thereafter, processing such as adding the difference between the hue angle of each pixel and the average angle to the hue of each pixel after conversion may be performed.

【0065】以上、実施の形態およびその変形によれ
ば、比較的簡易的な方法で必要な色は残しつつ、背景等
の色を任意に、例えば劇的に変化させることができる。
しかもその際、ユーザの希望する違和感の少ない画像が
比較的容易に得られる。
As described above, according to the embodiment and its modifications, it is possible to arbitrarily change, for example, dramatically, the color of the background or the like while leaving necessary colors by a relatively simple method.
In addition, at that time, an image with little discomfort desired by the user can be obtained relatively easily.

【0066】[0066]

【発明の効果】本発明によれば、容易に画像の主観画質
の改善や特殊効果処理が実現する。
According to the present invention, improvement of the subjective image quality of an image and special effect processing can be easily realized.

【図面の簡単な説明】[Brief description of the drawings]

【図1】実施の形態に係るカラー感熱プリンタの構成図
である。
FIG. 1 is a configuration diagram of a color thermal printer according to an embodiment.

【図2】実施の形態に係る画像処理装置の構成図であ
る。
FIG. 2 is a configuration diagram of an image processing apparatus according to an embodiment.

【図3】実施の形態で用いる色相空間を示す図である。FIG. 3 is a diagram showing a hue space used in the embodiment.

【図4】実施の形態で採用する変換関数の一例を示す図
である。
FIG. 4 is a diagram showing an example of a conversion function used in the embodiment.

【図5】実施の形態に係る画像変換部における処理のフ
ローチャートである。
FIG. 5 is a flowchart of a process in an image conversion unit according to the embodiment.

【図6】実施の形態に係る色指定部の処理を説明する図
である。
FIG. 6 is a diagram illustrating processing of a color designation unit according to the embodiment.

【図7】実施の形態で採用する変換関数の一例を示す図
である。
FIG. 7 is a diagram showing an example of a conversion function adopted in the embodiment.

【図8】実施の形態で採用する変換関数の一例を示す図
である。
FIG. 8 is a diagram illustrating an example of a conversion function adopted in the embodiment.

【図9】実施の形態に係る領域指定部の処理を説明する
図である。
FIG. 9 is a diagram illustrating processing of an area specifying unit according to the embodiment.

【符号の説明】[Explanation of symbols]

10 プリンタ 12 コントローラ 14 システムメモリ 16 画像メモリ 64 表示ユニット 66 操作ユニット 100 画像処理装置 102 画像入力部 104 関数取得部 106 画像変換部 108 関数ディレクトリ 112 色指定部 114 関数編集部 116 領域指定部 118 プレビュー部 130 不動領域 132 処理領域 160 境界線 Reference Signs List 10 printer 12 controller 14 system memory 16 image memory 64 display unit 66 operation unit 100 image processing device 102 image input unit 104 function acquisition unit 106 image conversion unit 108 function directory 112 color designation unit 114 function editing unit 116 region designation unit 118 preview unit 130 Fixed area 132 Processing area 160 Boundary

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5B050 DA04 EA09 FA03 FA05 5B057 BA02 CA01 CA08 CA12 CB01 CB08 CB12 CE17 DB02 DB06 DB09 5C077 LL19 MP08 PP32 PP33 PP34 PP35 PP36 PP37 PQ12 SS05 SS06 TT04 5C079 HB01 HB02 HB06 LA02 LA10 LB02 LB12 MA11 MA19 MA20 NA03 NA13 NA27 PA03  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) MA11 MA19 MA20 NA03 NA13 NA27 PA03

Claims (13)

【特許請求の範囲】[Claims] 【請求項1】 画像に処理を施す装置であって、 前記画像を入力する画像入力部と、 前記画像の色相について定められ、かつ所定の不動区間
を含む変換関数を取得する関数取得部と、 前記変換関数に従い、前記画像の構成単位ごとにその色
相を変換し、第二の画像を生成する画像変換部と、 を含むことを特徴とする画像処理装置。
1. An apparatus for processing an image, comprising: an image input unit that inputs the image; a function acquisition unit that determines a hue of the image and acquires a conversion function including a predetermined immovable section; An image conversion unit that converts a hue of each of the constituent units of the image according to the conversion function and generates a second image.
【請求項2】 前記変換関数は周期性のある色相空間に
ついて定められ、かつその空間において連続関数である
ことを特徴とする請求項1に記載の画像処理装置。
2. The image processing apparatus according to claim 1, wherein the conversion function is determined for a periodic hue space, and is a continuous function in the space.
【請求項3】 前記不動区間は、前記画像に含まれる注
目領域の色相に関連して定められることを特徴とする請
求項1、2のいずれかに記載の画像処理装置。
3. The image processing apparatus according to claim 1, wherein the immobile section is determined in relation to a hue of a region of interest included in the image.
【請求項4】 前記注目領域は前記画像内において人物
が占める領域であることを特徴とする請求項3に記載の
画像処理装置。
4. The image processing apparatus according to claim 3, wherein the attention area is an area occupied by a person in the image.
【請求項5】 前記関数取得部は、ユーザの指示を参照
して前記変換関数を取得することを特徴とする請求項1
から4のいずれかに記載の画像処理装置。
5. The function acquiring unit according to claim 1, wherein the function acquiring unit acquires the conversion function by referring to a user's instruction.
5. The image processing apparatus according to any one of claims 1 to 4.
【請求項6】 前記変換関数によって得られるべき前記
第二の画像のプレビュー画像を生成するプレビュー制御
部をさらに含むことを特徴とする請求項1から5のいず
れかに記載の画像処理装置。
6. The image processing apparatus according to claim 1, further comprising a preview control unit that generates a preview image of the second image to be obtained by the conversion function.
【請求項7】 前記変換によって色相を変化または維持
させるべき色を指定する色指定部をさらに含むことを特
徴とする請求項1から6のいずれかに記載の画像処理装
置。
7. The image processing apparatus according to claim 1, further comprising a color specifying unit that specifies a color whose hue is to be changed or maintained by the conversion.
【請求項8】 前記変換によって色相を変化または維持
させるべき領域を指定する領域指定部をさらに含むこと
を特徴とする請求項1から7のいずれかに記載の画像処
理装置。
8. The image processing apparatus according to claim 1, further comprising an area specifying unit that specifies an area in which hue is to be changed or maintained by the conversion.
【請求項9】 前記領域指定部は、前記色相を変化また
は維持させるべき領域を取り囲む境界線の形でユーザの
指示を受け付けることを特徴とする請求項8に記載の画
像処理装置。
9. The image processing apparatus according to claim 8, wherein the area designating unit receives a user's instruction in the form of a boundary surrounding an area where the hue is to be changed or maintained.
【請求項10】 ユーザの指示に基づき前記変換関数を
編集する関数編集部をさらに含むことを特徴とする請求
項1から9のいずれかに記載の画像処理装置。
10. The image processing apparatus according to claim 1, further comprising a function editing unit that edits the conversion function based on a user's instruction.
【請求項11】 前記画像変換部は、前記画像の輝度を
維持しつつ前記色相を変換することを特徴とする請求項
1から10のいずれかに記載の画像処理装置。
11. The image processing apparatus according to claim 1, wherein the image conversion unit converts the hue while maintaining luminance of the image.
【請求項12】 画像に処理を施す方法であって、 前記画像の色相について定められ、かつ所定の不動区間
を含む変換関数を取得するステップと、 前記変換関数に従い、前記画像の構成単位ごとにその色
相を変換し、第二の画像を生成するステップと、 を含むことを特徴とする画像処理方法。
12. A method for performing processing on an image, comprising: obtaining a conversion function defined for a hue of the image and including a predetermined immovable section; and for each constituent unit of the image according to the conversion function. Converting the hue to generate a second image.
【請求項13】 コンピュータで読取可能な記録媒体で
あって、 画像の色相について定められ、かつ所定の不動区間を含
む変換関数を取得するステップと、 前記変換関数に従い、前記画像の構成単位ごとにその色
相を変換し、第二の画像を生成するステップと、 をコンピュータに実行させるプログラムを記録したこと
を特徴とする記録媒体。
13. A computer-readable recording medium, comprising: a step of acquiring a conversion function defined for a hue of an image and including a predetermined immovable section; and for each constituent unit of the image according to the conversion function. Converting the hue to generate a second image, and a program for causing a computer to execute the steps.
JP32703499A 1999-11-17 1999-11-17 Image processing method, apparatus, and computer-readable recording medium Expired - Fee Related JP4017797B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32703499A JP4017797B2 (en) 1999-11-17 1999-11-17 Image processing method, apparatus, and computer-readable recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32703499A JP4017797B2 (en) 1999-11-17 1999-11-17 Image processing method, apparatus, and computer-readable recording medium

Publications (2)

Publication Number Publication Date
JP2001144986A true JP2001144986A (en) 2001-05-25
JP4017797B2 JP4017797B2 (en) 2007-12-05

Family

ID=18194580

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32703499A Expired - Fee Related JP4017797B2 (en) 1999-11-17 1999-11-17 Image processing method, apparatus, and computer-readable recording medium

Country Status (1)

Country Link
JP (1) JP4017797B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008306377A (en) * 2007-06-06 2008-12-18 Fuji Xerox Co Ltd Color adjusting device, and color adjusting program
JP2009124526A (en) * 2007-11-16 2009-06-04 Fuji Xerox Co Ltd Color signal converter, image formation device, adjustment coefficient generator, and program
JP2010015607A (en) * 2003-11-05 2010-01-21 Seiko Epson Corp Image processing apparatus and image processing method
US8928686B2 (en) 2010-06-08 2015-01-06 Dolby Laboratories Licensing Corporation Tone and gamut mapping methods and apparatus

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010015607A (en) * 2003-11-05 2010-01-21 Seiko Epson Corp Image processing apparatus and image processing method
JP2008306377A (en) * 2007-06-06 2008-12-18 Fuji Xerox Co Ltd Color adjusting device, and color adjusting program
JP2009124526A (en) * 2007-11-16 2009-06-04 Fuji Xerox Co Ltd Color signal converter, image formation device, adjustment coefficient generator, and program
US8928686B2 (en) 2010-06-08 2015-01-06 Dolby Laboratories Licensing Corporation Tone and gamut mapping methods and apparatus
KR101538912B1 (en) * 2010-06-08 2015-07-23 돌비 레버러토리즈 라이쎈싱 코오포레이션 Tone and gamut mapping methods and apparatus
US9728117B2 (en) 2010-06-08 2017-08-08 Dolby Laboratories Licensing Corporation Tone and gamut mapping methods and apparatus

Also Published As

Publication number Publication date
JP4017797B2 (en) 2007-12-05

Similar Documents

Publication Publication Date Title
US7589873B2 (en) Setting a color tone to be applied to an image
US7196818B2 (en) Printer having image correcting capability
CN101513035B (en) Color correction method
JP4227322B2 (en) Image processing method, image processing apparatus, storage medium, and program
JP5344518B2 (en) Image processing method and image processing apparatus
JP2001298631A (en) Recording medium with image processing control program recorded therein and method and device for image processing
US7525684B2 (en) Color calibration
JP2007228131A (en) Correction of color of image data
JP2002016874A (en) Method and apparatus for processing image as well as recording medium for recording program therefor
JP2011082963A (en) Color value acquiring method, color value acquiring apparatus, image processing method, image processing apparatus, and program
US20050200923A1 (en) Image generation for editing and generating images by processing graphic data forming images
US20100195127A1 (en) Image processor for correcting image data
US20100156929A1 (en) Ridge-based color gamut mapping
JP2001211339A (en) Method and device for image processing and recording medium
JP2001144986A (en) Image processing method, image processor and computer- readable recording medium
US6567186B1 (en) Method for determining gray values in a printer
JP2008067296A (en) Method of processing image and apparatus of processing image
JP2002204375A (en) Conversion for display device or print of digital image
JP2004297438A (en) Image correction method, apparatus, and program
JP3840141B2 (en) Image processing apparatus, information input apparatus, and methods thereof
JP2008228006A (en) Unit and method for processing image
JP4023417B2 (en) Image processing using LUT
JP2006072743A (en) Catch light composition method and device
JP2006203758A (en) Method of correcting tone and color printer using the same
JP2001155149A (en) Method and device for correcting image, and computer- readable recording medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040917

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20061205

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20061228

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070123

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070314

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070410

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070508

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20070620

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070724

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070822

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070919

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20100928

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100928

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110928

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees