JPH011075A - Image processing device - Google Patents

Image processing device

Info

Publication number
JPH011075A
JPH011075A JP63-42750A JP4275088A JPH011075A JP H011075 A JPH011075 A JP H011075A JP 4275088 A JP4275088 A JP 4275088A JP H011075 A JPH011075 A JP H011075A
Authority
JP
Japan
Prior art keywords
bit
mask
search
information
word
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
JP63-42750A
Other languages
Japanese (ja)
Other versions
JPH0795346B2 (en
JPS641075A (en
Inventor
小口 哲司
大内 光郎
Original Assignee
日本電気株式会社
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 日本電気株式会社 filed Critical 日本電気株式会社
Priority to JP63042750A priority Critical patent/JPH0795346B2/en
Priority claimed from JP63042750A external-priority patent/JPH0795346B2/en
Publication of JPS641075A publication Critical patent/JPS641075A/en
Publication of JPH011075A publication Critical patent/JPH011075A/en
Publication of JPH0795346B2 publication Critical patent/JPH0795346B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は表示メモリを6管理し図形を描画する画像処理
装置に関し、特にそのような処理装置に設けられて図形
の境界を検索する境界検索回路に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to an image processing device that manages a display memory and draws figures, and particularly relates to an image processing device that manages a display memory and draws figures, and particularly an image processing device that is provided in such a processing device to search for boundaries of figures. Regarding circuits.

〔従来の技術〕[Conventional technology]

画像処理装置の機能の一つに閉ループによって規定され
た図形の内部又は外部を任意の模様で塗りつぶす機能が
ある。そのためには、その図形の境界を検索する必要が
ある。デイスプレィの表示画面の1ドツトは表示メモリ
の1ビツトにそれぞれ対応しているので、表示メモリの
内容を1ワ一ド単位で読み出し各ワードにおける各ビッ
トのデータを検出して図形の境界を検索している。
One of the functions of an image processing device is to fill the inside or outside of a figure defined by a closed loop with an arbitrary pattern. To do this, it is necessary to search the boundaries of the figure. Each dot on the display screen corresponds to one bit in the display memory, so the contents of the display memory are read word by word, the data of each bit in each word is detected, and the boundary of the figure is searched. ing.

従来技術による図形境界検索は次のようにして行なわれ
ていた。
Graphic boundary search according to the prior art was performed as follows.

(1)境界検索の開始点を与えこの開始点で指定される
ビットを有する1ワードのデータを表示メモリから読み
出しビットシフト命令を用いて開始点で指定されるビッ
トのデータが「1」であるか「0」であるかを判定する
。rlJであれば開始点を図形の境界であると見なして
検索を中止し工ラーメッセージ等を行なう。これは図形
の左端境界および/又は右端境界を確定できないためで
ある。
(1) Give a starting point for boundary search, read one word of data with the bit specified by this starting point from the display memory, and use a bit shift command to check that the data of the bit specified by the starting point is "1". or "0". If it is rlJ, the starting point is considered to be the boundary of the figure, the search is stopped, and an error message is sent. This is because the left end boundary and/or right end boundary of the figure cannot be determined.

(2)  rOJである場合には、検索開始点で指定さ
れるビットを含む1ワードのうち、検索開始点で指定さ
れるビットから左端にあるビット (LSB)までの中
に「1」を記憶しているビットがあるかどうかを、ビッ
トシフト命令を使用して1ビツトごとに判定する。
(2) If rOJ, store "1" from the bit specified at the search start point to the leftmost bit (LSB) of one word that includes the bit specified at the search start point. A bit shift instruction is used to determine whether or not there are any bits.

(3−A)  r I Jを記憶しているビットを検出
した場合には、そのビット位置を左端境界とする。そし
て、検索開始点から右方向への検索に入る。
(3-A) When a bit storing r I J is detected, the bit position is set as the left edge boundary. Then, the search begins in the right direction from the search start point.

(3−B)  一方、「1」を記憶しているビットが検
出されなかった場合には、そのワードの左側に隣接する
1ワードの内容を新たに読み出す。読み出したワードの
右端ビット(MSB)から左端ビット(L S B)に
至るまでビットシフト命令を使用して各ビットの内容が
「1」であるか「0」であるかを判定する。
(3-B) On the other hand, if a bit storing "1" is not detected, the contents of one word adjacent to the left side of that word are newly read. A bit shift instruction is used from the rightmost bit (MSB) to the leftmost bit (LSB) of the read word to determine whether the content of each bit is "1" or "0".

(3−C)  r I Jを記憶しているビットが検出
されなかった場合は、更に左側に隣接するワードを新た
に読み出し、同様の処理を行なう。以後、「1」を記憶
しているビット検出するまで繰り返す。かくして左端境
界が検出される。
(3-C) If the bit storing r I J is not detected, a word adjacent to the left side is newly read out and the same process is performed. Thereafter, the process is repeated until a bit storing "1" is detected. The leftmost boundary is thus detected.

(4−A)  次に右端境界の検索を行なう。検索開始
点で指定されたビットからこのビットを含むワードの右
端ビット (MSB)の中に「1」を記憶しているビッ
トを検出する。
(4-A) Next, search for the right edge boundary. A bit that stores "1" in the rightmost bit (MSB) of a word containing this bit from the bit specified at the search start point is detected.

(4−B)  そのようなビットが検出されないときは
、右側に隣接しているワードの内容を読み出し「1」を
記憶しているビットをビットシフト命令を使用して検出
する。以下同様の処理を繰り返し右端境界を検索する。
(4-B) If no such bit is detected, read the contents of the adjacent word on the right and detect the bit storing "1" using a bit shift instruction. Thereafter, the same process is repeated to search for the right edge boundary.

かくして、図形の境界が検索される。Thus, the boundaries of the shape are searched.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかしながら、この境界検索方式では、「1」を記憶し
ているビットを見つけるために、ビットシフト命令を使
用して1ビツトごとにそのデータを判定している。この
ため、かなり長い処理時間を必要としている。例えば1
000ビット間境界点が出現しない場合には1000回
もビットシフト命令およびデータ判定の処理を行なわな
い。
However, in this boundary search method, in order to find the bit that stores "1", the data is determined bit by bit using a bit shift instruction. Therefore, a considerably long processing time is required. For example 1
If a boundary point between 000 bits does not appear, the bit shift command and data determination process will not be performed 1000 times.

本発明の目的は、高速で境界検索を実行して得る境界検
索手段を備えた画像処理装置を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide an image processing apparatus equipped with a boundary search means that performs and obtains a boundary search at high speed.

〔課題を解決するための手段〕[Means to solve the problem]

本発明による画像処理装置は、Nビットでなりそのうち
のMビット(0≦M≦N−1)がマスクデータを有する
マスク情報を発生する手段と、このマスク情報と表示メ
モリから読み出したNビットの表示データとを受け前記
マスク情報のうちの前記マスクデータをもたないビット
に対応するビットの表示データを出力する手段と、出力
された各ビットの表示データを検出しこれらのうちの所
定の論理レベルを有するビットに関連するビット位置情
報を発生する手段とを備える。
An image processing apparatus according to the present invention includes means for generating mask information of N bits, of which M bits (0≦M≦N-1) have mask data, and a means for generating mask information of which M bits (0≦M≦N-1) have mask data; means for receiving the display data and outputting display data of bits corresponding to the bits of the mask information that do not have the mask data; and means for detecting the display data of each output bit and performing a predetermined logic operation of the display data of the output bits. and means for generating bit position information associated with a bit having a level.

上記マスク情報においてマスクデータを有するビットの
数および/又は位置は制御データによって可変できる。
The number and/or position of bits having mask data in the mask information can be varied by control data.

検索開始点で指定されるビットを有する1ワードの処理
に際しては、まず、七のビットの位置と対応する位置の
ビット以外のすべてのビットがマスクデータを有するよ
うなマスク情報が発生される。したがって、検索開始点
では指定されるビットのデータだけが位置情報発生手段
に供給される。このビットのデータが所定の論理レベル
としての「1」をとっているならば、その情報が直ちに
得られ境界検索を中止できる。
When processing one word having the bit specified by the search start point, first, mask information is generated such that all bits except the bit at the position corresponding to the seventh bit position have mask data. Therefore, at the search starting point, only the data of the specified bit is supplied to the position information generating means. If the data of this bit is "1" as a predetermined logic level, that information is immediately obtained and the boundary search can be stopped.

「0」であるならば、左および右方向の境界検索がスタ
ートする。この場合、マスク情報は、少なくとも検索開
始点で指定されるビット位置に対応する位置の隣りのビ
ットから左又は右端のビットまでがマスクデータをもつ
。したがって検索開始点で指定されるビットを有するワ
ードの中に「1」のビットがあればそのビットに関連す
る位置情報が得られる。このワードの中に境界が存在し
ないときは、隣接する1ワードが読み出される。この場
合は、マスク情報のすべてのビットはマスクデータをも
たない。したがって、読み出された1ワードのすべての
ビットはデータは位置情報発生手段に供給され、「1」
を記憶しているビットがあれば、そのビットに関連する
位置情報が発生される。かくして、図形の境界検索が短
時間のうちに終了する。
If "0", boundary searches in the left and right directions start. In this case, the mask information includes mask data at least from the bit adjacent to the bit position corresponding to the bit position specified at the search start point to the leftmost or rightmost bit. Therefore, if there is a "1" bit in the word having the bit specified by the search start point, position information related to that bit can be obtained. If there is no boundary within this word, one adjacent word is read. In this case, all bits of mask information have no mask data. Therefore, all the bits of one word read out are supplied to the position information generating means and are "1".
If there is a bit storing the bit, position information associated with that bit is generated. In this way, the boundary search for the figure is completed in a short time.

〔実施例〕〔Example〕

以下、本発明の実施例について図面を参照しながら詳細
に説明する。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

第1図は本発明の一実施例を示すブロック図である。シ
ーケンサ1は表示メモリ8を管理しかつCRT9の表−
画面に図形を描画する。CRT 9の表示画面の1ドツ
トは表示メモリ801ビツトにそれぞれ対応している。
FIG. 1 is a block diagram showing one embodiment of the present invention. The sequencer 1 manages the display memory 8 and displays the table of the CRT 9.
Draw shapes on the screen. Each dot on the display screen of the CRT 9 corresponds to 801 bits of display memory.

表示メモリ8の1ワードは16ビツトで構成されている
。シーケンサ1は図示しないホストプロセッサから塗り
つぶし命令を受けると、本発明に従って設けられた第1
および第2のレジスタ2および3、マスク情報発生回路
4、第1ないし第16のマスクゲート5−0ないし5−
15、位置情報発生器6、ならびに表示メモリ制御回路
7を用いて、塗りつぶすべき図形の境界を検索する。
One word of display memory 8 is composed of 16 bits. When the sequencer 1 receives a fill-in command from a host processor (not shown), a first
and second registers 2 and 3, mask information generation circuit 4, first to sixteenth mask gates 5-0 to 5-
15. Using the position information generator 6 and the display memory control circuit 7, search for the boundary of the figure to be filled.

第10図(A)に塗りつぶすべき図形の一例を示す。こ
の図形の境界は太い線100で示されその内側領域10
1が任意の模様で塗りつぶさhるとする。第10図(B
)は第10図(A)で示した図形の1つの水平ラインL
、とその上下に位置する水平ラインL all r L
 a−1とにおける表示メモリ8の各ワードのデータマ
ツプの拡大図であり、同図(C)は他の水平ラインL、
とその上下に位置する水平ラインLb+++Lb−+と
における表示メモリ8の各ワードのデータマツプの拡大
図である。各ワードにおいて左端のビットが最下位ビッ
トである。第10図(B) 、 (C)でX印は「1」
でも「0」でもよいことを示す。
FIG. 10(A) shows an example of a figure to be filled in. The boundary of this figure is indicated by a thick line 100, and the inner area 10
Let h be filled with 1 in an arbitrary pattern. Figure 10 (B
) is one horizontal line L of the figure shown in Figure 10 (A).
, and the horizontal line L all r L located above and below it
It is an enlarged view of the data map of each word of the display memory 8 at a-1, and the same figure (C) is an enlarged view of the data map of each word of the display memory 8 in the other horizontal lines L,
3 is an enlarged view of the data map of each word of the display memory 8 in the horizontal line Lb+++Lb-+ located above and below the horizontal line Lb+++Lb-+. The leftmost bit in each word is the least significant bit. In Figure 10 (B) and (C), the X mark is "1"
However, it indicates that it can be ``0''.

第1図に戻って、シーケンサ1は図示しないホ界検索開
始点のビットrlJかrOJかを判別する。このために
、シーケンサ1は表示メモリ制御回路7に境界開始点で
指定されるビットを有する1ワードのデータを表示Mメ
モリ8から読み出すように指示する。これに応答して、
表示メモリ制御回路7はそのワードのアドレスをアドレ
スバス71に出力し表示メモリ8からのそのワードのデ
ータをデータバス72を介して入力する。境界検索開始
点で指定されたビットを有する1ワードの16ビツトの
データMD、ないしMD、は第1ないし第16のマスク
ゲート5−0ないし5−15にそれぞれ供給される。こ
の後、シーケンサ1は、境界検索開始点で指定されたビ
ットの位置を示すデータを第1および第2のマスクレジ
スタ2,3に書き込む。1ワードが16ビツトで構成さ
れるので、マスクレジスタ2,3にはそれぞれ4ビツト
構成のデータが書込まれる。マスクレジスタ2.3の内
容はマスク情報発生回路4にされる。
Returning to FIG. 1, the sequencer 1 determines whether bit rlJ or rOJ, which is not shown, is the start point of the field search. To this end, the sequencer 1 instructs the display memory control circuit 7 to read from the display M memory 8 one word of data having the bit specified at the boundary start point. In response to this,
The display memory control circuit 7 outputs the address of the word to the address bus 71 and inputs the data of the word from the display memory 8 via the data bus 72. One word of 16-bit data MD having the bit specified at the boundary search starting point is supplied to the first to sixteenth mask gates 5-0 to 5-15, respectively. Thereafter, the sequencer 1 writes data indicating the position of the bit designated by the boundary search start point into the first and second mask registers 2 and 3. Since one word consists of 16 bits, data of 4 bits is written into mask registers 2 and 3, respectively. The contents of the mask register 2.3 are provided to the mask information generation circuit 4.

第2図に示すように、マスク情報発生回路4は第1およ
び第2のマスクROM41および42と16個のAND
ゲートで構成されるANDゲート回路43とを有する。
As shown in FIG. 2, the mask information generation circuit 4 includes first and second mask ROMs 41 and 42 and 16 AND
It has an AND gate circuit 43 composed of gates.

第1のマスクレジスタ2の内容は第1のマスクROM4
1のアドレス情報として供給され、第2のマスクレジス
タ3の内容は第2のマスクROM42のアドレス情報と
して供給される。第1のマスクROM41は、4ビツト
のアドレス情報“0”ないし“F″の夫々に対して第3
図(A)に示す16ビツトの出力X。ないしXl。
The contents of the first mask register 2 are stored in the first mask ROM 4.
The contents of the second mask register 3 are supplied as the address information of the second mask ROM 42. The first mask ROM 41 has a third mask ROM 41 for each of the 4-bit address information "0" to "F".
16-bit output X shown in Figure (A). Or XL.

を発生し、第2のマスクROM42は4ビツトのアドレ
ス情報“0”ないし“F”の夫4に対して第3図(B)
に示す16ビツトのY。ないしY15を発生する。第1
のマスクROM41の16ビ、ト出力X。ないしX 1
5の各々はANDゲート回路43の16個のANDゲー
トの各々の第10入カ端子に供給され、第2のマスクR
OM42016ビツト出力Y0ないしY15は16個の
ANDゲートの各々の第2の入力端子に供給される。A
NDゲート回路43からの16ビツトの出力がマスク情
報4−0ないし4−Fとして発生される。検索開始点で
指示されるビットの位置データがA″であるとすると、
第3図(A)および(B)がら明らがなように、マスク
情報データ4−0ないし4−Fは“’0000 000
0 0010 0000”となる。すなわち、マスク情
報のうちA番目のビット4−A以外のすべてのビット4
−0ないし4−9および4−Bないし4−Fがマスクデ
ータ゛0”′井 を取り、°゛A′′A′′番目4−Aだけがホシマスク
データ″“1″を取る。マスク情報データ4−〇ないし
4−Fはマスクゲート5−0ないし5−15にそれぞれ
供給される。
The second mask ROM 42 generates the 4-bit address information "0" to "F" for the husband 4 as shown in FIG. 3(B).
16-bit Y shown in . to Y15 is generated. 1st
The 16-bit mask ROM 41 outputs X. or X 1
5 is supplied to the 10th input terminal of each of the 16 AND gates of the AND gate circuit 43, and the second mask R
The OM42016 bit outputs Y0 through Y15 are provided to the second input terminal of each of the 16 AND gates. A
The 16-bit output from the ND gate circuit 43 is generated as mask information 4-0 to 4-F. Assuming that the bit position data indicated at the search start point is A'',
As is clear from FIGS. 3(A) and 3(B), the mask information data 4-0 to 4-F are "'0000 000
0 0010 0000”.In other words, all bits 4 except the A-th bit 4-A of the mask information
-0 to 4-9 and 4-B to 4-F take mask data "0"', and only °A''A''-th 4-A takes mask data "1". Mask information data 4-0 to 4-F are supplied to mask gates 5-0 to 5-15, respectively.

マスクゲート5−0ないし5−15の各々は、ANDゲ
ート54、インバータ51、ORゲート57および二つ
のトランスファゲート52.53を有し、図示のように
接続されている。トランスファゲート52,53はシー
ケンサ1からの論理制御信号55によって制御される。
Each of mask gates 5-0 to 5-15 has an AND gate 54, an inverter 51, an OR gate 57, and two transfer gates 52.53, connected as shown. Transfer gates 52 and 53 are controlled by a logic control signal 55 from sequencer 1.

すなわち、論理制御信号55が「1」のときはトランス
ファゲート52は開き、「0」のときはインバータ56
によってトランスファゲート53が開く。境界検索問題
点のデータを検索するときは、信号55は「1」をとる
。かくして、境界検索開始点のデータが「1」のときは
、マスクゲート5−0ないし5−15の出力5−00な
いし5−150のうちA番目の出力5−100のみが「
1」をとり、残りの出力はすべて「0」となる。一方、
境界検索開始点のデータが「0」のときはすべての出力
5−〇〇ないし5−150は「0」を取る。マスクゲー
トの出力5−00ないし5−150は位置情報発生回路
6に供給される。
That is, when the logic control signal 55 is "1", the transfer gate 52 is opened, and when it is "0", the inverter 56 is opened.
The transfer gate 53 opens. When retrieving data for a boundary retrieval problem, the signal 55 takes "1". Thus, when the data at the boundary search starting point is "1", only the A-th output 5-100 among the outputs 5-00 to 5-150 of the mask gates 5-0 to 5-15 is "1".
1, and all remaining outputs are 0. on the other hand,
When the data at the boundary search starting point is "0", all outputs 5-0 to 5-150 take "0". Outputs 5-00 to 5-150 of the mask gates are supplied to the position information generating circuit 6.

位置情報発生回路6はシーケンサ1から検索方向情報6
1.62を受けこの情報に応じてマスクゲート出力5−
00ないし5−150のどのビットが「1」または「0
」を取っているかを示す位置情報を出力63ないし66
に発生し、さらには検索を進めることを示す前進情報を
出力67に検情報67および後退情報68はシーケンサ
1に供給される。位置情報発生回路6は第5図に示すよ
うにPLA構成とされている。第5図において、縦方向
の各信号線と横方向の各信号線との交点にNANDゲー
トNAにつのNORゲートN0118個のANDゲー)
ANIおよび15個のORゲー)ORの各々は、丸印で
示した複数の入力にGは検索方向情報61および62.
2−4デコーダ69ならびに4つのANDゲー)AN2
によりて展開が制御される。かくして、マスクゲート5
−〇ないし5−15からの16ビツトの出力5−〇〇な
いし5−150に対して位置情報発生回路6が発生する
位置情報63ないし66、前進情報67および後退情報
68の関係は、検索方向情報61.62が00”のとき
は第6図のようになり、“01″のときは第7図のよう
になる。検索方向情報61.62が“10”のときは第
8図の関係が得られ、“11”のときは第9図の関係が
得られる。すなわち、第6図では最上位ビット情報とし
て得られている。ただし、最上位ビット(MSB)の入
力が「1」のときは境界点位置情報は「0」となり後退
情報がrlJとなる。すべて工 の入力5−00ないし5−伊50が「0」のときは境界
点位置情報は「0」となり前進情報が「1」となる。第
7図では、最下位ビット (LSB)の入力5−00か
らみて最初に「1」をとるビット狛 の直列のビットの位置が境界点位置情報として得られて
いる。ただし、LSBビット5−0が「1」の前進情報
が得られる。第8図では、MSBビット5−150から
みて最初に「0」をとるビットの位置が境界点位置情報
として得られている。すべてのビット5−00ないし5
−150が「1」のときは「1」の前進情報が得られる
。第9図ではLSBビット5−00からみて最初に「0
」をとるビットの位置が境界点位置情報として得られる
。すべてのビット 5−00ないし5−150の進 「1」のときは前溝情報が「1」となる。なお、第6図
ないし第9図で、X印で示したビットは「0」でも「1
」でも取ってよいことを示している。
The position information generation circuit 6 receives search direction information 6 from the sequencer 1.
1.62 and according to this information mask gate output 5-
Which bit from 00 to 5-150 is “1” or “0”?
63 to 66 outputs location information indicating whether the
The detection information 67 and the backward information 68 are supplied to the sequencer 1 as an output 67 of forward information indicating that the search is to proceed. The position information generating circuit 6 has a PLA configuration as shown in FIG. In FIG. 5, at the intersection of each vertical signal line and each horizontal signal line, there are 118 AND gates (NAND gate NA) and one NOR gate N0 (118 AND gates).
ANI and 15 OR games) Each of the ORs has search direction information 61 and 62 .
2-4 decoder 69 and 4 AND games) AN2
The expansion is controlled by Thus, Mask Gate 5
The relationship between the position information 63 to 66, forward information 67, and backward information 68 generated by the position information generation circuit 6 for the 16-bit outputs 5-○○ to 5-150 from −○ to 5-15 is as follows: When the information 61.62 is "00", the relationship is as shown in Figure 6, and when it is "01", the relationship is as shown in Figure 7. When the search direction information 61,62 is "10", the relationship is as shown in Figure 8. is obtained, and when it is "11", the relationship shown in Fig. 9 is obtained.In other words, in Fig. 6, it is obtained as the most significant bit information.However, if the input of the most significant bit (MSB) is "1", the relationship shown in Fig. 9 is obtained. In this case, the boundary point position information becomes "0" and the retreat information becomes rlJ. When the inputs 5-00 to 5-I50 of all the workpieces are "0", the boundary point position information becomes "0" and the forward movement information becomes "1". In FIG. 7, the position of the serial bit of the bit that takes "1" first when viewed from the input 5-00 of the least significant bit (LSB) is obtained as boundary point position information. However, forward information in which LSB bits 5-0 are "1" is obtained. In FIG. 8, the position of the first bit that takes "0" from MSB bits 5-150 is obtained as boundary point position information. all bits 5-00 to 5
When -150 is "1", advance information of "1" is obtained. In Figure 9, starting from LSB bits 5-00, the first
'' is obtained as boundary point position information. When all bits 5-00 to 5-150 are ``1'' in the base, the front groove information becomes ``1''. Note that the bits marked with an X in Figures 6 to 9 can be either "0" or "1."
” But it shows that you can take it.

境界検索開始点によって指示されたビットのデータを検
索するときは、シーケンサ1は“00”の検索方向情報
61.62を位置情報発生回路6に与える。したがって
、同回路6の入力に対する出力の関係は第6図のとおり
となる。前述のように、検索開始点によって指示された
ビットが「1」をとっていると、A番目のマスクゲート
出力5−100のみが「1」となる。したがって、境界
位置情報63ないし66は“11″のデータをとる。こ
のとき、前進情報67および後退情報68は共に「0」
である。これらの情報はシーケンサlに供給される。し
たがって、シーケンサ1は検索開始点が境界にあると見
なし検索を中止する。
When searching for the data of the bit designated by the boundary search start point, the sequencer 1 supplies search direction information 61, 62 of "00" to the position information generating circuit 6. Therefore, the relationship between the input and the output of the circuit 6 is as shown in FIG. As described above, if the bit designated by the search start point is "1", only the A-th mask gate output 5-100 becomes "1". Therefore, the boundary position information 63 to 66 takes data of "11". At this time, both forward information 67 and backward information 68 are "0".
It is. These information are supplied to sequencer l. Therefore, the sequencer 1 considers that the search start point is on the boundary and stops the search.

エラーメツセージ出力等の処理に入る 一方、第10図に示すように、塗りつぶすべき図形の境
界100の内側領域101の中に検索開始点Sが与えら
れた場合には、第10図(B)に示すように、検索開始
点Sで指定されるビットを有するワードW、、。のすべ
てのビット「0」である。
While processing such as error message output is started, as shown in FIG. 10, if the search start point S is given within the inner region 101 of the boundary 100 of the figure to be filled, the process shown in FIG. As shown, a word W, , having the bits specified by the search starting point S. All bits of ``0''.

したがって、マスクゲート出力5−00ないし5−15
0はすべて「0」である。この結果、“O”の境界点位
置情報63ないし66が得られ「1」の前進情報が得ら
れる。かくして、シーケンサ1は検索開始点Sは境界上
にないと判断し、検索開始点Sから左方向のある各ビッ
トの「0」→「1」の検索を行なう。以下、この検索を
「左方向1←0検索」と呼ぶ。この検索においては、シ
ーケンサ1は「1」の論理制御信号55を発生し、検索
方向情報61.62を“00”とする。
Therefore, the mask gate output 5-00 to 5-15
All 0's are "0". As a result, boundary point position information 63 to 66 of "O" is obtained, and forward movement information of "1" is obtained. Thus, the sequencer 1 determines that the search starting point S is not on the boundary, and searches from "0" to "1" for each bit to the left from the search starting point S. Hereinafter, this search will be referred to as "leftward 1←0 search." In this search, the sequencer 1 generates the logic control signal 55 of "1" and sets the search direction information 61, 62 to "00".

左方向1←0検索は以下の手順で行なわれる。The leftward 1←0 search is performed in the following procedure.

(1)検索開始点Sで指定されるビットを有するワード
Wa、cの該ビットから最下位ビットまでの中に「1」
を記憶しているビットがあるかを検出するために、シー
ケンサ1は第1のマスクレジスタ2に′0”を第2のマ
スクレジスタ3に検索開始点Sで指定されるビットの位
置である“A”を書き込む。この結果、マスク情報発生
回路4からの出力4−0ないし4−F’は第3図(A)
、(B)から明らかなように“1111 1111 1
1100000”となる。すなわち、マスク情報データ
4−Bすいし4−Fがマスクデータ“0”をとり、それ
以外は非マスクデータ“1”をとる。検索開始点Sで指
定されるA番目のビットがrOJであることは前述の検
索開始点データ検索処理で解っているので、第2のマス
クレジスタ3には“9”を書込んでもよい。この場合は
、マスク情報データ4−0ないし4−Fは”11111
1111100 0000”となる。このマスク情報は
マスクゲート5−〇ないし5−15にそれぞれ供給され
る。マスクゲート5−0ないし5−15には(または5
−90)まではワードW、cのLSBから第A番目(又
は第A−1番目)までのデータとなり、残りの出力は「
0」となる。第10図の例では、ワードWa、cのすべ
てのビットは「0」をとっているので、すべてのマスク
ゲート出力5−〇〇ないし5−150は「0」となる。
(1) “1” from the bit to the least significant bit of the word Wa, c that has the bit specified by the search starting point S
In order to detect whether there is a bit that stores , the sequencer 1 sets '0' in the first mask register 2 and stores '0' in the second mask register 3, which is the bit position specified by the search start point S. As a result, the outputs 4-0 to 4-F' from the mask information generation circuit 4 are as shown in FIG. 3(A).
, as is clear from (B), “1111 1111 1
1100000''.In other words, mask information data 4-B to 4-F takes mask data "0", and the others take non-mask data "1".A-th bit specified by search starting point S Since it is known from the above-mentioned search start point data search process that is rOJ, "9" may be written in the second mask register 3. In this case, mask information data 4-0 to 4- F is “11111”
1111100 0000". This mask information is supplied to mask gates 5-0 to 5-15, respectively. Mask gates 5-0 to 5-15 (or 5
-90) is the data from the LSB of word W, c to the Ath (or A-1st), and the remaining output is "
0". In the example of FIG. 10, all bits of words Wa and c are "0", so all mask gate outputs 5-0 to 5-150 are "0".

したがって、第6図から明らかなように、境界点位置情
報63ないし66は「0」であり、「1」の前進情報6
7が出力される。
Therefore, as is clear from FIG. 6, the boundary point position information 63 to 66 are "0", and the advance information 6 is "1".
7 is output.

(2)これらの情報をもとにシーケンサ1はワードW1
1.の検索開始点Sで指定されるビットからLSBまで
にrlJを記憶しているビットは存在しないと判断する
ので、表示メモリ制御回路7を介してワードW1.。の
左隣りにあるワードW*+a−1をアクセスしそのデー
タを読み出す。シーケンサ1はさらに第1のマスクレジ
スタ2にO”を第2のマスクレジスタ3に“F”をそれ
ぞれ書込む。
(2) Based on this information, sequencer 1 selects word W1
1. Since it is determined that there is no bit storing rlJ from the bit specified by the search start point S to the LSB, the word W1. . The word W*+a-1 on the left is accessed and its data is read. The sequencer 1 further writes "O" into the first mask register 2 and "F" into the second mask register 3, respectively.

これによって、第3図(A) 、 (B)から明らかな
ようにマスク情報のデータ4−0ないし4−Fはすべて
“1” (非マスクデータ)となる。この結果、マスク
ゲート5−0ないし5−15は読み出したワードW a
 + c−1のすべてのビットのデータを出力する。第
10図の例ではワードW1.。−1のすべてのビットは
“Onである。したがって、境界点位置情報63−66
は「0」となり、前進情報67は「1」となる。
As a result, as is clear from FIGS. 3A and 3B, the mask information data 4-0 to 4-F all become "1" (non-mask data). As a result, the mask gates 5-0 to 5-15 are connected to the read word W a
+Output all bits of data of c-1. In the example of FIG. 10, word W1. . All bits of −1 are “On. Therefore, the boundary point position information 63-66
becomes "0", and the advance information 67 becomes "1".

(3)シーケンサ1は得られた情報をもとにこのry 
−トWa、c−+にも「1」を記憶しているビットがな
いことを判別するので、ワードW、、。−1の左隣りの
ワードの内容を読み出し、検索を行なう。第1゜第2の
マスクレジスタ2,3の内容を書き替えは必要はない。
(3) Sequencer 1 performs this ry based on the obtained information.
- Since it is determined that there is no bit storing "1" in word Wa, c-+, word W, . Read the contents of the word to the left of -1 and perform a search. There is no need to rewrite the contents of the first and second mask registers 2 and 3.

(4)境界情報を含むワードWle−1が読み出された
結果、マスクゲート出力5−00ないし5−150は6
×××××××××××××××10”となる。この出
力が位置情報発生回路6に供給される結果、第6図から
明らかなように、境界点位置情報63−66は” 15
 ” (F)となり、前進情報67および後退情報68
は共に“0”となる。かくして、シーケンサ1は塗りつ
ぶすべき図形領域101の1水平ラインL1上における
左端境界BaLがワードWle−1の最上位ビットにあ
ることを検出するラインLの上における左方向1←0検
索が終了する。
(4) As a result of reading the word Wle-1 including boundary information, the mask gate outputs 5-00 to 5-150 are 6
××××××××××××××10''. As a result of this output being supplied to the position information generating circuit 6, as is clear from FIG. 6, the boundary point position information 63-66 15
” (F), forward information 67 and backward information 68
Both become "0". In this way, the sequencer 1 completes the leftward 1←0 search on the line L in which it detects that the left end boundary BaL on one horizontal line L1 of the graphic area 101 to be filled is located at the most significant bit of the word Wle-1.

シーケンサ1はこの後検索開始点Sから右方向にある各
ビットの「0」→「1」の検索を行なう。
The sequencer 1 then searches from "0" to "1" for each bit in the right direction from the search start point S.

この検索を以下では「右方向0→1検索」と呼ぶ。This search will be referred to as "rightward 0→1 search" below.

この検索においては、論理制御信号55は“1”とされ
検索方向情報61.62は“01”とされる。したがっ
て、位置情報発生回路6の入出力関係は第7図のとおり
となる。右方向0→1検索の手順は以下のとおりである
In this search, the logic control signal 55 is set to "1" and the search direction information 61, 62 is set to "01". Therefore, the input/output relationship of the position information generating circuit 6 is as shown in FIG. The procedure for rightward 0→1 search is as follows.

(1)シーケンサ1は検索開始点Sによって指定される
ビットを有するワードWa、cのデータを読み出しマス
クゲート5−0ないし5−15に供給する。さらにシー
ケンサ1は第1のマスクレジスタ2に”A”又はII 
B 11を書き込み、第2のマスクレジスタ3に“F”
を書き込む。この結果、マスク情報出力4−0ないし4
−Fは“00000000 0011 1111”又は
“00000000 0001 1111’となる。す
なわち、出力4−0ないし4−A(又は4−B)までが
マスクデータ“0″をとる。したがって、マスクゲート
出力5−100(又は5−110)ないし5−150が
ワードWa+cの対応するビットのデータをとる。第1
0図で示した例ではワードW1.。
(1) The sequencer 1 reads the data of the words Wa and c having the bits specified by the search start point S and supplies them to the mask gates 5-0 to 5-15. Furthermore, the sequencer 1 sets the first mask register 2 to "A" or "II".
Write B 11 and set “F” to the second mask register 3.
Write. As a result, mask information output 4-0 to 4
-F becomes "00000000 0011 1111" or "00000000 0001 1111'. In other words, outputs 4-0 to 4-A (or 4-B) take mask data "0". Therefore, mask gate output 5- 100 (or 5-110) to 5-150 take the data of the corresponding bit of word Wa+c.
In the example shown in Figure 0, the word W1. .

のすべてのビットはrOJであるので、すべてのマスク
ゲート出力5−00ないし5−150は「0」となる。
Since all bits of are rOJ, all mask gate outputs 5-00 to 5-150 will be "0".

したがって、第7図から明らかなように境界点位置情報
6ロー66は「0」となり前進情報67が「1」となる
Therefore, as is clear from FIG. 7, the boundary point position information 6 row 66 becomes "0" and the forward movement information 67 becomes "1".

(2)  これらの情報によってシーケンサ1はワード
Wa、cの検索開始点Sで指定されるビットから最上位
ビットまでの中に「1」を記憶しているビットは存在し
ないことを判定するので、ワードWa、eの右隣りにあ
るワードW、、。+1が読み出される。また、第1およ
び第2のマスクレジスタ2,3は“0″および“F”が
それぞれ格納される。したがって、すべてのマスク情報
出力40ないし4−Fは非マスクデータ“1nとなり、
ワードW1.。+1のデータがマスクゲート5−0ない
し5−15から出力される。第10図では、ワードW 
a + c ” lのデータはすべて0”であるので、
境界点位置情報63−66は「0」となり前進情報67
が「1」となる。
(2) Based on this information, the sequencer 1 determines that there is no bit that stores "1" from the bit specified by the search start point S of words Wa, c to the most significant bit. The word W on the right side of the word Wa, e. +1 is read. Furthermore, "0" and "F" are stored in the first and second mask registers 2 and 3, respectively. Therefore, all mask information outputs 40 to 4-F become non-mask data "1n,"
Word W1. . +1 data is output from mask gates 5-0 to 5-15. In Figure 10, the word W
Since the data of a + c "l is all 0",
Boundary point position information 63-66 becomes “0” and forward movement information 67
becomes "1".

(3)  このワードWa+c+1には「1」を記憶し
ているセットが存在しないことが判定されるのでその右
隣りのワードを読み出し検索を続ける。レジスタ2.3
の内容は変更しない。
(3) Since it is determined that there is no set storing "1" in this word Wa+c+1, the word to the right of the word Wa+c+1 is read out and the search is continued. Register 2.3
The contents of the file will not be changed.

(4)右端境界情報を含むワードW1.。0が読み出さ
れる結果、マスクゲート出力5−00ないし5−150
は“IX××××××××××××X×”となる。第7
図から明らかなように、境界点位置情報63−66は“
15”(F)となり「1」の後退情報68が発生させる
。後退情報68が「1」であるから境界点位置情報“1
5″はワードW110.+1の左隣りのワードWa、c
+。−1)の最上位ビットを示している。すなわち、シ
ーケンサ1はラインL1上における右端境界pB、*が
ワードW1.。+(n−1)の最上位ビットにあること
を判定する。
(4) Word W1 containing right edge boundary information. . As a result of reading 0, mask gate output 5-00 to 5-150
becomes “IX×××××××××××××”. 7th
As is clear from the figure, the boundary point position information 63-66 is “
15" (F), and the backward information 68 of "1" is generated. Since the retreat information 68 is “1”, the boundary point position information is “1”.
5″ is the word Wa, c to the left of word W110.+1
+. -1) shows the most significant bit. That is, the sequencer 1 has the right edge boundary pB on the line L1, * is the word W1 . . +(n-1) most significant bit.

かくして、塗りつぶすべき領域101の一水平うインL
1上における左端境界B1および右端境界BIIBが検
索され確定される。
Thus, one horizontal groove L of the area 101 to be filled
The left end boundary B1 and right end boundary BIIB on 1 are searched and determined.

ラインL、の左端および右端境界の検索が終了したので
、このラインL1の上に位置するラインL、+1又は下
に位置するラインL、−1での境界検索が上述の処理と
同様にして実行される。すなわち、ワードWa、eの上
にあるワードWa+1.e又は下にあるワードW、、、
。のデータを読み出し、検索開始点Sによって指定され
るビット位置と同じビット位置から左方向1←0検索を
行なう。この検索が済むと右方向0→1検索を行なう。
Now that the search for the left and right boundaries of line L has been completed, a boundary search for line L, +1 located above line L1, or line L, -1 located below, is performed in the same way as the above process. be done. That is, word Wa+1 . above word Wa, e. e or the word W below...
. , and performs a leftward 1←0 search from the same bit position as the bit position specified by the search start point S. After this search is completed, a 0→1 search is performed in the right direction.

第10図(A)に示すように、塗りつぶすべき領域10
1は単純な矩形領域ではなく、一部が凹んだ形となって
いる。すなわち、第10図(C)にラインL、のデータ
マツプを示すように、ラインL。
As shown in FIG. 10(A), area 10 to be filled
1 is not a simple rectangular area, but has a partially concave shape. That is, as shown in the data map of line L in FIG. 10(C), line L.

で境界線100−1に対応する部分の各ビットはすべて
″1”となっており、かつラインL、では4つの境界点
Bb、ないしB b 4が存在することになる。境界点
BBIは左方向1←0検索によって検出でき、境界点B
b、は右方向0→1検索によって検出できる。境界点B
b2は右方向O−+1検索によって検出することはでき
るが、検索開始点Sを通る垂直線の左側に位置する各ワ
ードに対して左方向1←0検索と右方向0→1検索との
2回の検索を行なう必要がある。同様に、境界点B b
 sは左方向1←0検索によって検索することができる
が、上記垂直線の右側に位置する各ワードに対して2回
の検索を必要とする。このような問題点をも解決するた
めに、第1図に示した境界検索回路は左方向O・−1検
索および1−0検索の機能を有している。
All the bits in the portion corresponding to the boundary line 100-1 are "1", and there are four boundary points Bb to B b 4 on the line L. The boundary point BBI can be detected by searching 1←0 in the left direction, and the boundary point B
b can be detected by rightward 0→1 search. Boundary point B
b2 can be detected by a rightward O-+1 search, but for each word located on the left side of the vertical line passing through the search starting point S, two searches are performed: a leftward 1←0 search and a rightward 0→1 search. It is necessary to perform multiple searches. Similarly, boundary point B b
s can be searched by a leftward 1←0 search, but requires two searches for each word located to the right of the vertical line. In order to solve such problems, the boundary search circuit shown in FIG. 1 has functions of leftward O.-1 search and 1-0 search.

すなわち、ラインL、の境界線100−1上に位置しか
つ検索開始点Sの左側にあるワード、例えばW6.、が
読み出されると、シーケンサ1は左方向0←1検索を実
行する。この検索では、第1および第2のマスクレジス
タ2,3に左方向1←0検索時と同じデータ″On、″
F ITを書き込む。また、論理制御信号55を「0」
にし、検索方向情報61.62を“10″とする。マス
ク情報出力4−0ないし4−Fはすべてデータ“1”を
とるが、第4図から明らかなように、各データはインベ
ータ51によって反転されまたトランスファゲート53
が開いてORゲート57の出力を転送する。したがって
、マスクゲート出力5−Ooないし5−150はワード
W69.の各ビットのデータとなる。位置情報発生回路
6の入出力関係は第8図によって示される。第10図の
例では、ワードW1..のデータはすべて“1″である
。したがって、境界点位置情報63−66は“0”とな
つUluの前進情報67が得らhる。シーケンサ1はワ
ードWb、dの中に「0」を記憶しているビットは存在
しないと判定し、その左側のワードW、、d−,を読み
出す。レジスタ2,3の内容は変化しない。ワードW、
、 a−+のデータは’ooooooo。
That is, a word located on the boundary line 100-1 of the line L and to the left of the search starting point S, for example, W6. , is read, the sequencer 1 performs a leftward 0←1 search. In this search, the same data "On," as in the leftward 1←0 search is stored in the first and second mask registers 2 and 3.
Write FIT. Also, the logic control signal 55 is set to “0”.
and set the search direction information 61 and 62 to "10". Mask information outputs 4-0 to 4-F all take data "1", but as is clear from FIG.
is opened and transfers the output of OR gate 57. Therefore, mask gate outputs 5-Oo to 5-150 are word W69. This is the data of each bit. The input/output relationship of the position information generating circuit 6 is shown in FIG. In the example of FIG. 10, the word W1. .. All data are "1". Therefore, Ulu's advance information 67 is obtained in which the boundary point position information 63-66 is "0". Sequencer 1 determines that there is no bit storing "0" in words Wb, d, and reads words W, , d-, to the left thereof. The contents of registers 2 and 3 remain unchanged. Word W,
, the data for a-+ is 'oooooooo.

0000 0111″である。したがって、境界点位置
情報63−66は“12”(C)となり前進情報67、
後退情報68は共に“0”となる。この結果、シーケン
サ1はワードW、、、、の第C番目のビットがラインL
、上の境界点Bb2であることを判定する。ワードW、
、、、の左側にある各ワードに対しては左方向1←0に
検索を行ない境界点Bb。
0000 0111". Therefore, the boundary point position information 63-66 becomes "12" (C), and the advance information 67,
Both retreat information 68 becomes "0". As a result, sequencer 1 determines that the Cth bit of word W, .
, is determined to be the upper boundary point Bb2. Word W,
For each word on the left side of , , , search is performed in the left direction 1←0 to reach the boundary point Bb.

を検出する。Detect.

検索開始点Sを通る垂直線の右側にあるラインL、上の
ワード、例えばW61.が読み出されると、右方向1→
0検索を実行する。このときの検索では、マスクレジス
タ2,3のデータを変化しない。
Words on the line L to the right of the vertical line passing through the search starting point S, for example W61. When is read out, right direction 1 →
Perform 0 search. In this search, the data in mask registers 2 and 3 are not changed.

論理制御信号55は“0″に検索方向情報61゜62は
11”とさhる。位置情報発生回路6の入出力関係は第
9図に示される。ワードW51.のデータはすべて“1
″であるから、境界点位置情報63−66は“0″を示
し前進情報67は“Inとなる。したがって、右隣りの
ワードWb、 solが読み出される。このワードのデ
ータは“1110oooo  oooo  oooo 
”であるので、境界点位置情報63−66は“3”を示
し前進情報67および後退情報68は共に“0”となる
。かくして、ワードWb、s++の第3ビツトがライン
L。
The logic control signal 55 is set to "0" and the search direction information 61 and 62 are set to 11". The input/output relationship of the position information generating circuit 6 is shown in FIG. 9. All data in the word W51. is set to "1".
'', the boundary point position information 63-66 shows "0" and the advance information 67 becomes "In." Therefore, the words Wb and sol on the right are read out. The data of this word is “1110oooo oooo oooo
”, the boundary point position information 63-66 indicates “3” and the forward information 67 and backward information 68 both become “0”.Thus, the third bit of the word Wb, s++ is on the line L.

上の境界点Bb3として検出される。次の右隣りのワー
ドからは右方向0→1検索が実行され、その結果、境界
点B b 4が検出される。
It is detected as the upper boundary point Bb3. A rightward 0→1 search is performed from the next right-hand neighbor word, and as a result, a boundary point B b 4 is detected.

検索開始点Sによって指定されるビットと同じ位置情報
をもつビットを含むラインL、でのワードに対しては、
そのビットから最下位ビットまでに左方向0←l検索を
行ない、そのビットの次のビットから最上位ビットまで
に右方向1→0検索を行なう。そのビットの位置が“A
″であるとすると、左方向0←1検索の場合は第1およ
び第2のマスクレジスタ2,3に“0”、“A″をそれ
ぞれ書き込み制御信号55を“0″とする。したかって
、B番目のビ゛ットからMSBまでは“1”に固定され
る。つまり、データ“1”がこのときはマスクデータと
する。右方向1→0検索の場合は第1.第2のマスクレ
ジスタ2,3に“B”。
For a word in line L that contains a bit with the same positional information as the bit specified by search starting point S,
A leftward 0←l search is performed from that bit to the least significant bit, and a rightward 1→0 search is performed from the next bit to the most significant bit. The bit position is “A”
'', in the case of leftward 0←1 search, write "0" and "A" to the first and second mask registers 2 and 3, respectively, and set the control signal 55 to "0". Therefore, The bit from the Bth bit to the MSB is fixed to "1".In other words, data "1" is used as mask data in this case.In the case of rightward 1→0 search, the first and second masks are used. “B” in registers 2 and 3.

F ++をそれぞれ書き込み信号55を“0”とする。The write signal 55 of each F++ is set to "0".

したがって、LSBからA番目のビ゛ットまでがマスク
データ“1”でマスクされる。
Therefore, bits from the LSB to the A-th bit are masked with mask data "1".

かくして、1回の検索でラインL、での4つ境界線B 
b +ないしBb、が検出される。
Thus, in one search, four boundaries at line L, B
b + or Bb is detected.

本発明は上記実施例に限定されず、種々の変更が可能で
ある。例えば、マスク情報発生回路4および位置情報発
生回路6は回路構成が複雑化されるが各種の論理ゲート
の組み合わせで同じ機能を〔発明の効果〕 以上のとおり、本発明による境界検索手段を備えた画像
処理装置は、ビットシフト命令を一切不要としているの
で、塗りつぶすべき領域の境界な高速に検出できる。
The present invention is not limited to the above embodiments, and various modifications are possible. For example, although the mask information generation circuit 4 and the position information generation circuit 6 have complicated circuit configurations, they can achieve the same function by combining various logic gates. [Effects of the Invention] As described above, the mask information generation circuit 4 and the position information generation circuit 6 are equipped with the boundary search means according to the present invention. Since the image processing device does not require any bit shift commands, it can quickly detect boundaries of areas to be filled.

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

第1図は本発明の一実施例を示すブロック図、第2図は
第1図で示したマスク情報発生回路4を示すブロック図
、第3図(A)および(B)はそれぞれ第2図に示した
第1および第2のマスクROM41および42の入出力
データ関係を示すテーブル図、第4図は第1図で示した
各マスクゲート5の回路図、第5図は第1図で示した位
置情報発生回路6の回路図、第6図2第7図、第8図お
よび第9図はそれぞれ位置情報発生回路6の入出力デー
タ関係を示すテーブル図、第10図(A)、(B)およ
び(C)はそれぞれ塗りつぶすべき領域の一例を示すパ
ターン図、ラインL、でのデータマツプ拡大図、ライン
L、でのデータマツプの拡大図である。 代理人 弁理士  内 原   音 (左方向1−r検紫) 6旬り7向θ−1才気−紫ジ 第8図 第7図
1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a block diagram showing the mask information generation circuit 4 shown in FIG. 1, and FIGS. 3(A) and 3(B) are respectively shown in FIG. 4 is a table diagram showing the input/output data relationship of the first and second mask ROMs 41 and 42 shown in FIG. The circuit diagram of the position information generating circuit 6 shown in FIG. 6, FIG. 7, FIG. 8, and FIG. B) and (C) are a pattern diagram showing an example of an area to be filled in, an enlarged view of the data map at line L, and an enlarged view of the data map at line L, respectively. Agent Patent Attorney Uchihara Oto (left direction 1-r Kenshi) 6th direction 7th direction θ-1 wisdom-Murasaki 8th figure 7th

Claims (1)

【特許請求の範囲】[Claims] NビットでなりそのうちのMビット(0≦M≦N−1)
がマスクデータを有するマスク情報を発生する手段と、
前記マスク情報と表示メモリから読み出したNビットの
表示データとを受け前記マスク情報のうちの前記マスク
データをもたないビットに対応するビットの表示データ
を出力する手段と、出力された表示データの論理情報を
検出し所定の論理情報を有するビットに関連するビット
位置情報を発生する手段とを備えることを特徴とする画
像処理装置。
N bits, of which M bits (0≦M≦N-1)
means for generating mask information having mask data;
means for receiving the mask information and the N-bit display data read from the display memory and outputting display data of bits corresponding to the bits of the mask information that do not have the mask data; An image processing apparatus comprising means for detecting logical information and generating bit position information related to bits having predetermined logical information.
JP63042750A 1987-02-27 1988-02-24 Image processing device Expired - Fee Related JPH0795346B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63042750A JPH0795346B2 (en) 1987-02-27 1988-02-24 Image processing device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP4484087 1987-02-27
JP62-44840 1987-02-27
JP63042750A JPH0795346B2 (en) 1987-02-27 1988-02-24 Image processing device

Publications (3)

Publication Number Publication Date
JPS641075A JPS641075A (en) 1989-01-05
JPH011075A true JPH011075A (en) 1989-01-05
JPH0795346B2 JPH0795346B2 (en) 1995-10-11

Family

ID=26382491

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63042750A Expired - Fee Related JPH0795346B2 (en) 1987-02-27 1988-02-24 Image processing device

Country Status (1)

Country Link
JP (1) JPH0795346B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5303321A (en) * 1990-09-14 1994-04-12 Hughes Aircraft Company Integrated hardware generator for area fill, conics and vectors in a graphics rendering processor
JP3027777B2 (en) * 1992-01-31 2000-04-04 富士通株式会社 Drawing apparatus and drawing method in computer graphics

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58191064A (en) * 1982-04-30 1983-11-08 Fujitsu Ltd Face coating system of pattern
JPS60147883A (en) * 1984-01-13 1985-08-03 Yokogawa Hokushin Electric Corp Detecting method for boundary of figure

Similar Documents

Publication Publication Date Title
JP2541539B2 (en) Graphic processing device
JPS61249175A (en) Graphic processor
US4943801A (en) Graphics display controller equipped with boundary searching circuit
JPH0355832B2 (en)
US5095422A (en) Information transferring method and apparatus for transferring information from one memory area to another memory area
JPH011075A (en) Image processing device
JPS5952290A (en) Video ram writing controller
JPS6057593B2 (en) Character pattern processing method
JPH0795346B2 (en) Image processing device
JPS642953B2 (en)
JP2773458B2 (en) Vector controller
JPH0478948A (en) Dma controller
JP2521087B2 (en) Image contour bit generation method
JP2808105B2 (en) Font drawing device
JP2606176B2 (en) Graphic processing unit
JPH087095A (en) Character and pattern display device
JPH0535472A (en) Microcomputer
JPS63304293A (en) Display memory control circuit
JPS6141186A (en) Simultaneous color data writing apparatus
JPH0766349B2 (en) Shifter circuit
JPH0193868A (en) Data processor
JPS636895B2 (en)
JPS6283786A (en) Screen memory data writing system
JPS5891491A (en) Picture information input circuit for picture memory
JPS61205985A (en) Memory mapping circuit