JPS63239560A - Image processor - Google Patents

Image processor

Info

Publication number
JPS63239560A
JPS63239560A JP7469887A JP7469887A JPS63239560A JP S63239560 A JPS63239560 A JP S63239560A JP 7469887 A JP7469887 A JP 7469887A JP 7469887 A JP7469887 A JP 7469887A JP S63239560 A JPS63239560 A JP S63239560A
Authority
JP
Japan
Prior art keywords
color
image
lookup table
image storage
storage unit
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.)
Pending
Application number
JP7469887A
Other languages
Japanese (ja)
Inventor
Kazuo Kajimoto
一夫 梶本
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP7469887A priority Critical patent/JPS63239560A/en
Publication of JPS63239560A publication Critical patent/JPS63239560A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To easily set and displays a desired color in a look-up table by extracting color components from an image area of the color to be displayed by an image processor for displaying and editing and converting them into R, G, and B values corresponding to the form of the look-up table. CONSTITUTION:A 1st image storage part 1 which stores a image to be referred to, a color component extraction part 5, and a color component conversion part 9 which converts color components suitably to the look-up table 7 are provided. Then, a picture which contains the color to be displayed is stored in the 1st storage part 1 and when the area of the color is specified by a 1st area specification part 4, a color close to the color is settable in the look-up table 7 without inputting R, G, and B values directly and displayed no a 2nd image display part 10. Consequently, the desired color is easily set in the table 7 without grasping the correspondence between the color and the respective R, G, and B values indicating the color, and displayed on a display part 10.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、画像を表示、編集することができる画像処理
装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to an image processing device capable of displaying and editing images.

従来の技術 従来のルックアップテーブルを用いた画像の表示、編集
が行える画像処理装置は、例えば第2図のブロック図の
ような構成を持つ。第2図において、21はデータを記
憶する画像記憶部で、22は画像記憶部21の画像デー
タと色とを関係付けるルックアップテーブルである。2
3は画像記憶部21の画像データとルックアップテーブ
ル22から得られる画像を表示する画像表示部、24は
画像記憶部21の画像データの任意の領域を指定する領
域指定部である。また、ルツクア・ツブテーブル22の
構造は、例えば第3図のようになっている。第3図にお
いて25はルツクア・ツブテーブルの番号である。また
26.27.28はそれぞれR%G%Bの項目であり、
これら(こそれぞれ赤、緑、青の強さを記述する。第2
図の画像記憶部21中の画像データには、ルックアップ
テーブル番号が各画素ごとに記述されている。第2図の
構成をもつ画像処理装置において、対象とする領域にあ
る色を表示させる場合は、画像記憶部21においてその
領域中の画素に割り当てられているルックアップテーブ
ル番号に対応する赤の強さであるR値、緑の強さである
G値、青の強さであるB値を表示させたい色に応じ、そ
れぞれ直接数値で設定することによって行なう。
2. Description of the Related Art A conventional image processing apparatus capable of displaying and editing images using a lookup table has a configuration as shown in the block diagram of FIG. 2, for example. In FIG. 2, 21 is an image storage unit that stores data, and 22 is a lookup table that associates image data in the image storage unit 21 with colors. 2
Reference numeral 3 denotes an image display section for displaying image data obtained from the image storage section 21 and the lookup table 22, and reference numeral 24 denotes an area specifying section for specifying an arbitrary area of the image data in the image storage section 21. Further, the structure of the Lutsuqua Tsubu table 22 is as shown in FIG. 3, for example. In FIG. 3, 25 is the number of the Lutsuqua Tsubu table. Also, 26, 27, and 28 are R%G%B items, respectively.
These (describe the strength of red, green, and blue, respectively.Second
In the image data in the image storage unit 21 shown in the figure, a lookup table number is written for each pixel. In the image processing device having the configuration shown in FIG. 2, when displaying a certain color in the target area, the red intensity corresponding to the lookup table number assigned to the pixel in the area in the image storage unit 21 is displayed. This is done by directly setting the R value, which is the intensity of green, the G value, which is the intensity of green, and the B value, which is the intensity of blue, in accordance with the color that you want to display.

発明が解決しようとする問題点 しかしながら上記のような構成では、色とその色を表わ
す前記R,G、Bの各値との対応を把握することが困難
であることから思い通りの色をルックアップテーブルに
設定することが難しく、任意の色を表示させるためには
熟練を要するという問題点を有していた。
Problems to be Solved by the Invention However, with the above configuration, it is difficult to grasp the correspondence between a color and the R, G, and B values that represent that color, so it is difficult to look up the desired color. The problem was that it was difficult to set up on a table and required skill to display any color.

本発明はかかる点に鑑み、たとえ色とその色を表わすR
,G、Bの各値との対応を把握していな(とも、容易に
思い通りの色をルックアップテーブルに設定できる画像
処理装置を提供することを目的とする。
In view of this point, the present invention has been developed, even if a color and R representing that color are
.

問題点を解決するための手段 本発明は、第1画像記憶部と、前記第1画像記憶部で、
対象となる領域の色成分を抽出する色成分抽出部と、第
2画像記憶部と、前記第2画像記憶部に格納された画像
データに対し色を関係付けるルックアップテーブルと、
前記色成分抽出部で抽出された色成分を変換し得られる
色をルックアップテーブルに設定する色成分変換部とを
備えた画像処理装置である。
Means for Solving the Problems The present invention provides a first image storage unit, the first image storage unit,
a color component extraction unit that extracts color components of a target area; a second image storage unit; and a lookup table that associates colors with image data stored in the second image storage unit;
The image processing apparatus further includes a color component converting section that converts the color components extracted by the color component extracting section and sets a color obtained in a lookup table.

作用 本発明は前記した構成により、第1画像記憶部に格納さ
れている画像データにおいて表示させたい色の画像領域
を指定し、色成分抽出部により前記領域中の色成分を抽
出しその値を色成分変換部によりルックアップテーブル
の形式に応じたR値、G値、B値に変換し、ルックアッ
プテーブルに設定する。以上の処理により、第1画像記
憶部に格納されている画像データにおいて、表示させた
い色の領域を指定するだけで、容易に思い通りの色をル
ックアップテーブルに設定することができる。
According to the above-described configuration, the present invention specifies an image area of a color to be displayed in the image data stored in the first image storage unit, extracts a color component in the area using the color component extraction unit, and calculates its value. The color component conversion unit converts the values into R, G, and B values according to the format of the lookup table, and sets them in the lookup table. Through the above processing, it is possible to easily set the desired color in the lookup table by simply specifying the region of the desired color to be displayed in the image data stored in the first image storage section.

実施例 第1図は本発明の一実施例における画像処理装置の構成
を示すブロック図である。第1図において、1は参考と
する画像データを格納する第1画像記憶部、2は第1画
像記憶部1に格納された画像データを表示する第1画像
表示部、3は第1画像記憶部1に画像データを入力する
画像入力部、4は第1画像記憶部1中の画像データの任
意の領域を指定する第1領域指定部、5は第1領域指定
部により指定された第1画像記憶部1中の画像データの
色成分を抽出する色成分抽出部、6は操作者が任意の色
を付けることを目的とする画像データを格納する第2画
像記憶部、7は第2画像記憶部6中の画像データと色と
を関係づけるルックアップテーブル、8は第2画像記憶
部6中の画像データの任意の領域を指定し、その画像デ
ータすなわちルックアップテーブル番号を色成分変換部
に出力する第2領域指定部、9は色成分抽出部5により
抽出された色成分をルックアップテーブル7の形式に応
じた色成分に変換し、ルックアップテーブル7に設定す
る色成分変換部、10は第2画像記憶部6の画像データ
と、ルックアップテーブル7から得られる画像を表示す
る第2画像表示部である。
Embodiment FIG. 1 is a block diagram showing the configuration of an image processing apparatus in an embodiment of the present invention. In FIG. 1, 1 is a first image storage section that stores reference image data, 2 is a first image display section that displays image data stored in the first image storage section 1, and 3 is a first image storage section. 1 is an image input section for inputting image data; 4 is a first area specifying section for specifying an arbitrary area of image data in the first image storage section 1; and 5 is a first area specifying section designated by the first area specifying section. A color component extraction unit extracts the color components of the image data in the image storage unit 1, a second image storage unit 6 stores image data for the purpose of adding arbitrary colors by the operator, and a second image storage unit 7. A lookup table 8 that associates image data in the storage unit 6 with colors specifies an arbitrary area of the image data in the second image storage unit 6, and converts the image data, that is, the lookup table number, into the color component conversion unit. 9 is a color component conversion unit that converts the color components extracted by the color component extraction unit 5 into color components according to the format of the lookup table 7 and sets them in the lookup table 7; Reference numeral 10 denotes a second image display unit that displays image data in the second image storage unit 6 and images obtained from the lookup table 7.

以上のように構成された本実施例の画像処理装置につい
て、以下その動作を説明する。
The operation of the image processing apparatus of this embodiment configured as described above will be described below.

今、第1画像記憶部1において、画像データの各画素は
R,G、B各8ビットで表わされ、ルックアップテーブ
ル7のR,G、Bの項目は各4ビツトの大きさをもって
いるとする。また色成分変換部での処理として、色成分
抽出部5で抽出された色成分をルックアップテーブルの
形式に応じたその色に近い色に変換する処理を考え、例
としてR,G、B各8ビットのデータのうち上位各4ビ
ットのみを出力する処理を行うものとする。
Now, in the first image storage unit 1, each pixel of image data is represented by 8 bits each of R, G, and B, and the R, G, and B items of the lookup table 7 have a size of 4 bits each. shall be. In addition, as a process in the color component conversion unit, we consider a process of converting the color component extracted by the color component extraction unit 5 into a color close to that color according to the format of the lookup table. It is assumed that processing is performed to output only the upper 4 bits of 8-bit data.

操作者は第2画像表示部10を参照し、第2領域指定部
8により、ある色を付けて表示したい第2画像記憶部6
中の画像データの領域を指定し、そのルックアップテー
ブル番号90′を色成分変換部7に出力する。付けたい
色を含んだ画像を画像入力部3から入力し、第1画像記
憶部1に格納する。格納された画像データを第1画像表
示部2に表示し、操作者はそれを参照して第1領域指定
部4により付けたい色の領域を指定する。第1領域指定
部4で指定された領域内の各画素の色成分すなわちR,
G、B値を色成分抽出部5により抽出する。色成分変換
部9において、抽出されたRlG、B値は領域内での色
の微少変動を吸収するためにR,G、Bごとに平均がと
られ、ルックアップテーブル7のR,G、Bの形式に合
わせるため、R,G、B値の上位4ビツトが各々ルック
rツブテーブル番号′n°のR,G、B値として設定さ
れる。
The operator refers to the second image display section 10 and selects the second image storage section 6 to be displayed with a certain color using the second area specifying section 8.
The area of image data in the image data area is specified, and the lookup table number 90' is output to the color component conversion section 7. An image containing the desired color is input from the image input section 3 and stored in the first image storage section 1. The stored image data is displayed on the first image display section 2, and the operator refers to it and specifies an area of the desired color using the first area specifying section 4. The color component of each pixel in the area specified by the first area specifying section 4, that is, R,
The G and B values are extracted by the color component extraction section 5. In the color component conversion unit 9, the extracted RlG and B values are averaged for each R, G, and B in order to absorb slight variations in color within the area, and the R, G, and B values in the lookup table 7 are averaged. In order to conform to the format, the upper four bits of the R, G, and B values are set as the R, G, and B values of the look r-tube table number 'n°, respectively.

以上のように本実施例によれば、参照する画像を記憶す
る第1画像記憶部1、色成分を抽出する色成分抽出部5
、色成分をルックアップテーブル7に適合するように変
換する色成分変換部9を設けたことにより、表示させた
い色を含んだ画像を第1画像記憶glに格納しその色の
領域を指定すると、R,G、B値を直接入力することな
しにルックアップテーブルにその色に近い色を設定し、
第2画像表示部10に表示することができる。
As described above, according to this embodiment, the first image storage section 1 stores images to be referred to, and the color component extraction section 5 extracts color components.
By providing a color component converter 9 that converts color components to match the lookup table 7, when an image containing a desired color to be displayed is stored in the first image memory gl and a region of that color is specified, , set a color close to that color in the lookup table without directly inputting the R, G, B values,
It can be displayed on the second image display section 10.

なお本実施例では、色成分としてR,G、Bを用いたも
のを示したが、テレビジョン信号伝送方式のび七つであ
るNTSC方式で採用された表色系における色成分Y、
1.Qや、国際照明委員会が1931年に採用したCI
E1931表色系における色成分x、y、zなどを用い
ても良い。
In this example, R, G, and B are used as color components, but the color components Y,
1. Q and the CI adopted by the International Commission on Illumination in 1931.
Color components x, y, z, etc. in the E1931 color system may be used.

発明の詳細 な説明したように、本発明によれば、たとえ色とその色
を表わすR,G、Bの各値との対応を把握していな(と
も、容易に思い通りの色をルックアップテーブルに設定
して表示させることができ、その実用的効果は大きい。
As described in detail, according to the present invention, even if you do not know the correspondence between a color and the R, G, and B values that represent that color, you can easily find the desired color using a lookup table. It can be set and displayed, and its practical effects are great.

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

第1図は本発明における一実施例の画像処理装置のブロ
ック図、第2図は従来のルックアップテーブルを用いた
画像の表示、編集が行える画像処理装置のブロック図、
第3図はルックアップテーブルの構造の例の説明図であ
る。 1・・・第1画像記憶部、2・・・第1画像表示部、3
・・・画像入力部、4・・・第1領域指定部、5・・・
色成分抽出部、6・・・第2画像記憶部、7・・・ルッ
クアップテーブル、8・・・第2領域指定部、9・・・
色成分変換部、10・・・第2両像表示部。 代理人の氏名 弁理士 中尾敏男ほか1名第1図
FIG. 1 is a block diagram of an image processing device according to an embodiment of the present invention, and FIG. 2 is a block diagram of an image processing device that can display and edit images using a conventional lookup table.
FIG. 3 is an explanatory diagram of an example of the structure of a lookup table. 1... First image storage section, 2... First image display section, 3
... image input section, 4... first area specification section, 5...
Color component extraction section, 6... Second image storage section, 7... Lookup table, 8... Second area specification section, 9...
Color component conversion section, 10... second both image display section. Name of agent: Patent attorney Toshio Nakao and one other person Figure 1

Claims (1)

【特許請求の範囲】[Claims] 画像データを記憶する第1画像記憶部と、前記第1画像
記憶部で対象となる領域の色成分を抽出する色成分抽出
部と、画像データを記憶する第2画像記憶部と、前記第
2画像記憶部に格納された画像データに対し色を関係付
けるルックアップテーブルと、前記色成分抽出部で抽出
された色成分を変換し得られる色をルックアップテーブ
ルに設定する色成分変換部と、前記第2画像記憶部の画
像データと前記ルックアップテーブルから得られる画像
を表示する画像表示部とを備えたことを特徴とする画像
処理装置。
a first image storage unit that stores image data; a color component extraction unit that extracts color components of a target area in the first image storage unit; a second image storage unit that stores image data; a lookup table that associates colors with the image data stored in the image storage unit; a color component conversion unit that converts the color components extracted by the color component extraction unit and sets a color obtained in the lookup table; An image processing device comprising: an image display unit that displays image data in the second image storage unit and an image obtained from the lookup table.
JP7469887A 1987-03-27 1987-03-27 Image processor Pending JPS63239560A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7469887A JPS63239560A (en) 1987-03-27 1987-03-27 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7469887A JPS63239560A (en) 1987-03-27 1987-03-27 Image processor

Publications (1)

Publication Number Publication Date
JPS63239560A true JPS63239560A (en) 1988-10-05

Family

ID=13554704

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7469887A Pending JPS63239560A (en) 1987-03-27 1987-03-27 Image processor

Country Status (1)

Country Link
JP (1) JPS63239560A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02194479A (en) * 1989-01-24 1990-08-01 Omron Tateisi Electron Co Picture processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02194479A (en) * 1989-01-24 1990-08-01 Omron Tateisi Electron Co Picture processor

Similar Documents

Publication Publication Date Title
CA1278374C (en) Image forming apparatus and method
JPH06333039A (en) Method and device for airbrushing
JP2003208152A (en) Color signal processing device for multi-primary color display and method thereof
JP2647033B2 (en) Lookup table creation method and lookup table creation device
JPS63239560A (en) Image processor
JP2000347786A (en) Method and device for generating pointer display color for color display and storage medium
JP2600072B2 (en) Highlighting device
JPH03121571A (en) Color picture processor
JP2003299114A (en) Color extraction image processor and method for displaying extracted color
JPS62217375A (en) Air brush processing system
JPH01191971A (en) Picture processor
JPH0814752B2 (en) Video rate color extraction device
JPH03113682A (en) Picture processor
JPH0353681A (en) Picture display device
JPS62214778A (en) Picture registration method
JPH11110555A (en) Display method for image and image processor using the same
KR100544196B1 (en) Chromaticity converting device of a displaying apparatus and method thereof
JPH03222937A (en) Medical image processing apparatus
JPH01147494A (en) Color display control system
JPS63304384A (en) Picture restricting color display device
JPH0192787A (en) Image limited color display device
JPS6399690A (en) Color picture signal conversion system
JPS63167394A (en) Color image processor/display
JPH05290133A (en) Color image processor
JPS63120375A (en) Picture input device