JPS63111582A - Image processor - Google Patents

Image processor

Info

Publication number
JPS63111582A
JPS63111582A JP61255732A JP25573286A JPS63111582A JP S63111582 A JPS63111582 A JP S63111582A JP 61255732 A JP61255732 A JP 61255732A JP 25573286 A JP25573286 A JP 25573286A JP S63111582 A JPS63111582 A JP S63111582A
Authority
JP
Japan
Prior art keywords
image data
memory
image
control
data
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
JP61255732A
Other languages
Japanese (ja)
Other versions
JP2703219B2 (en
Inventor
Hideaki Kawamura
秀明 河村
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.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP61255732A priority Critical patent/JP2703219B2/en
Publication of JPS63111582A publication Critical patent/JPS63111582A/en
Application granted granted Critical
Publication of JP2703219B2 publication Critical patent/JP2703219B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Image Processing (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To perform plural kinds of image processing by rewriting the contents of a lock-up table LUT as well as control data serving as the address of the LUT. CONSTITUTION:Image data is stored in an image memory 7 via an A/D converter 4 and at the same time given to a monitor 14 via a D/A converter 13 for display. A control memory 8 stores control information in response to the area of the image data. A memory reading part 10 reads out said control information and the image data on the memory 7 and inputs them into an LUT9. Then the part 10 reads the conversion information out of the LUT9 and converts the image data.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は画像データをルックアップテーブルにより変換
して出力する画像処理装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an image processing device that converts image data using a lookup table and outputs the converted image data.

[従来の技術] 従来よりイメージメモリの出力をルックアップテーブル
(以下LUTと略す)により変換して、例えばγ変換、
塗りつぶし、2値化等の各種画像処理を行う画像処理装
置が提案されている。しかし、これらの装置では領域を
指定し、その領域ごとにγ変換や塗りつぶし等の画像処
理を行うことはできなかった。
[Prior Art] Conventionally, the output of an image memory is converted using a look-up table (hereinafter abbreviated as LUT), such as γ conversion,
Image processing devices that perform various types of image processing such as filling in and binarizing have been proposed. However, with these devices, it is not possible to specify a region and perform image processing such as gamma conversion and filling for each region.

[発明が解決しようとする問題点] 本発明は上記従来例に鑑みなされたもので、画像データ
の所定の領域単位に、異なった画像処理を行うことので
きる画像処理装置を提供することを目的とする。
[Problems to be Solved by the Invention] The present invention has been made in view of the above-mentioned conventional examples, and an object of the present invention is to provide an image processing device that can perform different image processing for each predetermined area of image data. shall be.

[問題点を解決するための手段] 上記目的を達成するために本発明の画像処理装置は以下
の様な構成からなる。即ち、 画像データを入力して格納する格納手段と、前記画像デ
ータを表示する表示手段と、前記画像データの領域を指
定する指定手段と、前記領域に対応した制御情報を記憶
する記憶手段と、該記憶手段と前記格納手段とを同時に
アドレスして読出す読出手段と、前記領域に対応した変
換情報をテーブルメモリに書込む書込み手段とを備える
[Means for Solving the Problems] In order to achieve the above object, the image processing apparatus of the present invention has the following configuration. That is, a storage means for inputting and storing image data, a display means for displaying the image data, a specifying means for specifying an area of the image data, a storage means for storing control information corresponding to the area, The storage device includes a reading device that simultaneously addresses and reads out the storage device and the storage device, and a writing device that writes conversion information corresponding to the area into a table memory.

[作用コ 以上の構成において、読出手段により制御情報および画
像データを読出し、テーブルメモリに人力してテーブル
メモリより変換情報を読出し画像データを変換する様に
動作する。
[Operations] In the above configuration, the reading means operates to read control information and image data, manually read conversion information from the table memory, and convert the image data.

[実施例] 以下、添付図面を参照して本発明の実施例を詳細に説明
する。
[Embodiments] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

[画像処理装置の説明 (第1図)] 第1図は本実施例の画像処理装置の構成図である。[Description of image processing device (Figure 1)] FIG. 1 is a block diagram of an image processing apparatus according to this embodiment.

図中、1は装置全体を制御するCPU、2はCPUIの
制御プログラムやデータ等を格納するROM、3はCP
UIのワークエリアとして使用されるRAMである。4
はマルチプレクサ付のA/D変換器で、CPUIよりの
制御信号5に従ってR(赤)、G(緑)、B(青)の信
号を切換えて入力し、それぞれ8ビツトのデジタル画像
データに変換する。6はビデオバス、7はイメージメモ
リで、各色(RGB)毎に3つのフレームメモリを備え
ている。
In the figure, 1 is a CPU that controls the entire device, 2 is a ROM that stores CPU control programs and data, and 3 is a CPU.
This is a RAM used as a UI work area. 4
is an A/D converter with a multiplexer, which switches and inputs R (red), G (green), and B (blue) signals according to control signal 5 from the CPUI, and converts each into 8-bit digital image data. . 6 is a video bus, and 7 is an image memory, which includes three frame memories for each color (RGB).

8は後述する制御メモリで、1つのフレームメモリと同
じメモリ空間を有しており、LUT9のアドレス信号と
して4ビツトデータを出力する。
A control memory 8, which will be described later, has the same memory space as one frame memory, and outputs 4-bit data as an address signal for the LUT 9.

10はイメージメモリ7および制御メモリ8の読出しを
制御するメモリ読出部で、CPUIよりの制御信号に従
って動作を開始する。12はI10インタフェース部で
、座標人力装置であるデジタイザや各種コマンド等を入
力するキーボード、画像データの格納、読出等を行うデ
ィスク装置等との入出力を行う。13はD/A変換器で
、ビデオバス6上の8ビツトのデジタル画像データをア
ナログ信号に変換して、モニタディスクプレイ14に表
示する。モニタディスプレイ14は、例えば640X4
80ドツト表示可能なカラーディスプレイである。
Reference numeral 10 denotes a memory reading unit that controls reading of the image memory 7 and the control memory 8, and starts operating in accordance with a control signal from the CPUI. Reference numeral 12 denotes an I10 interface section which performs input/output with a digitizer which is a coordinate manual device, a keyboard for inputting various commands, a disk device for storing and reading image data, and the like. 13 is a D/A converter which converts the 8-bit digital image data on the video bus 6 into an analog signal and displays it on the monitor disk play 14. The monitor display 14 is, for example, 640X4.
It is a color display that can display 80 dots.

[LUTの説明 (第2図)] 第2図は本実施例のLUT9のブロック図で、第1図と
共通部分は同一記号で示している。
[Description of LUT (FIG. 2)] FIG. 2 is a block diagram of the LUT 9 of this embodiment, and parts common to those in FIG. 1 are indicated by the same symbols.

26〜28はそれぞれR,G、B用のLUTRAMで、
アドレス信号として8ビツトの各色の画像データと4ビ
ツトの制御データ20.計12ビットを人力している4
にバイトのRAMである。
26 to 28 are LUTRAMs for R, G, and B, respectively.
As address signals, 8-bit image data of each color and 4-bit control data 20. A total of 12 bits are manually generated 4
This is a byte of RAM.

いま、例えばメモリ読出部10の制御により、イメージ
メモリ(R)のイメージデータが読出されている時は、
メモリ読出部10よりイメージメモリ(R)に出力され
ているアドレスデータがそのまま制御メモリ8のアドレ
スとして人力され、R用RAM26に12ビツトのアド
レスが人力される。またこの時、メモリ読出部10より
の制御信号24によりR用RAM26のみが選択されて
いる。こうして赤色(R)の画像データがLUT9によ
り変換されて出力される。尚、各テーブルRAM26〜
28はCPUIによりパス29を介して書き換え可能な
構成となっている。
Now, for example, when image data from the image memory (R) is being read under the control of the memory reading section 10,
The address data outputted from the memory reading section 10 to the image memory (R) is inputted as is as an address in the control memory 8, and a 12-bit address is inputted into the R RAM 26. Also, at this time, only the R RAM 26 is selected by the control signal 24 from the memory reading section 10. In this way, the red (R) image data is converted by the LUT 9 and output. In addition, each table RAM26~
28 has a configuration that can be rewritten by the CPU via a path 29.

[動作説明 (第3図〜第5図)コ 第3図は本実施例の画像処理動作のフローチャートで、
本プログラムはROM2に格納されている。
[Operation Description (Figures 3 to 5) Figure 3 is a flowchart of the image processing operation of this embodiment.
This program is stored in ROM2.

まずステップS1で画像データを入力してイメージメモ
リ7に格納する。これはRGBのアナログ画像信号をA
/D変換器4によりデジタル化して人力しても良く、又
はI10インタフェース部12を介してディスク等の外
部記憶装置より入力しても良い。
First, in step S1, image data is input and stored in the image memory 7. This converts the RGB analog image signal into A
The data may be digitized by the /D converter 4 and input manually, or may be input from an external storage device such as a disk via the I10 interface section 12.

ステップS2でモニタテレビ14に画像を表示し、ステ
ップS3ではデジタイザやキーボード等により、モニタ
画面上で画像の領域及び色の指定を行う。
In step S2, the image is displayed on the monitor television 14, and in step S3, the area and color of the image are specified on the monitor screen using a digitizer, keyboard, or the like.

第4図は画像データの具体例を示したもので、山々を背
景として車が表示されている。いま、例えば車の車体部
分30、窓部分31、タイヤ部分32をそれぞれデジタ
イザで指示し、それぞれの色を、例えば車体は赤、窓部
分31では山なみが透けて見える様に、タイヤ部分32
は黒というように指定した場合を考える。
FIG. 4 shows a specific example of image data, in which a car is displayed with mountains in the background. Now, for example, specify the body part 30, window part 31, and tire part 32 of the car using the digitizer, and change the color of each part, for example, red for the car body, and set the tire part 32 so that the mountain range can be seen through the window part 31.
Consider the case where the color is specified as black.

この指定に基づき、例えば第5図に示す如く、制御メモ
リ8の制御データ20のビットとLUTRAM26〜2
8の内容とを対応づけ、ステップS4でRAM26〜2
8の内容を、ステップS5で制御メモリ8の内容を書換
える。
Based on this designation, for example, as shown in FIG.
8 and the contents of RAM 26 to 2 in step S4.
8, the contents of the control memory 8 are rewritten in step S5.

これは即ち、窓部分31に対応する制御メモリ8の領域
ではビット3を1″にする。LUTRAM26〜28の
制御データ20のビット3が1”となるアドレスには、
アドレスとして入力される8ビツトのR,G、Bデータ
の172のデータを書込む。また車体部分30に対応す
る制御メモリ8の領域のビット2を“1”にし、RAM
26の該当するアドレスには、” 255”を、他のR
AM27.28の該当するアドレスには”0”を書込む
。また更にタイヤ部分32に対応する制御メモリ8では
その領域゛のビット1を1″にし、RAM26〜28の
該当するアドレスには(8ビツト画像データ(8ビツト
アドレス)+255)/2のデータを書込む。尚、制御
メモリ8の他の領域には“0”を、RAM26〜28の
他の領域には8ビツト画像データの入力値に等しい値を
順次格納する。
That is, in the area of the control memory 8 corresponding to the window portion 31, bit 3 is set to 1''. At the address where bit 3 of the control data 20 of the LUTRAMs 26 to 28 is set to 1'',
Writes 172 pieces of 8-bit R, G, and B data input as an address. Also, bit 2 of the area of the control memory 8 corresponding to the vehicle body part 30 is set to "1", and the RAM
For the corresponding address of 26, enter “255”, and for the other R
Write "0" to the corresponding address of AM27.28. Further, in the control memory 8 corresponding to the tire portion 32, bit 1 of that area is set to 1'', and data of (8-bit image data (8-bit address) + 255)/2 is written to the corresponding addresses of the RAMs 26 to 28. Note that "0" is sequentially stored in other areas of the control memory 8, and values equal to the input value of the 8-bit image data are sequentially stored in other areas of the RAMs 26-28.

以上の動作後ステップS6に進み、メモリ読出部10に
イメージメモリ7と制御メモリ8の読出しを指示するこ
とにより、制御データ20のビット1が“1”であるタ
イヤ部分32は黒く、制御データ20のビット2が“1
”の車体部分30は赤色となり、ビット3が“1”の窓
部分31は地の色が白っぽくなって窓越しに山が見える
雰囲気になる。
After the above operation, the process proceeds to step S6, and by instructing the memory reading unit 10 to read the image memory 7 and the control memory 8, the tire portion 32 where bit 1 of the control data 20 is "1" is black, and the control data 20 bit 2 is “1”
The vehicle body part 30 with "" becomes red, and the background color of the window part 31 with bit 3 "1" becomes whitish, giving an atmosphere where the mountain can be seen through the window.

以上説明した様に、イメージメモリの画像データを変更
することなく表示画像を種々に変更できる。また必要な
らば、ビデオバス6を介してイメージメモリ7に変換し
た画像データ書き込むことも可能である。
As explained above, the displayed image can be changed in various ways without changing the image data in the image memory. Furthermore, if necessary, it is also possible to write the converted image data into the image memory 7 via the video bus 6.

また画像データの変更は本実施例に限定されるものでな
く、LUTRAMを書き換えることにより、例えばγ変
換、ネガ/ポジ変換、多値化等の画像処理が実行可能と
なる。
Further, the modification of image data is not limited to this embodiment, and by rewriting the LUTRAM, image processing such as γ conversion, negative/positive conversion, and multi-value conversion can be executed.

以上説明した様に本実施例によれば、LUTのアドレス
となる制御データとLUTの内容を書換えることにより
、複数種類の画像処理を実行できるという効果がある。
As explained above, according to this embodiment, by rewriting the control data serving as the address of the LUT and the contents of the LUT, it is possible to perform a plurality of types of image processing.

[発明の効果] 以上述べた如く本発明によれば、画像データの所定の領
域単位に種々の画像lA理が行えるという効果がある。
[Effects of the Invention] As described above, according to the present invention, there is an effect that various image processing can be performed for each predetermined area of image data.

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

第1図は本実施例の画像処理装置の構成図、第2図は本
実施例のルックアップテーブルのブロック図、 第3図は本実施例の画像処理のフローチャート、 第4図は画像データの具体例を示す図、第5図は制御デ
ータとLUTRAMの内容との関係を示す図である。 図中、1・・・CPtJ、2・・・ROM、3・・・R
AM。 4・・・A/DyR換器、7・・・イメージメモリ、8
・・・制御メモリ、9・・・ルックアップテーブル(L
UT)、10・・・メモリ読出部、12・・・I10イ
ンタフェース部、13・・・D/A変換器、14・・・
モニタディスプレイ、26〜28・・・LUTRAM、
30・・・車体部分、31・・・窓部分、32・・・タ
イヤ部分である。 特許出願人   キャノン株式会社 第2図 第3図 第4図
Fig. 1 is a block diagram of the image processing device of this embodiment, Fig. 2 is a block diagram of a lookup table of this embodiment, Fig. 3 is a flowchart of image processing of this embodiment, and Fig. 4 is a diagram of image data. A diagram showing a specific example, FIG. 5, is a diagram showing the relationship between control data and the contents of LUTRAM. In the figure, 1...CPtJ, 2...ROM, 3...R
A.M. 4... A/DyR converter, 7... Image memory, 8
... Control memory, 9... Lookup table (L
UT), 10...Memory reading unit, 12...I10 interface unit, 13...D/A converter, 14...
Monitor display, 26-28...LUTRAM,
30...Vehicle body part, 31...Window part, 32...Tire part. Patent applicant Canon Co., Ltd. Figure 2 Figure 3 Figure 4

Claims (1)

【特許請求の範囲】[Claims] 画像データを入力して格納する格納手段と、前記画像デ
ータを表示する表示手段と、前記画像データの領域を指
定する指定手段と、前記領域に対応した制御情報を記憶
する記憶手段と、該記憶手段と前記格納手段とを同時に
アドレスして読出す読出手段と、前記領域に対応した変
換情報をテーブルメモリに書込む書込み手段とを備え、
前記読出手段により読出した前記制御情報および前記画
像データをもとに前記テーブルメモリより前記変換情報
を読出して前記画像データを変換するようにしたことを
特徴とする画像処理装置。
storage means for inputting and storing image data; display means for displaying the image data; designation means for specifying an area for the image data; storage means for storing control information corresponding to the area; comprising: reading means for simultaneously addressing and reading out the means and the storage means; and writing means for writing conversion information corresponding to the area into a table memory;
An image processing apparatus characterized in that the image data is converted by reading out the conversion information from the table memory based on the control information and the image data read by the reading means.
JP61255732A 1986-10-29 1986-10-29 Image processing device Expired - Fee Related JP2703219B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61255732A JP2703219B2 (en) 1986-10-29 1986-10-29 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61255732A JP2703219B2 (en) 1986-10-29 1986-10-29 Image processing device

Publications (2)

Publication Number Publication Date
JPS63111582A true JPS63111582A (en) 1988-05-16
JP2703219B2 JP2703219B2 (en) 1998-01-26

Family

ID=17282861

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61255732A Expired - Fee Related JP2703219B2 (en) 1986-10-29 1986-10-29 Image processing device

Country Status (1)

Country Link
JP (1) JP2703219B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56169965A (en) * 1980-06-02 1981-12-26 Ricoh Co Ltd Data conversion circuit
JPS6081686A (en) * 1983-10-11 1985-05-09 Hitachi Ltd Specifying circuit of area
JPS6141274A (en) * 1984-08-02 1986-02-27 Matsushita Electric Ind Co Ltd Digital gradation converter
JPS61115183A (en) * 1984-11-09 1986-06-02 Toshiba Corp Density gradation converting system in dark and light image processing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56169965A (en) * 1980-06-02 1981-12-26 Ricoh Co Ltd Data conversion circuit
JPS6081686A (en) * 1983-10-11 1985-05-09 Hitachi Ltd Specifying circuit of area
JPS6141274A (en) * 1984-08-02 1986-02-27 Matsushita Electric Ind Co Ltd Digital gradation converter
JPS61115183A (en) * 1984-11-09 1986-06-02 Toshiba Corp Density gradation converting system in dark and light image processing

Also Published As

Publication number Publication date
JP2703219B2 (en) 1998-01-26

Similar Documents

Publication Publication Date Title
US4980678A (en) Display controller for CRT/flat panel display apparatus
US4933878A (en) Graphics data processing apparatus having non-linear saturating operations on multibit color data
JP2572373B2 (en) Color display device
JPS61107392A (en) Image processing system
JPH06230760A (en) Display device
US5077678A (en) Graphics data processor with window checking for determining whether a point is within a window
JP2578170B2 (en) Image display device
US5375198A (en) Process for performing a windowing operation in an array move, a graphics computer system, a display system, a graphic processor and a graphics display system
US5231694A (en) Graphics data processing apparatus having non-linear saturating operations on multibit color data
US4903013A (en) Display system for plural display areas on one screen
JPS63111582A (en) Image processor
JPH0697390B2 (en) Image display control circuit
JP2508544B2 (en) Graphic display device
JPH06332398A (en) Method for processing video signal and device therefor
JPH06343142A (en) Image display device
JPH0728444A (en) Method for revising tone of image data
JPH0310381A (en) Device and method of displaying picture
JP2650988B2 (en) Image display device
JP3106496B2 (en) Image processing apparatus and method
JPS62204389A (en) Clipping/shielding method by any polygons
JP2773191B2 (en) Color display
JPH10145617A (en) Image processing unit
JPH041356B2 (en)
JPS60209786A (en) Color display unit
JPH0661036B2 (en) Graphic display

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees