JPS62197874A - Image processor - Google Patents

Image processor

Info

Publication number
JPS62197874A
JPS62197874A JP4003286A JP4003286A JPS62197874A JP S62197874 A JPS62197874 A JP S62197874A JP 4003286 A JP4003286 A JP 4003286A JP 4003286 A JP4003286 A JP 4003286A JP S62197874 A JPS62197874 A JP S62197874A
Authority
JP
Japan
Prior art keywords
image
data
area
memory
pixel
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
JP4003286A
Other languages
Japanese (ja)
Inventor
Hirobumi Nakayama
博文 中山
Satoshi Iguchi
井口 敏
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.)
Shaken Co Ltd
Photo Composing Machine Manufacturing Co Ltd
Original Assignee
Shaken Co Ltd
Photo Composing Machine Manufacturing 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 Shaken Co Ltd, Photo Composing Machine Manufacturing Co Ltd filed Critical Shaken Co Ltd
Priority to JP4003286A priority Critical patent/JPS62197874A/en
Publication of JPS62197874A publication Critical patent/JPS62197874A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)

Abstract

PURPOSE:In superposing of a plural number of image data, to obviate such defects as the image below being seen at the highlight part of the topmost superposed image, by providing an image processes enabling selective output of picture element of the topmost image. CONSTITUTION:In case the picture elements of a highlight part are superposed at the topmost layer, (n) bit data on highlight part are all zero for those picture elements. However the picture element data S3' is equal to '1' with respect to the internal picture elements of an image area extracted by an area extracting part 4-3. Therefore, picture element data S3 containing (n) bits all set at '0' is outputted selectively via an AND gate G5 and an OR gate G6 via a logic circuit of a picture processing part 6 regardless of the state of picture element data S2'. This can avoid such a defective fact that the images set at a lower position are seen through.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は画像処理装置に関し、詳しくは複数の濃淡画像
を不都合なく重畳処理することができる画像処理装置に
関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an image processing apparatus, and more particularly to an image processing apparatus that can superimpose a plurality of grayscale images without any inconvenience.

[従来技術の問題点] 従来、例えば2つのS淡画像を重畳処理する際、画像が
重なる4i5分では一方のみの画素データを採用して、
どちらかの画像が上になるような処理を行って重畳処理
すると、以下のような問題が有る。
[Problems with the prior art] Conventionally, when superimposing two S light images, for example, in 4i5 minutes where the images overlap, pixel data of only one is used,
If the superimposition process is performed so that one of the images is on top, the following problems occur.

まず、第2図(1)のような濃淡画像と、第2図■に示
す濃淡画像を重畳処理する場合について説明する。両画
像は1画素nビットからなるデータである。第2図Q)
で、Pとして示す領域は、光線の反射等によって生じた
ハイライト部分を示してJ3す、その領域Pの画素デー
タはnビットすべてが「0」だとする。
First, a case will be described in which a grayscale image as shown in FIG. 2(1) and a grayscale image shown in FIG. 2(2) are superimposed. Both images are data consisting of 1 pixel and n bits. Figure 2 Q)
The area designated as P indicates a highlighted portion caused by reflection of a light ray, etc., and it is assumed that all n bits of the pixel data of that area P are "0".

そのような第2図(1)、(2)の画像を、一方の画素
データのみに「1」のビットが存在する場合はその画素
データを残し、両方の画素データに「1」のビットが存
在する場合はいずれか一方の画素データを残して両画像
の上下関係を明確にするという方法に従って重畳画像の
データを作成し、表示部に表示すると、第2図(3)に
示すような画像になる。即ち、領域Pの部分に、本来表
示されてはならない第2図(1)の画像が表示されてい
しまい、下の画像が透【ノて見える画像になってしまう
For such images in Figure 2 (1) and (2), if only one pixel data has a "1" bit, that pixel data is left, and both pixel data have a "1" bit. If the data of the superimposed image is created using the method of leaving the pixel data of one of the images to clarify the vertical relationship between the two images and displaying it on the display, an image like the one shown in Figure 2 (3) will be created. become. That is, the image shown in FIG. 2 (1), which should not originally be displayed, is displayed in the area P, and the image underneath becomes transparent.

[発明の目的] 本発明は以上の点から成したものであり、上述の如き欠
点のない画像処理装置を提供することを目的とし、その
特徴とするところは、1画inビットの画像データを記
憶している画像メモリと、前記画像メモリに記憶してい
る画像データから、画像の存在する領域の輪郭を抽出し
、該輪郭の内部を塗りつぶして作成した2値データを記
憶する領域用メモリと、複数の画像データを重畳処理す
る際、一番上に重畳する画像の画素データがnビットす
べて「0」であっても、前記領域用メモリ中の当該画素
のビットが「1」の場合、前記一番上に重畳する画像の
当該画素データを選択出力する画像処理部とを具備する
ことである。
[Object of the Invention] The present invention has been made based on the above-mentioned points, and aims to provide an image processing device that does not have the above-mentioned drawbacks. a stored image memory; and an area memory that stores binary data created by extracting an outline of an area where an image exists from the image data stored in the image memory and filling in the inside of the outline. , when multiple image data are superimposed, even if all n bits of pixel data of the image to be superimposed on top are "0", if the bit of the pixel in the area memory is "1", and an image processing unit that selectively outputs the pixel data of the image to be superimposed on the top.

[発明の構成〕 第1図は本発明の画像処理装置の一実施例を示すブロッ
ク図である。1はキーボード、2はIIJI W部、3
−1.3−2.3−3は1画素あたりnビットの画像デ
ータを記憶している画像メモリ、4−2.4−3は前記
画像メモリ3−2.3−3の画像領域を抽出し、その領
域を塗りつぶしたデータを作成する領域抽出部、5−2
.5−3は前記領域抽出部4−2.4−3で抽出したデ
ータを記憶する領域用メモリ、6は画像合成等の処理を
行う画像処理部、7はCRTコントローラ、8は表示部
である。
[Configuration of the Invention] FIG. 1 is a block diagram showing an embodiment of an image processing apparatus of the present invention. 1 is the keyboard, 2 is the IIJI W section, 3
-1.3-2.3-3 is an image memory that stores n-bit image data per pixel, and 4-2.4-3 extracts the image area of the image memory 3-2.3-3. and an area extraction unit that creates data that fills out the area, 5-2
.. 5-3 is an area memory for storing the data extracted by the area extraction unit 4-2.4-3, 6 is an image processing unit that performs processing such as image synthesis, 7 is a CRT controller, and 8 is a display unit. .

第3図は前記画像処理部6における処理を行う回路図で
ある。G+−GsがANDゲート、G6がORゲート、
07〜G9がNOTゲートである。
FIG. 3 is a circuit diagram for performing processing in the image processing section 6. As shown in FIG. G+-Gs is an AND gate, G6 is an OR gate,
07 to G9 are NOT gates.

〔発明の動作] 次に本発明の動作について説明する。尚、以下の説明で
は、3つの画像を重畳する場合の例について説明するが
、本発明の原理を用いれば、4つ以上の画像を重畳する
場合についても容易に応用することができる。
[Operation of the invention] Next, the operation of the invention will be described. In the following description, an example will be described in which three images are superimposed, but the principles of the present invention can be easily applied to cases in which four or more images are superimposed.

第4図(1)は画像メモリ3−1に記憶している両像デ
ータを示す図である。また、第4図■−Aは画像メモリ
3−2に、第4図(3)−Aは画像メモリ3−3に記憶
している画像データをそれぞれ示す図である。
FIG. 4(1) is a diagram showing both image data stored in the image memory 3-1. Further, FIG. 4(3)-A is a diagram showing image data stored in the image memory 3-2, and FIG. 4(3)-A is a diagram showing image data stored in the image memory 3-3.

はじめにキーボード1より画像メモリ3−1゜3−2.
3−3に予め記憶させている画像データを重畳処理する
旨の指示を行う。その指示に基づき、制御部2の制御に
より、以下の処理を行う。
First, from the keyboard 1, select the image memory 3-1゜3-2.
3-3 is instructed to superimpose the image data stored in advance. Based on the instruction, the following processing is performed under the control of the control unit 2.

尚重畳処理は、一番上に来るのは画像メモリ3−3に記
憶している画像データで、以下、画像メモリ3−2.3
−’lに記憶している画像データの順に重畳される。
In addition, in the superimposition process, the topmost image data is the image data stored in the image memory 3-3, and the image data stored in the image memory 3-2.3 is
-'l are superimposed in the order of the image data stored.

まず画像メモリ3−2.3−3の画像データがそれぞれ
領域抽出部4−2.4−3に送られる。
First, the image data in the image memory 3-2.3-3 is sent to the area extraction section 4-2.4-3.

領域抽出部4−2.4−3では送られて来た画像データ
から、画像の存在する領域の輪郭を抽出し、更に該輪郭
の内側を塗りつぶした2[のデータを作成して領域用メ
モリ5−2.5−3へ送り格納する。また領域抽出部4
−2.4−3で抽出できない場合、あるいは画像メモリ
3−2.3−3中の複数の画像から1つの画像の領域を
求めたりするようなときは、図示しないマウスのような
ポインティングデバイスにより、画像メモリ3−2゜3
−3のW4域を指定し、塗りつぶしたデータを領域用メ
モリ5−2.5−3に格納する。
The area extraction unit 4-2.4-3 extracts the outline of the area where the image exists from the sent image data, and then creates 2[ data by filling in the inside of the outline and stores it in the area memory. 5-2. Send to 5-3 and store. Also, the area extraction unit 4
-2.4-3, or when you want to find the area of one image from multiple images in image memory 3-2.3-3, use a pointing device such as a mouse (not shown). , image memory 3-2゜3
-3 W4 area is designated and the filled data is stored in the area memory 5-2.5-3.

第4図■−B、(3)−Bはこのような処理を行って、
それぞれ第4図■−A、(3)−Aの画像データが存在
する領域を抽出し、領域用メモリ5−2.5−3に格納
された2値データを示す図である。第4図(2)−8,
(3)−8で黒く塗りつぶされた領域が、ビット「1」
の部分である。
Figure 4 ■-B and (3)-B perform such processing,
FIG. 4 is a diagram illustrating the binary data extracted from the regions in which the image data of FIGS. Figure 4 (2)-8,
(3) The area filled in black with -8 is bit “1”
This is the part.

その後、画像メモリ3−1.3−2.3−3、領域用メ
モリ5−2.5−3から、それぞれのメモリに記憶して
いるデータを1画素分ずつ、それぞれ第1図に8+ +
 82 + 83+ 82 ’ + S:l ’として
示すデータとして画[11理部6へ送る。
After that, from the image memory 3-1.3-2.3-3 and the area memory 5-2.5-3, one pixel worth of data stored in each memory is transferred to 8+ + in FIG.
82 + 83 + 82 ' + S:l ' The image [11 is sent to the science department 6.

画像処理部6に入力されたデータは第3図に示す論理回
路に従って1画素ずつ重畳処理されるが、以下に、第4
図(1)、(2)−八、(3)−への3つの画像を巾畳
する場合の画像処理部6における処理を具体的に説明す
る。
The data input to the image processing unit 6 is superimposed pixel by pixel according to the logic circuit shown in FIG.
The processing in the image processing unit 6 when three images in FIGS. (1), (2)-8, and (3)- are folded will be specifically described.

はじめに、S+ 、82.83として供給されるnビッ
トの画素すべてに「1」のビットが存在する場合につい
て説明する。この場合、領域用メモリ5−2.5−3か
らの当該画素のデータS2’S3’は、 S2’=1 S コ ′  −1 である。従って、第3図の論理回路によって83の画素
データがANDゲートGs、ORゲートG6を介して選
択出力される。
First, a case where "1" bits exist in all n-bit pixels supplied as S+, 82.83 will be explained. In this case, the data S2'S3' of the pixel from the area memory 5-2.5-3 is S2'=1 S co' -1. Therefore, the logic circuit shown in FIG. 3 selectively outputs 83 pixel data via the AND gate Gs and the OR gate G6.

次に、第4図(3)−AのP部のようにハイライト部分
の画素を一番上に重畳する場合について説明する。この
部分の画素はnビットすべてrOJのデータである。但
し領域抽出部4−3で抽出された画像領域の内部の画素
なので、S3’−1である。
Next, a case will be described in which the pixels of the highlighted portion are superimposed on the top, as in the P section of FIG. 4(3)-A. All n bits of pixels in this part are rOJ data. However, since it is a pixel inside the image area extracted by the area extraction unit 4-3, it is S3'-1.

従って32’のいかんにかかわらず、このデータは画像
処理部6の第3図に示す論理回路によって、S3のnビ
ットすべてrOJの画素データがANDゲートGs 、
ORゲートG6を介して選択出力される。従って第2図
(3)のP部のように下の画像が透けて見えてしまうよ
うな処理は行われない。
Therefore, regardless of 32', this data is processed by the logic circuit shown in FIG.
It is selectively outputted via OR gate G6. Therefore, processing such as the part P in FIG. 2 (3) in which the underlying image is seen through is not performed.

このように83’=1の場合は、この信号が、S+及び
Slを禁止的信号として作用するので、S3で送られて
来る画像がハイライト部であるか否かには関係なく、視
覚上あたかも最前面の画像として表示される。同時に、
Sz’=1の場合は、この信号が禁止的信号として作用
する。従って82で送られて来る画像はSlからの画像
よりも優先して表示され。視覚上S!より全面の画像と
して表示される。
In this way, when 83'=1, this signal acts as an inhibiting signal for S+ and Sl, so it is visually It is displayed as if it were the frontmost image. at the same time,
If Sz'=1, this signal acts as an inhibiting signal. Therefore, the image sent at 82 is displayed with priority over the image from Sl. Visually S! Displayed as a full-scale image.

以上のようにして1画素ごとに処理を行ったデータは、
CRTコントローラ7の制御により、第5図の如く表示
部8に表示される。
The data processed pixel by pixel as described above is
Under the control of the CRT controller 7, the image is displayed on the display unit 8 as shown in FIG.

以上、本発明の実施例を詳しく説明した。上記説明では
画像メモリ3−1〜3−3の記憶内容を適宜に変更する
ことにより、表示部8上におけるそれぞれの画像の視覚
的な前後関係を自由に変更することが可能である。
The embodiments of the present invention have been described in detail above. In the above description, by appropriately changing the storage contents of the image memories 3-1 to 3-3, it is possible to freely change the visual context of each image on the display section 8.

また上記実施例では処理結果をCRTに表示する場合に
ついて説明したが、処理結果をプリンタから出力したり
、あるいは記憶手段に記憶させる場合であっても本発明
を適用することができる。
Further, in the above embodiment, the case where the processing results are displayed on a CRT has been described, but the present invention can also be applied to cases where the processing results are outputted from a printer or stored in a storage means.

[発明の効果] 以上詳しく説明したように、本発明は濃淡画像を重畳処
理する際、上述したようにハイライト部分では、下の画
像が透けて見えてしまうといった従来の欠点を解消する
ことができるため、その効果は大きい。
[Effects of the Invention] As explained in detail above, the present invention can solve the conventional drawback that when performing superimposition processing on gray scale images, the underlying image is visible in the highlighted part as described above. The effect is great because it can be done.

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

第1図は本発明の画像処理装置の実施例を示づブロック
図、第2図は従来の画像処理装置における画像の重畳処
理の例を示す図、第3図は画像処理部における処理を行
う回路図の例、第4図は本発明によって重畳処理する画
像の例を示す図、第5図は本発明によって重畳処理を行
った結果の例を示す図である。 1・・・キーボード 2・・・制御部 3−1.2.3・・・画像メモリ 4−2.3・・・領域抽出部 5−2.3・・・領域用メモリ 6・・・画像処理部 7・・・CRTコントローラ 8・・・表示部
FIG. 1 is a block diagram showing an embodiment of the image processing device of the present invention, FIG. 2 is a diagram showing an example of image superimposition processing in a conventional image processing device, and FIG. 3 is a block diagram showing an example of image superimposition processing in a conventional image processing device. As an example of a circuit diagram, FIG. 4 is a diagram showing an example of an image subjected to superimposition processing according to the present invention, and FIG. 5 is a diagram showing an example of the result of superimposition processing according to the present invention. 1...Keyboard 2...Control unit 3-1.2.3...Image memory 4-2.3...Area extraction unit 5-2.3...Area memory 6...Image Processing section 7...CRT controller 8...Display section

Claims (1)

【特許請求の範囲】 1画素nビットの画像データを記憶している画像メモリ
と、 前記画像メモリに記憶している画像データから、画像の
存在する領域の輪郭を抽出し、該輪郭の内部を塗りつぶ
して作成した2値データを記憶する領域用メモリと、 複数の画像データを重畳処理する際、一番上に重畳する
画像の画素データがnビットすべて「0」であっても、
前記領域用メモリ中の当該画素のビットが「1」の場合
、前記一番上に重畳する画像の当該画素データを選択出
力する画像処理部とを具備する画像処理装置。
[Claims] An image memory that stores image data of 1 pixel and n bits, and an outline of an area where the image exists is extracted from the image data stored in the image memory, and the inside of the outline is extracted. When superimposing multiple image data with area memory that stores binary data created by filling, even if all n bits of pixel data of the image to be superimposed on top are "0",
an image processing unit that selectively outputs the pixel data of the image to be superimposed on the top when the bit of the pixel in the area memory is "1".
JP4003286A 1986-02-25 1986-02-25 Image processor Pending JPS62197874A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4003286A JPS62197874A (en) 1986-02-25 1986-02-25 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4003286A JPS62197874A (en) 1986-02-25 1986-02-25 Image processor

Publications (1)

Publication Number Publication Date
JPS62197874A true JPS62197874A (en) 1987-09-01

Family

ID=12569569

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4003286A Pending JPS62197874A (en) 1986-02-25 1986-02-25 Image processor

Country Status (1)

Country Link
JP (1) JPS62197874A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02139597A (en) * 1988-11-21 1990-05-29 Matsushita Electric Ind Co Ltd Picture recording and reproducing device
JPH02226486A (en) * 1989-02-28 1990-09-10 Sharp Corp Picture encoding/synthesizing system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5816237A (en) * 1981-07-22 1983-01-29 Dainippon Screen Mfg Co Ltd Image scanning and recording method
JPS59183459A (en) * 1983-04-01 1984-10-18 Hitachi Ltd Picture synthesizing system
JPS60149083A (en) * 1984-01-13 1985-08-06 キヤノン株式会社 Display unit

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5816237A (en) * 1981-07-22 1983-01-29 Dainippon Screen Mfg Co Ltd Image scanning and recording method
JPS59183459A (en) * 1983-04-01 1984-10-18 Hitachi Ltd Picture synthesizing system
JPS60149083A (en) * 1984-01-13 1985-08-06 キヤノン株式会社 Display unit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02139597A (en) * 1988-11-21 1990-05-29 Matsushita Electric Ind Co Ltd Picture recording and reproducing device
JPH02226486A (en) * 1989-02-28 1990-09-10 Sharp Corp Picture encoding/synthesizing system

Similar Documents

Publication Publication Date Title
US5451981A (en) Tear free updates of computer graphical output displays
AU612222B2 (en) Z-buffer allocated for window identification
US6366292B1 (en) Scaling method and apparatus for a flat panel display
US4481594A (en) Method and apparatus for filling polygons displayed by a raster graphic system
JPS63103386A (en) Graphic outline extracting device
AU618128B2 (en) Method and apparatus for decomposing a quadrilateral figure for display and manipulation by a computer system
JPS62197874A (en) Image processor
US5870074A (en) Image display control device, method and computer program product
CA2021830C (en) Display system
JPH0697390B2 (en) Image display control circuit
KR960003871B1 (en) Labelling method & the apparatus thereof
JPS6242278B2 (en)
JPH07210143A (en) Computer display system
JPS62123575A (en) Picture processing device
JPS6017483A (en) Image display
JPS62222370A (en) Image processor
JPH0756557A (en) Synthesizing method for picture
JP2781924B2 (en) Superimpose device
JPH0431153B2 (en)
JPH0693247B2 (en) Image display device
JPS61148487A (en) Expander/reducer
JPH0736424A (en) Control circuit for picture display memory
JPH05127861A (en) Image processing system
JPS60252945A (en) Reduction method of character pattern
JPS59119491A (en) Control system of hard copy