JP2003099027A - Image display device - Google Patents

Image display device

Info

Publication number
JP2003099027A
JP2003099027A JP2001288418A JP2001288418A JP2003099027A JP 2003099027 A JP2003099027 A JP 2003099027A JP 2001288418 A JP2001288418 A JP 2001288418A JP 2001288418 A JP2001288418 A JP 2001288418A JP 2003099027 A JP2003099027 A JP 2003099027A
Authority
JP
Japan
Prior art keywords
image
display
point
display area
memory
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
JP2001288418A
Other languages
Japanese (ja)
Inventor
Keiko Kamio
圭子 神尾
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric Corp
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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP2001288418A priority Critical patent/JP2003099027A/en
Publication of JP2003099027A publication Critical patent/JP2003099027A/en
Pending legal-status Critical Current

Links

Landscapes

  • Instructional Devices (AREA)
  • Image Generation (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PROBLEM TO BE SOLVED: To actualize an image display device which can paint out and display an area even when part or the whole of the boundary line of the area to be painted out is outside a display area. SOLUTION: A raster scanning type image display device which scans and reads out the contents of a display memory and displays an image at display part while painting out the inner side of its boundary line is equipped with an image memory which stores image data of the image, a painting-out line drawing part which computes the coordinates of drawing pints forming the boundary line, and writes the image data to an image memory corresponding to coordinates when the coordinates are inside the display area or writes the image data to an image memory corresponding to the left end of the display area at the same y coordinate when the calculated x coordinate of the drawing point is on the left side of the display area, and a painting-out process part which stores the display data in a display memory according to the image data written to the image memory.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は表示用メモリの内容
を走査して読み出し、表示部に表示対象となる画像の境
界線内を塗りつぶして表示するラスタ走査型の画像表示
装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a raster scanning type image display device which scans and reads out the contents of a display memory, and fills and displays the boundary line of an image to be displayed on a display section.

【0002】[0002]

【従来の技術】例えば航空機に搭載される画像表示装置
としての地図表示装置では、例えば河川や湖沼などのよ
うに塗りつぶしを必要とする地図情報については表示画
面上で塗りつぶして表示するようにしている。
2. Description of the Related Art For example, in a map display device as an image display device mounted on an aircraft, map information that needs to be filled, such as a river or lake, is filled and displayed on a display screen. .

【0003】図4従来の塗りつぶし処理を行う画像表示
装置の構成図である。図4において、11は塗りつぶし
線描画部、12は画像メモリ、13は塗りつぶし処理
部、14は表示用メモリ、15は表示部である。
FIG. 4 is a block diagram of an image display device for performing a conventional filling process. In FIG. 4, 11 is a paint line drawing unit, 12 is an image memory, 13 is a paint processing unit, 14 is a display memory, and 15 is a display unit.

【0004】塗りつぶし線描画部11は、表示対象とな
る画像の境界線を形成する複数のベクトルを描画し、そ
のベクトルの開始点となる描画点とベクトル内の描画点
の座標を算出し、それらの属性を判断して画像データと
して画像メモリ12に格納する。この属性データは、走
査線内の両端となる描画点とその他の描画点を識別する
ためのデータである。
The filled-line drawing unit 11 draws a plurality of vectors forming the boundary line of the image to be displayed, calculates the drawing point which is the starting point of the vector and the coordinates of the drawing point in the vector, and calculates them. The attribute is determined and stored as image data in the image memory 12. This attribute data is data for identifying the drawing points at both ends in the scanning line and other drawing points.

【0005】そして、塗りつぶし処理部13は、画像メ
モリ12を走査して画像データを読み出し、その属性に
基づいて複数の画素からなる表示部15の各画素の塗り
つぶしのオンオフを識別する表示データを表示用メモリ
14に格納する。そして、表示部15は、表示用メモリ
14に格納された表示データに基づいて各画像がオンオ
フされ、画像を塗りつぶし表示する。
Then, the fill processing unit 13 scans the image memory 12 to read out the image data, and displays the display data for identifying the on / off of each pixel of the display unit 15 consisting of a plurality of pixels based on the attribute thereof. It is stored in the memory 14 for use. Then, the display unit 15 turns on and off each image based on the display data stored in the display memory 14, and displays the image in a filled-in manner.

【0006】図5(a)は表示エリア内に表示対象とな
る画像が塗りつぶし表示された様子を示す図であり、図
5(b)は図5(a)に示した画像の塗りつぶし表示を
説明するための図である。図5(b)において、1〜8
は境界線を形成する第一〜第八のベクトル(図示しな
い)の開始描画点であり、1a,1bは第一のベクトル
内の描画点、2aは第二のベクトル内の描画点、4a,
4bは第四のベクトル内の描画点、5aは第五のベクト
ル内の描画点、7aは第七のベクトル内の描画点、8a
〜8eは第八のベクトル内の描画点である。
FIG. 5A is a diagram showing a state in which an image to be displayed is filled and displayed in the display area, and FIG. 5B illustrates the filled display of the image shown in FIG. 5A. FIG. 1 to 8 in FIG.
Is a starting drawing point of the first to eighth vectors (not shown) forming the boundary line, 1a and 1b are drawing points in the first vector, 2a is drawing points in the second vector, 4a,
4b is a drawing point in the fourth vector, 5a is a drawing point in the fifth vector, 7a is a drawing point in the seventh vector, and 8a.
8e are drawing points in the eighth vector.

【0007】そして、描画点の描画順序は、1→1a→
1b→2→2a→3→4→4a→4b→5→5a→6→
7→7a→8→8a→8b→8c→8d→8eである。
The drawing order of drawing points is 1 → 1a →
1b → 2 → 2a → 3 → 4 → 4a → 4b → 5 → 5a → 6 →
7 → 7a → 8 → 8a → 8b → 8c → 8d → 8e.

【0008】図6は従来の画像表示装置の塗りつぶし線
描画部の動作を説明するフローチャートである。図6に
おいて、まずステップ(以下、STと記す)1で、塗り
つぶし線処理部は、描画コマンドを起動し、図6(b)
における第一のベクトルの開始点となる描画点1の座標
(x、y)を算出する。
FIG. 6 is a flow chart for explaining the operation of the fill line drawing section of the conventional image display device. In FIG. 6, first, in step (hereinafter, referred to as ST) 1, the filling line processing unit activates a drawing command, and FIG.
The coordinates (x, y) of the drawing point 1 which is the starting point of the first vector in are calculated.

【0009】次にST2において、描画点1のy座標が
表示エリア内か外かを判断し、エリア内であるのでST
3において描画点1のx座標が表示エリアの内か外かを
判断する。
Next, in ST2, it is judged whether the y coordinate of the drawing point 1 is inside or outside the display area.
In 3, it is determined whether the x coordinate of the drawing point 1 is inside or outside the display area.

【0010】そして、xが表示エリア内であるので、S
T4において第一のベクトルで新規のy座標の値かどう
かを判断する。この場合、描画点1のy座標は新規のも
のであるので、ST5aにおいて、対応する画像メモリ
(x、y)に属性”Single”を書込む。
Since x is in the display area, S
At T4, it is determined whether the first vector has a new y coordinate value. In this case, since the y coordinate of the drawing point 1 is new, the attribute "Single" is written in the corresponding image memory (x, y) in ST5a.

【0011】次に、ST6において第一のベクトル内の
描画点の終点であるかどうかを判断し、終点ではないの
でST7において第一のベクトル内の次の描画点に移動
し、ST8において、第一のベクトル内の描画点1aの
座標を算出し、ST2に戻る。
Next, in ST6, it is judged whether or not it is the end point of the drawing point in the first vector. Since it is not the end point, in ST7 the process moves to the next drawing point in the first vector, and in ST8 the The coordinates of the drawing point 1a in one vector are calculated, and the process returns to ST2.

【0012】そして、描画点1aのx座標、y座標は共
に表示エリア内であるので、ST4において第一のベク
トルで新規のy座標の値かどうかを判断する。この場
合、描画点1aは描画点1とは異なる新規のy座標であ
るので、ST5aにおいて描画点1aに対応する画像メ
モリに属性”Single”を書込む。
Since both the x-coordinate and the y-coordinate of the drawing point 1a are within the display area, it is determined in ST4 whether the value is a new y-coordinate value in the first vector. In this case, since the drawing point 1a is a new y coordinate different from the drawing point 1, the attribute "Single" is written in the image memory corresponding to the drawing point 1a in ST5a.

【0013】そして、描画点1aは第一のベクトル内の
描画点の終点ではないのでST7で第一のベクトルの次
の描画点に移動し、ST8において次の描画点1bの座
標を算出し、上記と同様にST4において第一のベクト
ルで新規のy座標の値かどうかを判断する。この場合、
描画点1bは描画点1aと同じy座標の二つ目の描画点
であるので、ST5bにおいて画像メモリに属性”Do
uble”を書込む。
Since the drawing point 1a is not the end point of the drawing point in the first vector, the drawing point 1a is moved to the drawing point next to the first vector in ST7, and the coordinates of the next drawing point 1b are calculated in ST8. Similar to the above, in ST4, it is determined whether the first vector is a new y coordinate value. in this case,
Since the drawing point 1b is the second drawing point having the same y coordinate as the drawing point 1a, the attribute "Do" is stored in the image memory in ST5b.
Write "uble".

【0014】そして、ST6において、描画点1bは第
一のベクトル内の描画点の終点であるのでST9に進
み、ベクトル開始描画点1がベクトル開始描画点の終点
かどうかを判断する。ベクトル開始描画点1は終点では
ないので、ST10において、次の第二のベクトルの開
始点となる描画点に移動し、ST1において、第二のベ
クトルの開始点となる描画点2の座標を算出する。
Since the drawing point 1b is the end point of the drawing point in the first vector in ST6, the process proceeds to ST9, and it is determined whether or not the vector start drawing point 1 is the end point of the vector start drawing point. Since the vector start drawing point 1 is not the end point, in ST10, it moves to the drawing point which becomes the starting point of the next second vector, and in ST1, the coordinates of the drawing point 2 which becomes the starting point of the second vector are calculated. To do.

【0015】上記のST1〜ST10までの動作を、描
画点を1→1a→1b→2→2a→3→4→4a→4b
→5→5a→6→7→7a→8→8a→8b→8c→8
d→8eの順に移動させて繰り返し、全ての境界線を形
成する描画点(ベクトルの開始点となる描画点と同じベ
クトル内の描画点)に対応する画像メモリにその属性を
格納する。
In the above-mentioned operations from ST1 to ST10, the drawing points are 1 → 1a → 1b → 2 → 2a → 3 → 4 → 4a → 4b.
→ 5 → 5a → 6 → 7 → 7a → 8 → 8a → 8b → 8c → 8
The attribute is stored in the image memory corresponding to the drawing points (drawing points in the same vector as the starting point of the vector) forming all the boundaries by repeating the sequence of moving from d to 8e.

【0016】この場合、描画点に格納される属性は、描
画点1,1a,2,3,4,5,6,7,7a,8,8
a,8cが”Single”となり、描画点1b,2
a,4a,4b,5a,8b,8d,8eが”Doub
le”となる。即ち、走査線内の両端の描画点には”S
ingle”の属性が与えられ、その他の描画点には”
Double”が与えられ、走査線内の両端の描画点と
その他の描画点を互いに識別可能に属性データが格納さ
れる。
In this case, the attributes stored in the drawing points are the drawing points 1, 1a, 2, 3, 4, 5, 6, 7, 7a, 8, and 8.
a, 8c become "Single", and drawing points 1b, 2
a, 4a, 4b, 5a, 8b, 8d, 8e are "Doub
le ", that is," S "is drawn at the drawing points at both ends in the scanning line.
"ingle" attribute is given, and other drawing points are "
"Double" is given, and the attribute data is stored so that the drawing points at both ends in the scanning line and other drawing points can be distinguished from each other.

【0017】尚、図5(b)においては全ての描画点が
表示エリア内であるが、図6のST2において描画点の
y座標が表示エリアの外であると判断された場合、図6
のST3において描画点のx座標が表示エリアの外にあ
ると判断された場合は、画像メモリに属性の書き込みは
行われない。
Although all the drawing points are within the display area in FIG. 5B, when it is determined in ST2 of FIG. 6 that the y-coordinates of the drawing points are outside the display area, FIG.
If it is determined in ST3 that the x coordinate of the drawing point is outside the display area, the attribute is not written in the image memory.

【0018】図7は従来の画像表示装置の塗りつぶし処
理部の動作を説明するフローチャートである。塗りつぶ
し処理部は、図5(b)の左上隅から右方向へ順に画像
メモリを走査してその内容を読み込み、一つの走査線が
終了するとその下の走査線の左隅に移動し、その動作を
繰り返して表示エリア内の上から下へ全ての走査線上の
画像メモリを走査してその画像データを読み込む。
FIG. 7 is a flow chart for explaining the operation of the fill processing section of the conventional image display device. The fill processing unit sequentially scans the image memory from the upper left corner of FIG. 5B in the right direction to read the contents, and when one scan line is completed, moves to the left corner of the scan line below and moves its operation. By repeatedly scanning the image memories on all the scanning lines from the top to the bottom in the display area, the image data is read.

【0019】図7において、まずST21で、塗りつぶ
し処理部は、走査開始点(表示エリア左上隅)の画像メ
モリに格納された画像データを読み込み、ST22でそ
の属性の種類を判別する。そして、属性が”Doubl
e”及び”Single”の場合は、ST23で同じ座
標の表示用メモリに表示データ”オン”を書き込む。
In FIG. 7, first, in ST21, the fill processing section reads the image data stored in the image memory at the scanning start point (upper left corner of the display area), and in ST22, determines the type of the attribute. And the attribute is "Double
In the case of "e" and "Single", the display data "ON" is written in the display memory of the same coordinates in ST23.

【0020】属性がブランクの場合(境界線上でない座
標)は、ST24において画像メモリの位置が境界線の
内か外かを判断し、内の場合はST25において同じ走
査線上(同じy座標)の画像データの”Single”
の属性の数が奇数であるか偶数であるかを判別する。
If the attribute is blank (coordinates not on the boundary line), it is judged in ST24 whether the position of the image memory is inside or outside the boundary line. If it is inside, an image on the same scanning line (same y coordinate) is calculated in ST25. Data "Single"
It is determined whether the number of attributes of is an odd number or an even number.

【0021】そして、奇数の場合はST26aにおいて
塗りつぶしの領域内であると判断されるので、表示用メ
モリに表示データとして”オン”を書き込み、偶数の場
合はST26bにおいて塗りつぶしの領域外であると判
断されるので”オフ”を書込む。
If it is an odd number, it is determined in ST26a that it is within the filled area, so "ON" is written as display data in the display memory, and if it is an even number, it is determined in ST26b that it is outside the filled area. Write "off" because it will be done.

【0022】次にST27で走査線の終点(xの終点、
表示エリア右端)がどうかを判断し、終点でない場合は
ST28において、同じy座標(同じ走査線)の次(右
隣り)の画像メモリに移動して(x+1)以下、走査線
の終点まで表示用メモリに書き込み動作を行う。
Next, in ST27, the scanning line end point (x end point,
If it is not the end point, it is determined in ST28 whether the display area is at the right end of the display area. In ST28, the image is moved to the next (right adjacent) image memory next to the same y-coordinate (same scan line), and (x + 1) or less is displayed for the end point of the scan line Write to the memory.

【0023】そして、ST27で走査線の終点と判断さ
れた場合は、ST29においてyの終点(表示エリア最
下部)がどうかを判断し、終点でない場合は、ST30
において、次のy座標(次の走査線)に移動し(y+
1)、以下x座標とy座標を移動させてST21〜ST
30の動作を繰り返し、表示エリア内の全表示メモリに
表示データの書き込みを行う。
If it is determined in ST27 that the scanning line is the end point, it is determined in ST29 whether the y end point (the bottom of the display area) is, and if it is not the end point, ST30 is set.
At, move to the next y coordinate (next scan line) (y +
1), and then move the x and y coordinates to ST21 to ST
The operation of 30 is repeated to write the display data to all the display memories in the display area.

【0024】図6(b)の場合、上から三番目までの走
査線内の画像メモリ及び上から四番目の走査線内の描画
点8cの手前まではすべて”Blank”で、かつ境界
線の外であるから、それらに対応する表示メモリの内容
は”オフ”となる。
In the case of FIG. 6 (b), the image memory in the third scanning line from the top and the drawing point 8c in the fourth scanning line from the top are all "Blank" and the boundary line Since they are outside, the contents of the display memory corresponding to them are "off".

【0025】そして、描画点8cの属性は”Singl
e”なので”オン”、描画点8d,8eの属性は”Do
uble”であるので”オン”となり、描画点8eの右
隣りの画像メモリの属性は”Blank”で境界線の中
であるので、図7のST25で同じ走査線上(同じy座
標)の画像データの”Single”の数が奇数である
か偶数であるかを判別するが、この場合は”Singl
e”は描画点8cの1点(奇数)であるので、描画点8
eの右隣りの表示メモリには”オン”が格納され、同様
に描画点1まで”オン”が格納される。
The attribute of the drawing point 8c is "Single."
Since it is "e", it is "on", and the attributes of the drawing points 8d and 8e are "Do"
Since it is “double”, it is “on”, and since the attribute of the image memory on the right of the drawing point 8e is “Blank” within the boundary line, the image data on the same scanning line (same y coordinate) in ST25 of FIG. The number of "Single" s in the above is odd or even. In this case, "Single" is determined.
Since e ″ is one point (odd number) of the drawing point 8c, the drawing point 8c
"ON" is stored in the display memory on the right of e, and "ON" is similarly stored up to the drawing point 1.

【0026】同様の動作が繰り返されることによって、
境界線を形成し画像メモリに属性”Single”及
び”Double”か格納されている全ての及び境界線
内で画像メモリに属性が書込まれていない(”Blan
k”)の全ての表示メモリに”オン”が書込まれ、境界
線外の全ての表示メモリに”オフ”が書込まれる。
By repeating the same operation,
The attributes "Single" and "Double" are stored in the image memory to form a boundary line, and the attributes are not written in the image memory within all the boundary lines and "Blan"("Blan").
“On” is written in all the display memories of k ”), and“ off ”is written in all the display memories outside the boundary line.

【0027】上述のような動作の後、図示しないフィー
ルドプログラマブルゲートアレイによって表示用メモリ
を走査して表示データを読み出し、読み出された表示デ
ータの内容に基づいて、境界線を形成する描画点及び境
界線内の画素をオン(点灯)、それ以外の画素をオフ
(消灯)とし、図6(a)に示すように画像を塗りつぶ
し表示する。
After the above-described operation, the display memory is scanned by the field programmable gate array (not shown) to read the display data, and the drawing points and the drawing points forming the boundary line based on the content of the read display data. The pixels within the boundary line are turned on (lighted) and the other pixels are turned off (lighted off), and the image is displayed in black as shown in FIG. 6A.

【0028】[0028]

【発明が解決しようとする課題】しかし、上述のような
画像表示装置においては、境界線を形成する描画点の一
部が表示エリア外にある場合、走査時に塗りつぶしの始
点(左端)、終点(右端)が見つけられず、正常に塗り
つぶしが実行されないという問題点があった。特に始点
(左端)が表示エリア外となる場合は塗りつぶしが開始
されず、本来の塗りつぶし終点(右端)から塗りつぶし
が開始されてしまい、描画可能な画像に制約があるとい
う問題点があった。
However, in the above-described image display device, when a part of drawing points forming a boundary line is outside the display area, the starting point (left end) and the end point (left end) of the filling at the time of scanning. There was a problem that the (right end) could not be found and the filling was not executed normally. In particular, when the starting point (left end) is outside the display area, the filling is not started, and the filling starts from the original filling end point (right end), which poses a problem that there are restrictions on the image that can be drawn.

【0029】本発明は上述した問題点を解決するために
なされたものであり、塗りつぶしの境界線の一部もしく
は全てが表示エリア外の場合でも塗りつぶし表示可能
で、描画する画像の制約を無くすことができる画像表示
装置を実現することを目的とする。
The present invention has been made in order to solve the above-mentioned problems, and even if a part or all of the boundary line of the fill is outside the display area, the fill display can be performed, and there is no restriction on the image to be drawn. It is an object of the present invention to realize an image display device capable of

【0030】[0030]

【課題を解決するための手段】本発明の請求項1におい
ては、表示部を構成する複数の画素のオンオフを識別す
る表示データが格納され表示エリアに対応した表示用メ
モリの内容を走査して読み出し、前記表示部に表示対象
となる画像の境界線内を塗りつぶして表示するラスタ走
査型の画像表示装置において、前記画像の画像データを
記憶する画像メモリと、前記境界線を形成する描画点の
座標を算出し、その座標が前記表示エリア内の場合はそ
の座標に対応する画像メモリに画像データを書込み、算
出された描画点のx座標が表示エリアの左側に外れる場
合は同じy座標の前記表示エリアの左端に対応する画像
メモリに画像データを書込む塗りつぶし線描画部と、前
記画像メモリに書込まれた画像データに基づいて前記表
示メモリに表示データを格納する塗りつぶし処理部、を
具備することを特徴とする画像表示装置である。
According to a first aspect of the present invention, the contents of the display memory corresponding to the display area are scanned by storing display data for identifying ON / OFF of a plurality of pixels forming the display section. In a raster scanning type image display device that reads out and displays the boundary line of an image to be displayed on the display unit by filling in the boundary line, an image memory that stores image data of the image and a drawing point that forms the boundary line. If the coordinate is calculated, and the coordinate is within the display area, the image data is written in the image memory corresponding to the coordinate, and if the calculated x coordinate of the drawing point is off the left side of the display area, the same y coordinate is used. A fill line drawing unit that writes image data to the image memory corresponding to the left end of the display area, and a display device that displays data in the display memory based on the image data written in the image memory. Painting processing unit for storing the data, an image display apparatus characterized by comprising.

【0031】本発明の請求項2においては、請求項1記
載の画像表示装置において、前記塗りつぶし線描画部
は、前記境界線を形成する複数のベクトルの開始点とな
る描画点とベクトル内の描画点の座標を算出し、前記画
像データは、走査線内の両端の描画点とその他の描画点
を識別する属性データを含むことを特徴とする画像表示
装置である。
According to a second aspect of the present invention, in the image display device according to the first aspect, the filled-line drawing unit draws a drawing point which is a starting point of a plurality of vectors forming the boundary line and a drawing within the vector. The image display device is characterized in that the coordinates of points are calculated, and the image data includes attribute data for identifying drawing points at both ends in a scanning line and other drawing points.

【0032】[0032]

【発明の実施の形態】次に、本発明の実施例について図
面を用いて説明する。図1は本発明による画像表示装置
の構成図である。尚、以下の図面において、図4,5,
6と重複する部分は同一番号を付してその説明は適宜に
省略する。図1において、16は塗りつぶし線描画部、
17は塗りつぶし処理部である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of an image display device according to the present invention. In the following drawings, FIGS.
The same parts as 6 are given the same numbers and their explanations are omitted as appropriate. In FIG. 1, 16 is a filled line drawing unit,
Reference numeral 17 is a filling processing unit.

【0033】塗りつぶし線描画部16は、表示対象とな
る画像の境界線を形成する複数のベクトルの開始点とな
る描画点とベクトル内の描画点の座標を算出し、算出さ
れた座標が表示エリア内の場合はその座標に対応する画
像メモリ12に属性データを画像データとして書込み、
算出された描画点のx座標が表示エリアの左側に外れる
場合は同じy座標の表示エリアの左端に対応する画像メ
モリ12に属性データを書込む。尚、属性データは、走
査線内の両端となる描画点とその他の描画点を識別する
ためのデータである。
The filled-line drawing unit 16 calculates the coordinates of the drawing point that is the starting point of a plurality of vectors that form the boundary line of the image to be displayed and the coordinates of the drawing point within the vector, and the calculated coordinates are the display area. If it is within the range, the attribute data is written as image data in the image memory 12 corresponding to the coordinates,
If the calculated x-coordinate of the drawing point is off the left side of the display area, the attribute data is written in the image memory 12 corresponding to the left end of the display area having the same y-coordinate. The attribute data is data for identifying the drawing points at both ends in the scanning line and other drawing points.

【0034】図2(a)は表示エリアから図5(a)に
示した画像の一部が表示エリアの左側に外れた様子を示
す図であり、図2(b)は図2(a)に示した画像の塗
りつぶし表示を説明するための図である。
FIG. 2A is a diagram showing a state in which a part of the image shown in FIG. 5A is displaced from the display area to the left side of the display area, and FIG. 2B is shown in FIG. 2A. FIG. 6 is a diagram for explaining a filled display of the image shown in FIG.

【0035】図2(b)において、描画点6,7,7
a,8,8a,8b,8c,8d,8eは表示エリアの
左側に外れており、描画点6+は描画点6が移動された
点、描画点7+は描画点7が移動された点,描画点7+
+は描画点7aが移動された点、描画点8+は描画点8
が移動された点、描画点8++は描画点8a,8bが移
動された点、描画点8+++は描画点8c,8d,8e
が移動された点である。そして、これらはそれぞれ同じ
y座標の表示エリアの左端の画像メモリに移動されてい
る。
In FIG. 2B, the drawing points 6, 7, 7
a, 8, 8a, 8b, 8c, 8d and 8e are off the left side of the display area, the drawing point 6+ is the point to which the drawing point 6 has been moved, the drawing point 7+ is the point to which the drawing point 7 has been moved, and the drawing Point 7+
+ Is the point to which the drawing point 7a has been moved, drawing point 8+ is the drawing point 8
Is moved, the drawing points 8 ++ are drawn points 8a and 8b, and the drawing points 8 ++ are drawn points 8c, 8d and 8e.
Is the point that was moved. These are moved to the image memory at the left end of the display area having the same y coordinate.

【0036】そして、描画点の描画順序は、1→1a→
1b→2→2a→3→4→4a→4b→5→5a→6+
→7+→7++→8+→8++→8+++である。
The drawing order of the drawing points is 1 → 1a →
1b → 2 → 2a → 3 → 4 → 4a → 4b → 5 → 5a → 6 +
→ 7 + → 7 ++ → 8 + → 8 ++ → 8 ++++.

【0037】図3は本発明による画像表示装置の塗りつ
ぶし線描画部の動作を説明するフローチャートであり、
図6に示したフローチャートにST11〜ST13が付
加されたものである。そして、表示エリアの左側に外れ
ている描画点6,7,7a,8,8a,8b,8c,8
d,8e以外の描画点については図6を用いて行った従
来例の説明と同一であるのでその説明は省略する。
FIG. 3 is a flow chart for explaining the operation of the fill line drawing unit of the image display device according to the present invention.
ST11 to ST13 are added to the flowchart shown in FIG. Then, the drawing points 6, 7, 7a, 8, 8a, 8b, 8c, 8 which are off the left side of the display area
Since the drawing points other than d and 8e are the same as the description of the conventional example performed using FIG. 6, the description thereof will be omitted.

【0038】図3において、ST1で第六のベクトルの
開始点である描画点6の座標が算出され、ST3でその
x座標が表示エリアの外と判断され、ST11において
表示エリアの左側かどうかを判断する。
In FIG. 3, the coordinates of the drawing point 6, which is the start point of the sixth vector, are calculated in ST1, the x coordinate is determined to be outside the display area in ST3, and it is determined in ST11 whether it is on the left side of the display area. to decide.

【0039】描画点6は表示エリアの左側に外れている
ので次のST12に進み、第六のベクトルの新規のy座
標の値であるかどうかを判断する。描画点6は第六のベ
クトルの開始点で新規のy座標の値であるのでST13
において画像メモリの位置が表示エリアの左端の描画点
6+の画像メモリ(0,y)に移動され、属性”sin
gle”が書込まれる。
Since the drawing point 6 is off the left side of the display area, the process proceeds to the next step ST12, and it is determined whether or not the value is the new y coordinate value of the sixth vector. Since the drawing point 6 is the start point of the sixth vector and has a new y coordinate value, ST13
In, the position of the image memory is moved to the image memory (0, y) at the drawing point 6+ at the left end of the display area, and the attribute "sin
gle ”is written.

【0040】同様にして、描画点7は描画点7+に、描
画点7aは描画点7++に、描画点8は描画点8+に、
描画点8aは描画点8++に、描画点8cは描画点8+
+に移動され、それぞれの表示エリアの左端の画像メモ
リ(0,y)に属性”Single”が書込まれる。
Similarly, the drawing point 7 becomes the drawing point 7+, the drawing point 7a becomes the drawing point 7 ++, the drawing point 8 becomes the drawing point 8+,
Drawing point 8a is drawing point 8 ++, drawing point 8c is drawing point 8 ++
The attribute is moved to +, and the attribute "Single" is written in the image memory (0, y) at the left end of each display area.

【0041】尚、描画点8b,8d,8eはST12に
おいて新規なyの値であると判断されないため、画像デ
ータの書き込みは行われない。そして、最終的に描画点
に格納される属性は、描画点1,1a,2,3,4,
5,6+,7+,7+++,8+,8++,8+++
が”Single”となり、描画点1b,2a,4a,
4b,5aが”Double”となる。即ち、走査線内
の両端の描画点には”Single”の属性が与えら
れ、その他の描画点には”Double”の属性が与え
られ、走査線内の両端の描画点とその他の描画点を互い
に識別可能な属性データが対応する画像メモリに格納さ
れる。
Since the drawing points 8b, 8d, and 8e are not judged to be the new value of y in ST12, the image data is not written. The attributes finally stored in the drawing points are the drawing points 1, 1a, 2, 3, 4,
5,6 +, 7 +, 7 +++, 8 +, 8 ++, 8 +++
Becomes "Single" and the drawing points 1b, 2a, 4a,
4b and 5a become "Double". That is, the drawing points at both ends in the scanning line are given the attribute of "Single", the other drawing points are given the attribute of "Double", and the drawing points at the both ends in the scanning line and the other drawing points are given. The mutually distinguishable attribute data is stored in the corresponding image memory.

【0042】そして、塗りつぶし処理部17の動作は図
7のフローチャートを用いて説明した従来の場合と同様
である。即ち、図7に示したフローチャートに従って”
Single”及び”Double”の属性が格納され
た画像メモリに対応する表示メモリに表示データとし
て”オン”を書き込み、画像データが”Blank”で
境界線内部の画像メモリに対応する表示メモリに”オ
ン”を書込む。
The operation of the painting processing section 17 is the same as in the conventional case described with reference to the flowchart of FIG. That is, according to the flowchart shown in FIG.
"On" is written as display data in the display memory corresponding to the image memory in which the attributes of "Single" and "Double" are stored, and "On" is displayed in the display memory corresponding to the image memory inside the boundary line when the image data is "Blank". Write "

【0043】即ち、境界線を形成しその属性が”Sin
gle”または”Double”である描画点1,1
a,1b,2,2a,3,4,4a,4b,5,5a,
6+,7+,7+++,8+,8++,8+++に対応
する表示メモリと、境界線内の全ての表示メモリに表示
データ”オン”が書込まれ、境界線外の全ての表示メモ
リに表示データ”オフ”が書込まれる。
That is, a boundary line is formed and its attribute is "Sin
Drawing points 1, 1 that are gle "or" Double "
a, 1b, 2, 2a, 3, 4, 4a, 4b, 5, 5a,
Display data "on" is written in the display memory corresponding to 6+, 7+, 7 ++++, 8+, 8 ++, 8 ++, and all the display memories inside the boundary line, and the display data "off" in all the display memory outside the boundary line. "Is written.

【0044】そして、図示しないフィールドプログラマ
ブルゲートアレイによって表示用メモリ14を走査して
表示データを読み出し、読み出された表示データの内容
に基づいて、境界線を形成する描画点及び境界線内の画
素をオン(点灯)、それ以外の画素をオフ(消灯)と
し、画像を塗りつぶし表示する。
Then, the display memory 14 is scanned by a field programmable gate array (not shown) to read the display data, and based on the contents of the read display data, the drawing points forming the boundary line and the pixels within the boundary line are formed. Is turned on (lit) and the other pixels are turned off (dark), and the image is filled and displayed.

【0045】この場合、表示エリアから左側にはみ出し
た描画点を表示エリアの同じyの左端に移動させている
ため、表示用メモリを走査する時に塗りつぶしの始点
(左端)が確実に検出されるので、正常に塗りつぶしが
実行される。従って、描画可能な画像に制約がなくな
る。
In this case, since the drawing point protruding to the left from the display area is moved to the left end of the same y in the display area, the starting point (left end) of the filling can be reliably detected when scanning the display memory. , The fill is executed normally. Therefore, there are no restrictions on the image that can be drawn.

【0046】[0046]

【発明の効果】以上説明したように本発明によれば、表
示エリアから左側にはみ出した描画点を表示エリアの同
じyの左端に移動させるようにしたので、塗りつぶしの
境界線の一部もしくは全てが表示エリア外の場合でも塗
りつぶし表示可能で、描画する画像の制約を無くすこと
ができる。
As described above, according to the present invention, the drawing point protruding leftward from the display area is moved to the left end of the same y in the display area. Even if is outside the display area, it is possible to display it in a filled manner, and it is possible to remove the restriction on the image to be drawn.

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

【図1】本発明による画像表示装置の構成を示すブロッ
ク図である。
FIG. 1 is a block diagram showing a configuration of an image display device according to the present invention.

【図2】塗りつぶし線描画部の動作を説明するための図
である。
FIG. 2 is a diagram for explaining the operation of a filled-line drawing unit.

【図3】塗りつぶし線描画部の動作を説明するためのフ
ローチャートである。
FIG. 3 is a flowchart for explaining the operation of a filled line drawing unit.

【図4】従来の塗りつぶし処理を行う画像表示装置の構
成図である。
FIG. 4 is a configuration diagram of a conventional image display device that performs a filling process.

【図5】従来の画像表示装置の塗りつぶし線描画部の動
作を説明するための図である。
FIG. 5 is a diagram for explaining an operation of a filled-line drawing unit of the conventional image display device.

【図6】従来の画像表示装置の塗りつぶし線描画部の動
作を説明するフローチャートである。
FIG. 6 is a flowchart illustrating an operation of a filled-line drawing unit of the conventional image display device.

【図7】画像表示装置の塗りつぶし処理部の動作を説明
するフローチャートである。
FIG. 7 is a flowchart illustrating an operation of a filling processing unit of the image display device.

【符号の説明】[Explanation of symbols]

1,1a,1b 描画点 2,2a 描画点 3 描画点 4,4a,4b 描画点 5,5a 描画点 6,6+ 描画点 7,7+,7+++ 描画点 8,8+,8++,8+++ 描画点 12 画像メモリ 14 表示用メモリ 15 表示部 16 塗りつぶし線描画部 17 塗りつぶし処理部 1,1a, 1b Drawing point 2,2a Drawing point 3 drawing points 4,4a, 4b Drawing points 5,5a Drawing point 6,6+ drawing points 7,7 +, 7 +++ drawing points 8, 8+, 8 ++, 8 +++ drawing points 12 image memory 14 Display memory 15 Display 16 Fill line drawing part 17 Fill processing section

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 表示部を構成する複数の画素のオンオフ
を識別する表示データが格納され表示エリアに対応した
表示用メモリの内容を走査して読み出し、前記表示部に
表示対象となる画像の境界線内を塗りつぶして表示する
ラスタ走査型の画像表示装置において、 前記画像の画像データを記憶する画像メモリと、 前記境界線を形成する描画点の座標を算出し、その座標
が前記表示エリア内の場合はその座標に対応する画像メ
モリに画像データを書込み、算出された描画点のx座標
が表示エリアの左側に外れる場合は同じy座標の前記表
示エリアの左端に対応する画像メモリに画像データを書
込む塗りつぶし線描画部と、 前記画像メモリに書込まれた画像データに基づいて前記
表示メモリに表示データを格納する塗りつぶし処理部、
を具備することを特徴とする画像表示装置。
1. A boundary of an image to be displayed on the display unit by scanning and reading the contents of a display memory which stores display data for identifying ON / OFF of a plurality of pixels forming the display unit and which corresponds to a display area. In a raster scanning type image display device for filling and displaying the inside of a line, an image memory for storing image data of the image, and coordinates of a drawing point forming the boundary line are calculated, and the coordinates are within the display area. In the case, the image data is written in the image memory corresponding to the coordinate, and when the calculated x-coordinate of the drawing point deviates to the left side of the display area, the image data is written in the image memory corresponding to the left end of the display area of the same y-coordinate. A fill line drawing unit for writing, and a fill processing unit for storing display data in the display memory based on the image data written in the image memory,
An image display device comprising:
【請求項2】 請求項1記載の画像表示装置において、 前記塗りつぶし線描画部は、前記境界線を形成する複数
のベクトルの開始点となる描画点とベクトル内の描画点
の座標を算出し、 前記画像データは、走査線内の両端の描画点とその他の
描画点を識別する属性データを含むことを特徴とする画
像表示装置。
2. The image display device according to claim 1, wherein the filled-line drawing unit calculates coordinates of a drawing point that is a starting point of a plurality of vectors that form the boundary line and a drawing point within the vector, The image display device is characterized in that the image data includes attribute data for identifying drawing points at both ends in a scanning line and other drawing points.
JP2001288418A 2001-09-21 2001-09-21 Image display device Pending JP2003099027A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001288418A JP2003099027A (en) 2001-09-21 2001-09-21 Image display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001288418A JP2003099027A (en) 2001-09-21 2001-09-21 Image display device

Publications (1)

Publication Number Publication Date
JP2003099027A true JP2003099027A (en) 2003-04-04

Family

ID=19111073

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001288418A Pending JP2003099027A (en) 2001-09-21 2001-09-21 Image display device

Country Status (1)

Country Link
JP (1) JP2003099027A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2009594A1 (en) 2007-06-27 2008-12-31 NEC System Technologies, Ltd. Vector image drawing device, method for vector image drawing, and computer readable recording medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2009594A1 (en) 2007-06-27 2008-12-31 NEC System Technologies, Ltd. Vector image drawing device, method for vector image drawing, and computer readable recording medium
US8237717B2 (en) 2007-06-27 2012-08-07 Nec System Technologies, Ltd. Vector image drawing device, method for vector image drawing, and computer readable recording medium

Similar Documents

Publication Publication Date Title
US6961065B2 (en) Image processor, components thereof, and rendering method
JPS63500273A (en) bitmap graphics workstation
JP2612260B2 (en) Texture mapping equipment
JP3433828B2 (en) Method and apparatus for edge improvement of pixel images
KR940024617A (en) Image Creation Method, Image Creation Device and Home Game Machine
JP2003099027A (en) Image display device
JPH10326352A (en) Polygon paint-out method, and recording medium
US20070188498A1 (en) Character generation processing method
JPS634380A (en) Computer graphic processor
JPH07261725A (en) Display device
JP2770582B2 (en) Figure filling device
US7667714B2 (en) Patterned polygon rendering apparatus
JP2698170B2 (en) Closed area fill display method
JP3139805B2 (en) Image processing method and apparatus
JP2773127B2 (en) Image editing method
WO2022102525A1 (en) Data creation system, learning system, estimation system, processing device, evaluation system, data creation method, and program
JP2977155B2 (en) Ellipse filling method in graphics
JP4666480B2 (en) Line drawing device
JP4845043B2 (en) Drawing information processing apparatus, drawing information processing method, drawing information processing program, and computer-readable recording medium recording the drawing information processing program
JP3089906B2 (en) Drawing equipment
JP2634905B2 (en) How to paint shapes
JP2694805B2 (en) Image playback method
JP3879804B2 (en) Character / graphic processing unit
JP2000040157A (en) Method and device for image processing
JPH01205388A (en) Generation system for high quality character and graphic or the like