Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS6113257B2 - - Google Patents
[go: Go Back, main page]

JPS6113257B2 - - Google Patents

Info

Publication number
JPS6113257B2
JPS6113257B2 JP53028017A JP2801778A JPS6113257B2 JP S6113257 B2 JPS6113257 B2 JP S6113257B2 JP 53028017 A JP53028017 A JP 53028017A JP 2801778 A JP2801778 A JP 2801778A JP S6113257 B2 JPS6113257 B2 JP S6113257B2
Authority
JP
Japan
Prior art keywords
group
dots
straight line
circuit
information
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.)
Expired
Application number
JP53028017A
Other languages
Japanese (ja)
Other versions
JPS54120535A (en
Inventor
Hatsuo Hoshino
Hideji Kawakubo
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.)
NTT Inc
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2801778A priority Critical patent/JPS54120535A/en
Publication of JPS54120535A publication Critical patent/JPS54120535A/en
Publication of JPS6113257B2 publication Critical patent/JPS6113257B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Image Processing (AREA)
  • Digital Computer Display Output (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は図形信号を扱う情報処理装置に関す
る。特に記憶回路に与えられた2値信号の線画の
凹凸を自動的に修正し、なめらかな線画とする装
置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an information processing device that handles graphic signals. In particular, the present invention relates to a device that automatically corrects unevenness in a line drawing of a binary signal applied to a memory circuit to create a smooth line drawing.

〔従来の技術〕[Conventional technology]

光学的方法その他の方法により読取られた図形
情報をデジタル2値信号として取扱うと、原画の
かすれやにじみ等あるいはその他の雑音により、
誤りが生じることがある。線画の場合これは不自
然な凹凸となつて画質を劣化させることになる。
第1図はこのような図形表示の一例であつて、本
来第1図aのように表示されるべきものが、第1
図bのように一部に誤りが生じ、無用な凹凸が現
れる。
When graphic information read by optical methods or other methods is handled as a digital binary signal, it may be distorted due to blurring, blurring, or other noise in the original image.
Errors may occur. In the case of line drawings, this results in unnatural unevenness and deteriorates the image quality.
Figure 1 is an example of such a graphical display, in which what should originally be displayed as in Figure 1 a is displayed in Figure 1.
As shown in Figure b, errors occur in some parts and unnecessary unevenness appears.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来、これを修正するためには図形をデスプレ
イ上に表示して、ライトペンで修正位置を指摘
し、その部分のビツト情報を反転させる方法が知
られているが、人手が介在するため修正に多大の
時間を要する欠点がある。
Conventionally, in order to correct this, it is known to display the figure on the display, point out the correction position with a light pen, and invert the bit information of that part, but this requires manual intervention, making corrections difficult. It has the disadvantage that it requires a lot of time.

本発明はこれを改良し自動化するもので、2値
信号で取扱われる縦または横の線画の無用な凹凸
を自動的に修正し、なめらかな線画とする装置を
提供することを目的とする。
The present invention improves and automates this process, and aims to provide a device that automatically corrects unnecessary unevenness in vertical or horizontal line drawings handled by binary signals and creates smooth line drawings.

〔発明の特徴〕[Features of the invention]

本発明は、線画の表示画面が縦m×横n個のマ
トリクス状のドツトにより構成されているとし
て、縦方向座標m1なる直線に着目する。この直
線上のドツトについて一端から順次そのドツト情
報の反転する度に区切つてドツトの集団とする。
その1集団についてドツトの数をsとすると、そ
の直線に隣接する縦方向座標 m1−1 および m1+1 なる直線上で、上記集団に接続するドツトについ
て、上記集団のドツト情報と同一のドツト情報の
数を調べ、これをそれぞれr,tとする。このと
き rまたはtの一方がsより大きいこと、すな
わちr/sまたはt/sの一方のみが閾値(>
1)よりも大きいこと、 この閾値を越えない方が「0」であること、 を調べる。このおよびの条件を満足すると、
座標m1なる直線上のいま問題とした1集団s個
のドツト情報を、同一直線上にある一つ前の集団
のドツト情報にあわせる。もし一つ前の集団が存
在しない場合、すなわち問題とした集団がn=0
を含む場合、その集団のドツト情報を反転する。
これを縦座標 m1=0 から m1=m までの直線に対して行い、次いで横方向座標 n1=0 から n1=n までの直線に対して行う。そして必要に応じ逆方
向にも同様に行う。
The present invention focuses on a straight line with a vertical coordinate m1 , assuming that a line drawing display screen is composed of a matrix of dots of m vertically and n horizontally. The dots on this straight line are divided sequentially from one end each time the dot information is reversed to form a group of dots.
If the number of dots in one group is s, then on the straight line with vertical coordinates m 1 -1 and m 1 +1 adjacent to the straight line, dots connected to the above group have the same dot information as the dot information of the above group. Check the number of pieces of information and let them be r and t, respectively. At this time, one of r or t is larger than s, that is, only one of r/s or t/s is the threshold value (>
Check that it is greater than 1) and that it is 0 if it does not exceed this threshold. If the conditions of and are satisfied,
The dot information of s pieces of one group in question on a straight line with coordinates m1 is matched with the dot information of the previous group on the same straight line. If the previous group does not exist, that is, the group in question is n=0
, the dot information of that group is inverted.
This is done for the straight line from the ordinate m 1 =0 to m 1 =m and then for the straight line from the transverse coordinate n 1 =0 to n 1 =n. And if necessary, do the same in the opposite direction.

なお、問題とする集団に接続するドツトとし
て、問題とする集団の全てのドツトが、隣接直線
上の同一ドツト情報を有する集団と接続している
場合に限定するが、問題とする集団の一部のドツ
トのみが接続していればよいとするかにより、処
理結果が多少異なるので、使い分けてもよい。
Note that the dots connected to the group in question are limited to cases in which all dots in the group in question are connected to groups having the same dot information on adjacent straight lines, but some dots in the group in question are The processing results will differ somewhat depending on whether only the dots in the dots need to be connected, so they may be used differently.

〔実施例〕〔Example〕

さらに実施例により説明する。 Further explanation will be given by way of examples.

第1図aに示す図形が同bのように蓄積され、
これを本発明装置により再び第1図aに示す図形
に修正する例で説明する。例えば、m=2の直線
について着目すると、第1の集団はこの直線上で
n=1から6までである。この集団はドツト数s
=6でドツト情報は白(ここでは「0」とす
る。)である。この第1の集団に接続する集団と
して、m=1の直線のn=1から6を見ると、白
のドツト情報を有する集団のドツト数はr=6で
ある。またm=3の直線のn=1から6を見ると
白のドツト情報を有する集団のドツト数はt=0
である。従つて、上記の条件が成立しないので
この集団には修正がない。
The figure shown in Fig. 1a is accumulated as shown in Fig. 1b,
This will be explained using an example in which the apparatus of the present invention corrects the figure again to the figure shown in FIG. 1a. For example, if we focus on a straight line with m=2, the first group is from n=1 to 6 on this straight line. This group has number s of dots
=6, the dot information is white (here, it is assumed to be "0"). Looking at the straight line n=1 to 6 with m=1 as a group connected to this first group, the number of dots in the group having white dot information is r=6. Also, when looking at the straight line with m=3 from n=1 to 6, the number of dots in the group having white dot information is t=0.
It is. Therefore, since the above condition does not hold, there is no correction for this group.

次に、m=2の直線でn=7の点は、1ドツト
のみが黒(「1」)でこれが第2の集団となる。す
なわちそのドツト情報を有する集団のドツト数は
s=1であるが、m=1の直線、m=3の直線上
については、r=1、t=14である。この集団に
ついては、上記の条件は成立するが、の条件
は成立しない。
Next, at the point n=7 on the straight line m=2, only one dot is black ("1"), and this becomes the second group. That is, the number of dots in the group having the dot information is s=1, but on the straight line m=1 and the straight line m=3, r=1 and t=14. For this group, the above conditions hold, but the conditions do not hold.

このようにして、m=2の直線で第4の集団へ
進むと、ここもn=11が黒「1」であるので1ド
ツトで1個の集団となる。ここではm=1の直線
ではr=0、m=3の直線ではt=14となる。t
がsより大きいので上記の条件を満足する。さ
らにr=0であるので上記の条件をも満足す
る。これによりm=2、n=11のドツトについて
はドツト情報が前の集団(n=8〜10)のドツト
情報に一致するよう反転される。
In this way, when proceeding to the fourth group along the straight line with m=2, since n=11 is black "1" here as well, one dot forms one group. Here, r=0 for the straight line where m=1, and t=14 for the straight line where m=3. t
Since s is larger than s, the above condition is satisfied. Furthermore, since r=0, the above condition is also satisfied. As a result, the dot information for the dots with m=2 and n=11 is inverted so as to match the dot information of the previous group (n=8 to 10).

この操作をm=1から順次m=mまですすめ、
次ぎに縦直線について、n=1からnまですすめ
ると、ノイズは修正されることになる。
Proceed with this operation sequentially from m=1 to m=m,
Next, for the vertical line, if we proceed from n=1 to n, the noise will be corrected.

なお、修正すべき画面のふちの部分について
は、接続する直線は内側の一本のみであるので、
上述の条件は常に成立することとなる。このと
きにはの条件のみ、すなわち、r/sまたは
t/sの一方のみが閾値より大きいか否かにより
判定して修正を行うようにすればよい。
In addition, regarding the edge of the screen that needs to be corrected, there is only one connecting straight line on the inside, so
The above conditions will always hold true. At this time, it is only necessary to make a determination based on whether only one of the conditions, ie, only one of r/s and t/s, is larger than a threshold value and perform the correction.

第2図はこのような修正動作を行うための実施
例装置構成図である。図形はデジタル2値信号と
して記憶回路1に記憶されている。この記憶内容
は制御回路2の制御により読出回路3または4に
読出され、スイツチ回路5により選択されて、除
算回路6に与えられるよう構成されている。除算
回路6の出力は比較回路7および8に導かれ、こ
の両比較回路7および8の出力は、アンド回路9
を介して書込回路10に与えられている。この書
込回路10には読出回路3および4からアドレス
信号がスイツチ回路11を介して与えられ、記憶
回路1の指定されたアドレスの記憶内容を前の集
団のドツト情報に一致させるよう構成されてい
る。これらの各回路は制御回路2により制御され
る。
FIG. 2 is a configuration diagram of an embodiment of an apparatus for performing such a correction operation. The figure is stored in the storage circuit 1 as a digital binary signal. The stored contents are read out to a reading circuit 3 or 4 under the control of a control circuit 2, selected by a switch circuit 5, and applied to a division circuit 6. The output of the division circuit 6 is led to comparison circuits 7 and 8, and the outputs of both comparison circuits 7 and 8 are led to an AND circuit 9.
The signal is applied to the write circuit 10 via. Address signals are applied to this write circuit 10 from read circuits 3 and 4 via a switch circuit 11, and the write circuit 10 is configured to match the stored contents of a designated address in the memory circuit 1 with the dot information of the previous group. There is. Each of these circuits is controlled by a control circuit 2.

いま、記憶回路1がm×n個のマトリクス状の
メモリであり、表示画面に対応するドツト信号を
記憶するものであるとすると、読出回路3はその
横方向、読出回路4はその縦方向の情報を読出
す。はじめ読出回路3が動作し、前述のように
m1=1からm1=mまで各直線について、順次
r,s,tを読出してスイツチ5に与える。また
その集団のアドレスはスイツチ11に与えられ
る。これは除算回路6に送られて、r/sおよび
t/sが演算される。
Assuming that the memory circuit 1 is an m×n matrix memory that stores dot signals corresponding to the display screen, the readout circuit 3 is arranged in the horizontal direction, and the readout circuit 4 is arranged in the vertical direction. Read information. First, the readout circuit 3 operates, and as described above,
For each straight line from m 1 =1 to m 1 =m, r, s, and t are sequentially read out and applied to the switch 5. Further, the address of the group is given to the switch 11. This is sent to the division circuit 6, where r/s and t/s are calculated.

比較回路7では前述のの条件が判定される。
すなわち、r/sまたはt/sの一方が閾値より
も大きな数であるか否かを調べる。実用上は閾値
として「3」〜「5」位が適当である。この一方
が大きな数であるときには、比較回路7から出力
が送出され、比較回路8で前述のの条件が判定
される。すなわち、r/sまたはt/sのうち比
較回路7で大きな数であるとされた一方以外の他
方が「0」であるか否かを判定する。「0」であ
るならば比較回路8から出力が送出され、書込回
路10によりその集団のアドレスの記憶内容が前
の集団のドツト情報に合わせられる。
In the comparison circuit 7, the above-mentioned conditions are determined.
That is, it is checked whether either r/s or t/s is a larger number than a threshold value. Practically, a value of "3" to "5" is appropriate as the threshold value. When one of these is a large number, an output is sent from the comparison circuit 7, and the comparison circuit 8 determines the above-mentioned condition. That is, it is determined whether the other of r/s or t/s other than the one determined to be a large number by the comparator circuit 7 is "0". If it is "0", an output is sent from the comparison circuit 8, and the write circuit 10 matches the stored contents of the address of the group with the dot information of the previous group.

次に読出回路4が縦方向の情報を読出し、n1
1からn1=nまで各直線について同様の動作が行
われる。
Next, the readout circuit 4 reads out the information in the vertical direction, and n 1 =
A similar operation is performed for each straight line from 1 to n 1 =n.

〔発明の効果〕〔Effect of the invention〕

以上述べたように、本発明によれば線画の雑音
による凹凸を自動的に検出して修正する装置が得
られる。この装置は修正装置を指摘するために人
手を必要としないので、修正を極めて高速度に行
うことができる。
As described above, according to the present invention, it is possible to obtain a device that automatically detects and corrects irregularities caused by noise in line drawings. Since this device does not require human intervention to point out the correction device, corrections can be made very quickly.

上記例では図形の2値信号を黒または白とした
が、これはカラー信号あるいは三色別の信号であ
つても同様に本発明を実施することができる。ま
た記憶回路1についてはマトリクス状のメモリと
して説明したが、必要な情報が2値信号として蓄
積されるならばどのようなものでもよい。その符
号化方式についても、各線毎に同値の集団を検出
することから、ランレングス符号化方式等を使用
すれば、記憶回路が効率的に利用することができ
る。
In the above example, the binary signal of the figure is black or white, but the present invention can be similarly implemented even if it is a color signal or a signal of three different colors. Furthermore, although the memory circuit 1 has been described as a matrix memory, it may be of any type as long as the necessary information is stored as a binary signal. Regarding the encoding method, since groups of the same value are detected for each line, if a run-length encoding method or the like is used, the storage circuit can be used efficiently.

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

第1図は本発明の原理を説明するための表示図
形の一例。第2図は本発明実施例装置の回路構成
図。 1……記憶回路、2……制御回路、3,4……
読出回路、5……スイツチ回路、6……除算回
路、7,8……比較回路、9……アンド回路、1
0……書込回路、11……スイツチ回路。
FIG. 1 is an example of a display graphic for explaining the principle of the present invention. FIG. 2 is a circuit diagram of a device according to an embodiment of the present invention. 1... Memory circuit, 2... Control circuit, 3, 4...
Readout circuit, 5... Switch circuit, 6... Division circuit, 7, 8... Comparison circuit, 9... AND circuit, 1
0...Write circuit, 11...Switch circuit.

Claims (1)

【特許請求の範囲】 1 表示画面がm×n個のマトリクス状のドツト
により構成される2値信号による図形の修正処理
装置において、 座標m1なる直線上の同一ドツト情報の集団の
ドツト数sを読出す手段と、 その直線に隣接する座標 m1−1 および m1+1 なる直線上で上記集団に接続するドツトについて
上記集団のドツト情報と同一のドツト情報を有す
る集団のドツトの数rおよびtを読出す手段と、 rまたはtの一方のみにsより大きいものがあ
ることを判定する手段と、 この判定の結果が肯定であるときにrまたはt
の一方が「0」であることを判定する手段と、 上記2つの判定がともに肯定であるとき上記集
団を属するs個のドツト情報を反転する手段と を備えたことを特徴とする線画自動修正装置。
[Claims] 1. In a figure correction processing device using a binary signal whose display screen is composed of m×n matrix-like dots, the number s of dots in a group of identical dot information on a straight line with coordinates m 1 a number r of dots in the group having the same dot information as that of the group for dots connected to the group on a straight line with coordinates m 1 -1 and m 1 +1 adjacent to the straight line; means for reading t; means for determining that only one of r or t is greater than s;
A line drawing automatic correction characterized by comprising: means for determining that one of the above two determinations is "0"; and means for inverting information on s dots belonging to the above group when both of the above two determinations are positive. Device.
JP2801778A 1978-03-10 1978-03-10 Automatic line-drawing correcting processor Granted JPS54120535A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2801778A JPS54120535A (en) 1978-03-10 1978-03-10 Automatic line-drawing correcting processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2801778A JPS54120535A (en) 1978-03-10 1978-03-10 Automatic line-drawing correcting processor

Publications (2)

Publication Number Publication Date
JPS54120535A JPS54120535A (en) 1979-09-19
JPS6113257B2 true JPS6113257B2 (en) 1986-04-12

Family

ID=12236982

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2801778A Granted JPS54120535A (en) 1978-03-10 1978-03-10 Automatic line-drawing correcting processor

Country Status (1)

Country Link
JP (1) JPS54120535A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4392120A (en) * 1978-10-30 1983-07-05 A. Aoki & Associates Pattern inspection system
JPS58197582A (en) * 1982-05-14 1983-11-17 Hitachi Ltd Smoothing method of recognized pattern

Also Published As

Publication number Publication date
JPS54120535A (en) 1979-09-19

Similar Documents

Publication Publication Date Title
US4691238A (en) Method and apparatus of storing image data into a memory in a layout scanner system
JPH04296163A (en) Automatic picture/character separating apparatus for image information and method thereof
US4607340A (en) Line smoothing circuit for graphic display units
JP3308675B2 (en) Encoding device
JPS6113257B2 (en)
JPS58222382A (en) Image tilt correction method
JPH0560297B2 (en)
JPS6226635B2 (en)
JPH06189135A (en) Device for detection and correction of flaw of digitization picture
JP2921685B2 (en) Image data correction device
JPS589469A (en) Correcting system of picture signal
JPS63104187A (en) Area specification system
JP3303990B2 (en) Image signal processing device
JP2985303B2 (en) Recording device area recognition method
JPS6094576A (en) Image signal processing processor
JPS6389987A (en) Pattern drawing method
JPH04301971A (en) Method for binarizing gradation image
JPS62179070A (en) Memory method of buffer memory in image display device
JPS6285574A (en) Binary coding circuit
JPH0461472A (en) Picture processor
JPH0425749B2 (en)
JPS60180378A (en) Multi-color original reader
JPH0371326A (en) Scanning adding device
JPS62245862A (en) Picture processor
JPH056428A (en) Image processing labeling circuit