JPH04181293A - Initial display system for image information - Google Patents

Initial display system for image information

Info

Publication number
JPH04181293A
JPH04181293A JP2308825A JP30882590A JPH04181293A JP H04181293 A JPH04181293 A JP H04181293A JP 2308825 A JP2308825 A JP 2308825A JP 30882590 A JP30882590 A JP 30882590A JP H04181293 A JPH04181293 A JP H04181293A
Authority
JP
Japan
Prior art keywords
image information
binary image
dots
center
gravity
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
JP2308825A
Other languages
Japanese (ja)
Inventor
Makoto Miyai
誠 宮井
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP2308825A priority Critical patent/JPH04181293A/en
Publication of JPH04181293A publication Critical patent/JPH04181293A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To allow the visual checking of the real image of binary image information by providing an input means, centroid calculating means and output means and outputting and displaying the binary image information in the output region on a screen by the output means. CONSTITUTION:The central calculating means 2 receives the binary image information and determines the total sum of the distance from the top ends of all the black dots on this information. This means also determines the number of the black dots on the binary image information and determines the vertical dot positions of the centroid of the binary image information from the sum total of the vertical dots/the number of the black dots. The centroid calculating means 2 similarly determines the sum total of the distances from the left ends of all the black dots on the binary image information and determines the cross dot positions of the centroid of the binary image information from the sum total of the horizontal dots/the number of the black dots. The centroid of the binary image information is determined in the centroid calculating means 2.

Description

【発明の詳細な説明】 [産業上の利用分野コ 本発明は二値画像情報処理において、二値画像情報を画
面上の出力領域に表示する制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a control method for displaying binary image information in an output area on a screen in binary image information processing.

〔従来の技術] 従来、二値画像情報を画面上の出力領域に表示する際に
は1画面上の出力領域の原点と二値画像情報の原点とが
重なるように表示している。つまり、第8図に示すよう
に1画面上の出力領域の左上原点と二値画像情報の左上
原点が重なるように二値画像情報を表示されている。
[Prior Art] Conventionally, when binary image information is displayed in an output area on a screen, it is displayed so that the origin of the output area on one screen and the origin of the binary image information overlap. That is, as shown in FIG. 8, the binary image information is displayed such that the upper left origin of the output area on one screen and the upper left origin of the binary image information overlap.

[発明が解決しようとする課@] 上述のように、従来の表示処理では、二値画像情報に無
関係に原点から表示されるため、二値画像情報のパター
ンによっては実像の確認ができないという問題点がある
。つまり、第8図に示すように画面上の出力領域に実像
が表示されないという問題点がある。
[Issues to be solved by the invention@] As mentioned above, in conventional display processing, images are displayed from the origin regardless of the binary image information, so there is a problem that the real image cannot be confirmed depending on the pattern of the binary image information. There is a point. In other words, as shown in FIG. 8, there is a problem in that the real image is not displayed in the output area on the screen.

本発明の目的は常に実像の確認を行うことのできる二値
画像情報の初期表示方式を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide an initial display method for binary image information that allows confirmation of a real image at all times.

[課題を解決するための手段] 本発明によれば、二値画像情報を画面上に設定された出
力領域に表示する際に用いられ、前記二値画像情報を入
力するとともに、前記出力領域上の縦ドツト数及び横ド
ツト数を出力領域ドツト数情報として、前記二値画像情
報の縦ドツト数及び横ドツト数を二値画像ドツト数情報
として入力する入力手段と、前記出力領域ドツト数情報
及び前記二値画像ドツト数情報に基づいて前記二値画像
情報の重心を求め2重心情報として出力する重心算出手
段と、前記二値画像情報及び前記重心情報を受け、前記
出力領域の所定の位置と前記重心情報で示される重心と
が重なるようにして前記二値画像情報を前記出力領域に
出力する出力手段とを有することを特徴とする画像情報
の初期表示方式%式% [実施例コ 以下本発明について実施例によって説明する。
[Means for Solving the Problem] According to the present invention, it is used when displaying binary image information in an output area set on a screen, and while inputting the binary image information, input means for inputting the number of vertical dots and the number of horizontal dots in the binary image information as output area dot number information, and the number of vertical dots and the number of horizontal dots in the binary image information as binary image dot number information; a center of gravity calculating means for calculating the center of gravity of the binary image information based on the information on the number of binary image dots and outputting it as binary center information; and an output means for outputting the binary image information to the output area so that the center of gravity indicated by the center of gravity information overlaps with the center of gravity indicated by the center of gravity information. The invention will be explained by way of examples.

第1図を参照して2本発明による画像情報の初期表示方
式は1人力手段11重心算出手段2.及び出力手段3を
備えており1出力手段3によって後述するようにして画
面上の出力領域4に二値画像情報が出力表示される。
Referring to FIG. 1, 2. The initial display method of image information according to the present invention is as follows: 1. Manual means 11. Center of gravity calculation means 2. and an output means 3, and the output means 3 outputs and displays binary image information in an output area 4 on the screen as described later.

第2図も参照して、入力手段1ては、ステップ21で画
面上出力領域の縦ドツト数及び横ドツト数を入力する。
Referring also to FIG. 2, in step 21, the input means 1 inputs the number of vertical dots and the number of horizontal dots in the output area on the screen.

次に、ステップ22で二値画像情報とこの二値画像情報
の縦ドツト数及び横ドツト数とを人力する。
Next, in step 22, the binary image information and the number of vertical dots and horizontal dots of this binary image information are input manually.

第3図及び第4図を参照して1重心算出手段2は二値画
像情報を受け、二値画像情報上の全ての黒ドツトの上端
からの距離(縦ドツト位置)の総和(以下縦ドツト総和
という)を求めるとともに二値画像情報上の黒ドツト数
を求め、縦ドツト総和/黒ドツト数から二値画像情報の
重心の縦ドツト位置を求める(ステップ31)。同様に
して。
Referring to FIGS. 3 and 4, the single center of gravity calculation means 2 receives the binary image information, and calculates the sum of distances (vertical dot positions) from the top of all black dots on the binary image information (hereinafter referred to as vertical dot positions). At the same time, the number of black dots on the binary image information is determined, and the vertical dot position of the center of gravity of the binary image information is determined from the vertical dot total/number of black dots (step 31). Do the same.

重心算出手段2は二値画像情報上の全ての黒ドツトの左
端からの距離(横ドツト位置)の総和(以下横ドツト総
和という)を求め、横ドツト総和/黒ドツト数から二値
画像情報の重心の横ドツト位置を求める(ステップ32
)。このようにして。
The centroid calculation means 2 calculates the sum of the distances (horizontal dot positions) from the left edge of all black dots on the binary image information (hereinafter referred to as the horizontal dot total), and calculates the binary image information from the horizontal dot total/number of black dots. Find the horizontal dot position of the center of gravity (step 32)
). In this way.

重心算出手段2では二値画像情報の重心を求める。The center of gravity calculation means 2 calculates the center of gravity of the binary image information.

次に、第5図及び第6図を参照して、出力手段3は入力
手段1から二値画像情報を受けるとともに重心算出手段
2から二値画像情報の重心を受け。
Next, referring to FIGS. 5 and 6, the output means 3 receives binary image information from the input means 1 and also receives the center of gravity of the binary image information from the center of gravity calculation means 2.

画面上の出力領域の右上座標(右上角、第6図において
ばつ印で示す)と二値画像情報の重心か重なるように二
値画像情報を出力領域に出力する。
Binary image information is output to the output area so that the upper right coordinates (upper right corner, indicated by a cross in FIG. 6) of the output area on the screen and the center of gravity of the binary image information overlap.

つまり、第5図に示すように、出力手段3は。That is, as shown in FIG. 5, the output means 3.

まずステップ501でPlに値″1”を設定し。First, in step 501, the value "1" is set to Pl.

P2に“二値画像情報の重心の縦ドツト位置”を設定す
る。次に、ステップ502で(画面上の出力領域の横ド
ツト数)<(二値画像情報の重心の横ドツト位置)であ
るか否かを調べる。(画面上の出力領域の横ドツト数)
<(二値画像情報の重心の横ドツト位置)であれば、ス
テップ503に進み、P3に値“ユ°を設定するととも
にP4に(二値画像情報の重心の横ドツト位置)−(画
面上の出力領域の横ドツト数)−1を設定する。
The "vertical dot position of the center of gravity of binary image information" is set in P2. Next, in step 502, it is checked whether (the number of horizontal dots in the output area on the screen)<(the horizontal dot position of the center of gravity of the binary image information). (Number of horizontal dots in the output area on the screen)
If <(horizontal dot position of the center of gravity of the binary image information), the process proceeds to step 503, where the value "Y°" is set in P3 and the value of (horizontal dot position of the center of gravity of the binary image information) - (horizontal dot position of the center of gravity of the binary image information) on the screen is set in P4. (number of horizontal dots in the output area) -1.

一方、(画面上の出力領域の横ドツト数)≧(二値画像
情報の重心の横ドツト位置)であると。
On the other hand, (number of horizontal dots in the output area on the screen)≧(horizontal dot position of the center of gravity of the binary image information).

ステップ504でP3に(画面上の出力領域の横ドツト
数)−(二値画像情報の重心の横ドツト位置)+1を設
定する。
In step 504, P3 is set to (number of horizontal dots in the output area on the screen)-(horizontal dot position of the center of gravity of the binary image information)+1.

このようにし、ステップ501乃至504て画面上の出
力領域における表示開始縦ドツト位置及び表示開始横ド
ツト位置と二値画像情報上の表示開始縦ドツト位置及び
表示開始横ドツト位置が求まる。
In this way, in steps 501 to 504, the display start vertical dot position and display start horizontal dot position in the output area on the screen and the display start vertical dot position and display start horizontal dot position on the binary image information are determined.

そして、ステップ503又は504か終了すると、ステ
ップ505でWlに(画面上の出力領域の縦ドツト数)
を、W2に(二値画像情報の縦ドツト数)−P2+1を
、W3に(画面上の出力領域の横ドツト数)−P3+1
を、W4に(二値画像情報の横ドツト数)−P4+1を
設定する。
Then, when step 503 or 504 is completed, in step 505 Wl (the number of vertical dots in the output area on the screen) is
, set W2 as (the number of vertical dots in the binary image information) - P2+1, and set W3 as (the number of horizontal dots in the output area on the screen) - P3+1.
and set W4 to (number of horizontal dots in binary image information) - P4+1.

ステップ505が終了すると、ステップ507でWl<
W2であるか否かを調べる。この結果。
When step 505 is completed, in step 507 Wl<
Check whether it is W2. As a result.

Wl<W2であると、ステップ508でSl及びSlに
それぞれWlを設定する。一方、Wl≧W2であると、
ステップ509でS]及びS2にそれぞれW2を設定す
る。そして、ステップ508又:509が終了すると、
ステップ510に進む。
If Wl<W2, in step 508 Wl is set to Sl and Sl, respectively. On the other hand, if Wl≧W2,
In step 509, W2 is set to S] and S2, respectively. Then, when step 508 or 509 is completed,
Proceed to step 510.

ステップ510ではW3<W4であるか否かを調べ、W
3<W4であると、ステップ511てS3及びS4にそ
れぞれW3を設定する。一方、W3≧W4であると、ス
テップ512てS3及びS4にそれぞれW4を設定する
In step 510, it is checked whether W3<W4, and W
If 3<W4, step 511 sets W3 to each of S3 and S4. On the other hand, if W3≧W4, W4 is set in each of S3 and S4 in step 512.

ステップ511又は512か終了すると、出力手段3は
ステップ513を実行する。ステップ513では1画面
上の出力領域上の表示開始縦ドツト位置PI、表示開始
横ドツト位WP3から表示縦ドツト数Sl、表示横ドツ
ト数83の部分に対して、二値画像情報上の表示開始縦
ドツト位置P2、表示開始横ドツト位置P4から表示縦
ドツト数S21表示横ドツト数84の部分を表示する。
When step 511 or 512 is completed, the output means 3 executes step 513. In step 513, the display on the binary image information is started for the display start vertical dot position PI, the display start horizontal dot position WP3, the display vertical dot number Sl, and the display horizontal dot number 83 on the output area on one screen. A portion from the vertical dot position P2 and the display start horizontal dot position P4 to the display vertical dot number S21 and the display horizontal dot number 84 is displayed.

つまり、ステップ505乃至512ては画面上の出力領
域における表示縦ドツト数及び表示横ドツト数と二値画
像情報上の表示縦ドツト数及び表示横ドツト数が求めら
れる。そして、ステップ513てはステップ501乃至
504で求めた表示開始縦ドツト位置1衷示開始横ドツ
ト位置からステップ507乃至512で求めた表示縦ド
ツト数1表示横ドツト数で二値画像情報が画面上の出力
領域に表示されることになる。
That is, in steps 505 to 512, the number of displayed vertical dots and the number of displayed horizontal dots in the output area on the screen and the number of displayed vertical dots and the number of displayed horizontal dots on the binary image information are determined. Then, in step 513, binary image information is displayed on the screen from the display start vertical dot position 1 display start horizontal dot position obtained in steps 501 to 504 to the display vertical dot number 1 display horizontal dot number obtained in steps 507 to 512. will be displayed in the output area.

このようにして、二値画像情報を出力領域に表示すると
、第7図にボすように表示されることになる。
When the binary image information is displayed in the output area in this way, it will be displayed as a blank as shown in FIG.

[発明の効果] 以上説明したように1本発明では二値画像情報の実像を
常に画面上に表示することができ、その結果2二値画像
情報の実像を目で確認することができるという効果があ
る。
[Effects of the Invention] As explained above, (1) the present invention has the effect that the real image of binary image information can always be displayed on the screen, and as a result, (2) the real image of the binary image information can be visually confirmed. There is.

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

第1図は本発明による画像情報の初期表示方式の一実施
例を示すブロック図、第2図は入力手段の動作を説明す
るための流れ図、第3図は重心算出手段の動作を説明す
るための流れ図、第4図は重心算出を説明するための図
、第5図は出力手段の動作を説明するための流れ図、第
6図は二値画像情報の表示を説明するための図、第7図
は本発明による画像情報表示方式による実像表示例を示
す図、第8図は従来の二値画像情報の表示例を示す図で
ある。 1・・・人力手段、2・・・重心算出手段、3・・・出
力手段、4・・・出力領域。 第1図 第6a!!! 第2図 第3図 第5図 (その2)
FIG. 1 is a block diagram showing an embodiment of the initial display method of image information according to the present invention, FIG. 2 is a flowchart for explaining the operation of the input means, and FIG. 3 is a flow chart for explaining the operation of the center of gravity calculation means. 4 is a flowchart for explaining the center of gravity calculation, FIG. 5 is a flowchart for explaining the operation of the output means, FIG. 6 is a diagram for explaining the display of binary image information, and FIG. 7 is a flowchart for explaining the operation of the output means. The figure shows an example of displaying a real image using the image information display method according to the present invention, and FIG. 8 shows an example of displaying conventional binary image information. DESCRIPTION OF SYMBOLS 1...Manpower means, 2...Gravity center calculation means, 3...Output means, 4...Output area. Figure 1 6a! ! ! Figure 2 Figure 3 Figure 5 (Part 2)

Claims (1)

【特許請求の範囲】[Claims] 1、二値画像情報を画面上に設定された出力領域に表示
する際に用いられ、前記二値画像情報を入力するととも
に、前記出力領域上の縦ドット数及び横ドット数を出力
領域ドット数情報として、前記二値画像情報の縦ドット
数及び横ドット数を二値画像ドット数情報として入力す
る入力手段と、前記出力領域ドット数情報及び前記二値
画像ドット数情報に基づいて前記二値画像情報の重心を
求め、重心情報として出力する重心算出手段と、前記二
値画像情報及び前記重心情報を受け、前記出力領域の所
定の位置と前記重心情報で示される重心とが重なるよう
にして前記二値画像情報を前記出力領域に出力する出力
手段とを有することを特徴とする画像情報の初期表示方
式。
1. Used when displaying binary image information in an output area set on the screen, when inputting the binary image information, the number of vertical and horizontal dots on the output area is calculated as the number of output area dots. input means for inputting the number of vertical dots and the number of horizontal dots of the binary image information as information on the number of vertical dots in the binary image; a center of gravity calculating means for determining the center of gravity of image information and outputting it as center of gravity information; and receiving the binary image information and the center of gravity information so that a predetermined position of the output area and the center of gravity indicated by the center of gravity information overlap. An initial display method for image information, comprising: output means for outputting the binary image information to the output area.
JP2308825A 1990-11-16 1990-11-16 Initial display system for image information Pending JPH04181293A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2308825A JPH04181293A (en) 1990-11-16 1990-11-16 Initial display system for image information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2308825A JPH04181293A (en) 1990-11-16 1990-11-16 Initial display system for image information

Publications (1)

Publication Number Publication Date
JPH04181293A true JPH04181293A (en) 1992-06-29

Family

ID=17985760

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2308825A Pending JPH04181293A (en) 1990-11-16 1990-11-16 Initial display system for image information

Country Status (1)

Country Link
JP (1) JPH04181293A (en)

Similar Documents

Publication Publication Date Title
US5469189A (en) Display apparatus and method with multi-window function
EP0911761A3 (en) Apparatus and method for displaying contour lines and contour line display apparatus
JPH04181293A (en) Initial display system for image information
JPS63172664A (en) Enlarged character pattern correcting system
JPH03137776A (en) Picture information display system
JP3094691B2 (en) Drawing processing device
JP2574315B2 (en) Simulated view generator
JP2707142B2 (en) Hidden line broken line processing method
JP2904994B2 (en) Coordinate connection display method
JPH0554151B2 (en)
JPH03220678A (en) Picture information display system
JPS625482A (en) Hidden-line processing method for three-dimensional wire frame model
CN114449207A (en) Pre-monitoring window generation method and device
JPS61147372A (en) Partial picture forming device
JP2667454B2 (en) Plotting device
JPH0765057A (en) Dimensional line writing system
JPS61168013A (en) Tablet input system of graphic information
JPS63211466A (en) Graphic input device
JP2856465B2 (en) Image generation processing method
JPH04147191A (en) Screen display system
JPH04137129A (en) System for calculating window display position
JPH04166993A (en) Method for displaying image information
JPH07220098A (en) Plotting data generator for circular arc by polygonal approximation
JPH02144770A (en) Display device
JPS63115273A (en) Cad system