JPH03127284A - Color picture processing device - Google Patents

Color picture processing device

Info

Publication number
JPH03127284A
JPH03127284A JP1267626A JP26762689A JPH03127284A JP H03127284 A JPH03127284 A JP H03127284A JP 1267626 A JP1267626 A JP 1267626A JP 26762689 A JP26762689 A JP 26762689A JP H03127284 A JPH03127284 A JP H03127284A
Authority
JP
Japan
Prior art keywords
color
conversion
hue
brightness
saturation
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
JP1267626A
Other languages
Japanese (ja)
Other versions
JP2943170B2 (en
Inventor
Masahiro Nishihara
雅宏 西原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Family has litigation
First worldwide family litigation filed litigation Critical https://patents.darts-ip.com/?family=17447299&utm_source=google_patent&utm_medium=platform_link&utm_campaign=public_patent_search&patent=JPH03127284(A) "Global patent litigation dataset” by Darts-ip is licensed under a Creative Commons Attribution 4.0 International License.
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP1267626A priority Critical patent/JP2943170B2/en
Publication of JPH03127284A publication Critical patent/JPH03127284A/en
Application granted granted Critical
Publication of JP2943170B2 publication Critical patent/JP2943170B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Color, Gradation (AREA)
  • Control Of Exposure In Printing And Copying (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Abstract

PURPOSE:To perform color conversion without damaging the qualitative feeling by changing the hue and the saturation while keeping the brightness with respect to the color of a designated position area. CONSTITUTION:Color picture data of R, G, and B outputted from a color resolving means such as a color scanner which resolve an inputted color picture to respective color components are converted to color picture data of the hue, the saturation, and the brightness. The hue and the saturation are converted by a color converting means 4 while keeping the brightness as designated by a color designating means 3 with respect to the color of the position area designated by a position designating means 2 and are converted to color picture data of R, G, and B. Thus, color conversion is performed without damaging the qualitative feeling.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明はカラー画像データを処理し、所定の色を質感を
損なわずに違う色に変える、カラー画像処理装置に関す
るものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a color image processing device that processes color image data and changes a predetermined color to a different color without impairing texture.

[従来の技術」 従来、カラースキャナ等で読みとられたデジタルカラー
画像において、画像の所定の色を変える色変換処理が要
求される場合がある。
[Prior Art] Conventionally, in a digital color image read by a color scanner or the like, color conversion processing to change a predetermined color of the image may be required.

従来、この要求に対して色変換を行う場合、文字など指
定領域内において変換後の色を一定にしていた。
Conventionally, when color conversion is performed in response to this request, the color after conversion is kept constant within a designated area such as a character.

[発明が解決しようとする。i!ff1lしかしながら
、このような装置では、例えば文字などのような濃淡を
考慮しないものはよいが、自然画像のような複雑に濃淡
の変化するものでは、質感を失ってしまう問題がある。
[The invention attempts to solve the problem.] i! ff1lHowever, although such a device is good for images that do not take into account shading, such as characters, for example, there is a problem in that the texture is lost when it comes to images that have complicated shading changes, such as natural images.

本発明は、上述した問題点を解決するためになされたも
のであり、明度を保持したまま質感を損なわずに色相と
彩度を変えることにより色変換を行うことができるカラ
ー画像処理装置を提供することにある。
The present invention has been made to solve the above-mentioned problems, and provides a color image processing device that can perform color conversion by changing hue and saturation while maintaining brightness and without impairing texture. It's about doing.

[課題を解決するための手段] この目的を達成するために本発明のカラー画像処理装置
は、入力されるカラー画像を各色成分に分解する色分解
手段と、その各色成分データをそれぞれ色相、彩度、明
度データへ変換するデータ変換手段と、カラー画像の任
意の色変換したい位置領域を指定する位置指定手段と、
変換後の色を指定する色指定手段と、前記位置指定手段
により指定された位置領域の色について明度を保持した
まま色相と彩度を変える色変換手段とにより構成されて
いる。
[Means for Solving the Problems] In order to achieve this object, the color image processing device of the present invention includes a color separation means that separates an input color image into each color component, and a color separation means that separates the input color image into each color component, and separates each color component data into hue and chroma, respectively. data converting means for converting into brightness and brightness data; position specifying means for specifying a positional area of the color image to which color conversion is desired;
It is comprised of a color specifying means for specifying a color after conversion, and a color converting means for changing the hue and saturation of the color in the position area specified by the position specifying means while maintaining the brightness.

[作用] 上記の構成を有する本発明は、入力されるカラー画像を
各色成分に分Mlするカラースキャナ等の色分解手段か
ら出力された例えばR,G、Bのカラー画像データを色
相、彩度、及び明度のカラー画像データに変換し、前記
位置指定手段により指定された位置領域の色について色
変換手段により明度を保持したまま前記色指定手段によ
り指定されたように色相と彩度を変換し、これをR,G
[Operation] The present invention having the above-mentioned configuration is capable of dividing color image data of, for example, R, G, and B output from a color separation means such as a color scanner that divides an input color image into each color component into hue and saturation. , and brightness, and converts the hue and saturation of the color in the position area specified by the position specifying means while maintaining the brightness as specified by the color specifying means. , this is R,G
.

Bのカラー画像データに変換することにより、色変換さ
れる。
Color conversion is performed by converting to B color image data.

[実施例] 以下、本発明を具体化した一実施例を図面を参照して説
明する。
[Example] Hereinafter, an example embodying the present invention will be described with reference to the drawings.

第1図に本発明実施例のカラー画像処理装置の概略ブロ
ック図を示す、1はデータ変換手段であって、例えばカ
ラースキャナ等(図示時)の入力されるカラー画像を各
色成分に分解する色分解手段により、カラー画像をR,
G、nの3原色に分解し、各色8ビットの濃淡データと
して取り込まれたカラー画像を、R,G、nデータから
、色相、彩度、明度データに変換する処理と、この逆変
換を行うものである。
FIG. 1 shows a schematic block diagram of a color image processing apparatus according to an embodiment of the present invention. Reference numeral 1 denotes a data conversion means, for example, a color image that separates an inputted color image from a color scanner (as shown) into each color component. The decomposition means converts the color image into R,
A color image that is separated into three primary colors, G and n, and captured as 8-bit gradation data for each color, is converted from R, G, and n data into hue, saturation, and brightness data, and this inverse conversion is performed. It is something.

2は位置指定手段で、カラー画像をカラーデイスプレィ
(図示時)上に表示し、カラー画像の変換したい色のW
i、域の中のある点の座F5値をカーソルやキーボード
等で入力するものである。3は色指定手段で、変換後の
色を指定するものである。
2 is a position specifying means which displays a color image on a color display (when shown) and selects the W of the color to be converted in the color image.
The F5 value of a certain point in the area i is input using a cursor or keyboard. 3 is a color specifying means for specifying a color after conversion.

4は色変換手段で、色変換を行うものである。Reference numeral 4 denotes a color conversion means that performs color conversion.

第2図は前記カラー画像処理装置を使用したシステムの
一構成図を示す、これは、カラー画像を入力し、領域指
定を行い、指定領域のみについて本発明による色変換を
行い、表示装置に出力しようとするものである。第2図
において、5はカラー画像を取り込むカラー画像入力装
置、6は色変換を行う領域を指定する領域指定装置、7
は本発明のカラー画像処理装置、8はこのシステム全体
の$IJtilを行う制御装置、9は各種データを記憶
する記憶装置、10はカラー画像を表示する出力装置で
ある。
FIG. 2 shows a configuration diagram of a system using the color image processing device, which inputs a color image, specifies an area, performs color conversion according to the present invention only on the specified area, and outputs it to a display device. This is what I am trying to do. In FIG. 2, 5 is a color image input device that takes in a color image, 6 is an area designation device that specifies an area for color conversion, and 7
Reference numeral 8 indicates a color image processing device of the present invention, 8 a control device for performing $IJtil of the entire system, 9 a storage device for storing various data, and 10 an output device for displaying a color image.

次に、前記のように構成したカラー画像処理装置を使用
したシステムの作用を第3図に基づいて説明する。
Next, the operation of the system using the color image processing apparatus configured as described above will be explained based on FIG.

最初に、ステップ1において、カラースキャナやカメラ
等のカラー画像データ入力装25で、カラー画像データ
を入力する。
First, in step 1, color image data is input using a color image data input device 25 such as a color scanner or a camera.

次に、ステップ2において、領域指定装置6で領域指定
を行う、これは、例えば出力装置10にカラー画像を表
示し、このカラー画像の指定したい領域を、マウスで囲
むことにより行うことができる。第4図の画像の人物の
服(斜線部)を指定し、これにより第5図のようなマス
クを作る。あるいは、予め記憶された第5図のようなマ
スクを、記憶装置9かち取り出してもよい。
Next, in step 2, an area is specified using the area specifying device 6. This can be done, for example, by displaying a color image on the output device 10 and surrounding the desired area of the color image with a mouse. Specify the clothes (shaded areas) of the person in the image shown in Figure 4, and create a mask as shown in Figure 5. Alternatively, a pre-stored mask as shown in FIG. 5 may be retrieved from the storage device 9.

その後、ステップ3において、ステップ2で指定された
領域内のカラー画像データをデータ変換手段1で色相、
彩度、明度データに変換する。これらの色相、彩度、明
度は、人間の視覚にあった色の三属性で、H3I三角錐
モデル、HS V六角錐モデル、HS L双六釣鐘モデ
ル等があるが、これらはいずれも第6図のような円筒座
標系で考えられる。ここで、θは色相、Sは彩度、■は
明度である。
Thereafter, in step 3, the color image data within the area specified in step 2 is converted into hue,
Convert to saturation and brightness data. These hue, saturation, and brightness are the three attributes of color that suit human vision, and there are H3I triangular pyramid models, HS V hexagonal pyramid models, and HSL Sugoroku bell models, all of which are based on the 6th color. It can be considered in a cylindrical coordinate system as shown in the figure. Here, θ is hue, S is saturation, and ■ is brightness.

次に、ステップ4において、変換する色を指定する。こ
れは出力装置10にカラー画像を表示し、位置指定手段
2で領域中の適当な位置を指定し、この位置の色を変換
前の代表色とする。
Next, in step 4, the color to be converted is specified. This displays a color image on the output device 10, specifies an appropriate position in the area using the position specifying means 2, and sets the color at this position as the representative color before conversion.

又、ステップ5で変換後の色を指定する。これは、色指
定手段3で、キーボードからR,G、Bの値を入れるこ
とにより行う、これを変換色とする。
Also, in step 5, the color after conversion is specified. This is done by inputting R, G, and B values from the keyboard using the color specifying means 3, and these are used as converted colors.

ステップ6で色変換を行う、第6図の円筒座標系のxy
’F面を第7図に示す、ステップ4で指定した代表色を
A、ステップ5で指定した変換色をBとする。ここで代
表色Aを変換色Bに移動する。
The xy coordinate system of the cylindrical coordinate system shown in Fig. 6, which performs color conversion in step 6.
'The F side is shown in FIG. 7, the representative color designated in step 4 is A, and the converted color designated in step 5 is B. Here, the representative color A is moved to the converted color B.

これは、変換式を用いて代表色Aの座fIA値を、明度
Vを保持したまま、色相θ方1hJに回転し、彩度S方
向に拡大するすることにより行うことができる。この動
作をステップ2で指定した領域内の全ての画素について
行い色変換する。
This can be done by using a conversion formula to rotate the fIA value of the representative color A in the hue θ direction 1hJ while maintaining the brightness V, and expand it in the saturation S direction. This operation is performed for all pixels within the area specified in step 2 to perform color conversion.

次に、ステップ7で、全ての画素の変換後のデータをデ
ータ変換手段1でR,G、Bに逆変換する。
Next, in step 7, the data conversion means 1 inversely converts the converted data of all pixels into R, G, and B.

最後に、ステップ8で変換後の画像を出力装置10に表
示する。
Finally, in step 8, the converted image is displayed on the output device 10.

このようにして得られたカラー画像は、色相及び彩度が
変わっても明度が保持されているので、色が変わっても
原画の質感は、失われない。
The color image obtained in this way maintains its brightness even if the hue and saturation change, so the texture of the original image is not lost even if the color changes.

なお、この発明は上記実施例に限定されるものではなく
、特許請求の範囲の要旨を逸脱しない範囲で任意に変更
して具体化することもできる[発明の効果] 以上詳述したことから明らかなように、本発明によれば
、質感を損なわずに色変換を行うことができる効果があ
る。
Note that this invention is not limited to the above embodiments, and can be modified and embodied as desired without departing from the gist of the claims. [Effects of the Invention] It is clear from the above detailed description. As described above, according to the present invention, there is an effect that color conversion can be performed without impairing the texture.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明のカラー画像処理装置の一実施例を示す
ブロック図、第2図は本発明のカラー画像装置を用いた
システムのブロック図、第3図はフローチャート、第4
図は画像の指定領域を説明する正面図、第5図はマスク
画像を示す正面図、第6図は色相、彩度、明度の色の属
性を示す斜視図、第7図は第6図の平面図である。 1・・・データ変換手段、2・・・位置指定手段、3・
・・色指定手段、4・・・色変換手段、5・・・入力装
置、6・・・a域指定装置、7・・・カラー画像処理装
置、8・・・制御装置、9・・・記憶装置、10・・・
出力装置。
FIG. 1 is a block diagram showing an embodiment of the color image processing device of the present invention, FIG. 2 is a block diagram of a system using the color image processing device of the present invention, FIG. 3 is a flowchart, and FIG.
The figure is a front view explaining the designated area of the image, Figure 5 is a front view showing the mask image, Figure 6 is a perspective view showing the color attributes of hue, saturation, and brightness, and Figure 7 is the same as Figure 6. FIG. 1... Data conversion means, 2... Position specifying means, 3.
...Color designation means, 4.Color conversion means, 5.Input device, 6.A area designation device, 7.Color image processing device, 8.Control device, 9.. Storage device, 10...
Output device.

Claims (1)

【特許請求の範囲】 1、入力されるカラー画像を各色成分に分解する色分解
手段と、 その各色成分データをそれぞれ色相、彩度、明度データ
へ変換するデータ変換手段と、 カラー画像の任意の色変換したい位置領域を指定する位
置指定手段と、 変換後の色を指定する色指定手段と、 前記位置指定手段により指定された位置領域の色につい
て明度を保持したまま色相と彩度を変える色変換手段と
を備えたカラー画像処理装置。
[Claims] 1. Color separation means for separating an input color image into each color component; data conversion means for converting each color component data into hue, saturation, and brightness data; a position specifying means for specifying a positional area to be color converted; a color specifying means for specifying a color after conversion; and a color for changing the hue and saturation of the color in the positional area specified by the position specifying means while maintaining brightness. A color image processing device comprising a conversion means.
JP1267626A 1989-10-13 1989-10-13 Color image processing equipment Expired - Lifetime JP2943170B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1267626A JP2943170B2 (en) 1989-10-13 1989-10-13 Color image processing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1267626A JP2943170B2 (en) 1989-10-13 1989-10-13 Color image processing equipment

Publications (2)

Publication Number Publication Date
JPH03127284A true JPH03127284A (en) 1991-05-30
JP2943170B2 JP2943170B2 (en) 1999-08-30

Family

ID=17447299

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1267626A Expired - Lifetime JP2943170B2 (en) 1989-10-13 1989-10-13 Color image processing equipment

Country Status (1)

Country Link
JP (1) JP2943170B2 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6058208A (en) * 1994-10-26 2000-05-02 Matsushita Electric Industrial Co., Ltd. Color correction device and color correction method
WO2004029876A1 (en) * 2002-09-25 2004-04-08 Nec Corporation Image color correcting device, image color correcting method and image color correcting program
WO2008007461A1 (en) * 2006-07-10 2008-01-17 Nikon Corporation Image processing device and image processing program
US8406514B2 (en) 2006-07-10 2013-03-26 Nikon Corporation Image processing device and recording medium storing image processing program
JP2013527732A (en) * 2010-06-08 2013-06-27 ドルビー ラボラトリーズ ライセンシング コーポレイション Gradation and color gamut mapping method and apparatus
JP2014054443A (en) * 2012-09-13 2014-03-27 Sammy Corp Game machine
JP2015153072A (en) * 2014-02-13 2015-08-24 スズカファイン株式会社 Article color scheme design simulator, computer program for the same, computer-readable recording medium recording program and simulation method for article color scheme design

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5652421B2 (en) * 2012-03-30 2015-01-14 ウシオ電機株式会社 Appearance inspection equipment for light-transmitting molded products

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6058208A (en) * 1994-10-26 2000-05-02 Matsushita Electric Industrial Co., Ltd. Color correction device and color correction method
WO2004029876A1 (en) * 2002-09-25 2004-04-08 Nec Corporation Image color correcting device, image color correcting method and image color correcting program
WO2008007461A1 (en) * 2006-07-10 2008-01-17 Nikon Corporation Image processing device and image processing program
JP2008020949A (en) * 2006-07-10 2008-01-31 Sapporo Medical Univ Image processing apparatus and image processing program
US8406514B2 (en) 2006-07-10 2013-03-26 Nikon Corporation Image processing device and recording medium storing image processing program
JP2013527732A (en) * 2010-06-08 2013-06-27 ドルビー ラボラトリーズ ライセンシング コーポレイション Gradation and color gamut mapping method and apparatus
US8928686B2 (en) 2010-06-08 2015-01-06 Dolby Laboratories Licensing Corporation 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
JP2014054443A (en) * 2012-09-13 2014-03-27 Sammy Corp Game machine
JP2015153072A (en) * 2014-02-13 2015-08-24 スズカファイン株式会社 Article color scheme design simulator, computer program for the same, computer-readable recording medium recording program and simulation method for article color scheme design

Also Published As

Publication number Publication date
JP2943170B2 (en) 1999-08-30

Similar Documents

Publication Publication Date Title
KR101366596B1 (en) Method and system of immersive generation for two-dimension still image and factor dominating method, image content analysis method and scaling parameter prediction method for generating immersive
JP3686684B2 (en) Airbrush method
JPH07114503B2 (en) Color correction method
JPH04219068A (en) Picture processor
KR20070090224A (en) Method of electronic color image saturation processing
JP3126046B2 (en) Color adjustment method and color adjustment device for color image
JPH03127284A (en) Color picture processing device
KR101958263B1 (en) The control method for VR contents and UI templates
JPS62206556A (en) Artificial coloring method for picture image
JP2002118737A (en) Image converter and image conversion method
JPH03121571A (en) Color picture processor
JPH0561970A (en) Device and method for image processing
JP2756047B2 (en) Color image color adjustment method and apparatus, and image synthesis method
JPH05120417A (en) Color adjusting and picture synthesizing method and device for color picture
JPH09147098A (en) Method and device for processing color image
JP2847740B2 (en) Coloring method for achromatic objects
JP3384873B2 (en) Image display system and image display method
JP2795083B2 (en) Creating the same material appearance image in image processing
JP4552532B2 (en) VIDEO DISPLAY DEVICE, PROGRAM, AND COLOR ADJUSTMENT METHOD
JPH07203299A (en) Color adjustment for color picture and method and device for composing picture
JPH0721379A (en) Picture color area recognition device
JPH0668249A (en) Color blotting preparing device
JPH10124671A (en) Image processing method
JP2005242709A (en) Image processing device
JPH05250471A (en) Picture processor with contour extraction function