JPS59158481A - Method and apparatus for reading optically diagram - Google Patents

Method and apparatus for reading optically diagram

Info

Publication number
JPS59158481A
JPS59158481A JP58033073A JP3307383A JPS59158481A JP S59158481 A JPS59158481 A JP S59158481A JP 58033073 A JP58033073 A JP 58033073A JP 3307383 A JP3307383 A JP 3307383A JP S59158481 A JPS59158481 A JP S59158481A
Authority
JP
Japan
Prior art keywords
chromaticity
point
signal
outputs
color
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
JP58033073A
Other languages
Japanese (ja)
Inventor
Kazumitsu Yoshikawa
吉川 和光
Masaharu Kitayama
北山 雅治
Kikuji Miyazaki
宮崎 喜久次
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
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP58033073A priority Critical patent/JPS59158481A/en
Publication of JPS59158481A publication Critical patent/JPS59158481A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)

Abstract

PURPOSE:To read clearly only an indicating line described by a writing tool by discriminating whether or not a reading a point is point on a ruled line printed by dropout color so as to control the binary-coding of a lightness signal. CONSTITUTION:A scanner 4 has three primary color (red, green and blue) filters and outputs R, G, B signals respectively. A lightness operating circuit 5 outputs a lightness signal W by performing the operatin of W=R+G+B. A chromaticity operating circuit 6 outputs chromaticity coordinate signals X, Y by performing the operation of X=R/W and Y=G/W. A discriminating circuit 7 consists of window comparators 9, 10 and AND gate 11, a binary-coding circuit 12, and an OR gate 13, discriminates from the signals W, X, Y whether or not a reading point on an objective diagram is a point on the indicating line described by a writing tool such as pencil while exluding the effect of dropout color, and outputs 1 when the reading point is on the indicating line and 0 when the point is on the indicating line to an output terminal 8.

Description

【発明の詳細な説明】 本発明は、図面上に緑、赤、青等のドロップアウトカラ
ーで印刷された罫線等を確実に読み飛ばして、えんぴつ
等の筆記用具で記された表記線のみを読取ることのでき
る光学式図面読取り方法および装置に関するものである
DETAILED DESCRIPTION OF THE INVENTION The present invention reliably skips ruled lines printed in dropout colors such as green, red, and blue on drawings, and only reads marked lines marked with a writing instrument such as a pencil. The present invention relates to an optical drawing reading method and apparatus.

従来、電気回路図、フローチャート図、アートワーク図
等の図面を、コンピュータによって自動認識するために
、図面を走査し、コンピュータ等に入力する装置は、第
1図に一例を示すようなものであった。該図面は、電気
回路図、フローチャート図、アートワーク図等を表記す
るのを補助するために、緑、赤、青等のドロップアウト
カラーで罫線等が印刷された用紙を用い、該用紙上にえ
んぴつ等の筆記用具で、記入されたものである。
Conventionally, in order to automatically recognize drawings such as electrical circuit diagrams, flow charts, artwork drawings, etc. by a computer, there has been a device that scans drawings and inputs them into a computer, an example of which is shown in Fig. 1. Ta. The drawings are made using paper with ruled lines printed in dropout colors such as green, red, and blue to assist in notation of electrical circuit diagrams, flow charts, artwork diagrams, etc. The information was filled out using a writing utensil such as a pencil.

該図面をコンピュータ等に入力するに際しては、入力信
号からドロップアウトカラーの信号を完全に除去し、え
んぴつ等の筆記用具で記入した表記線の信号だけを入力
する必要がある。
When inputting the drawing into a computer or the like, it is necessary to completely remove the dropout color signal from the input signal and input only the signal of the marking lines drawn with a writing instrument such as a pencil.

第1図において、スキャナ1は、主走査を回転方向tこ
行い、副走査を回転軸方向に行うドラムスキャナや、主
走査をCOD等のラインセンサで行うファクシミリ型ス
キャナが一般的であり、その場合、図面中のドロップア
ウトカラーを読み飛ばすために、色ガラスフィルタや光
干渉フィルタ等の光学フィルタを使用している。この光
学フィルタは、図面用紙に印刷されたドロップアウトカ
ラーの色に応じて使い分けられる。例えばドロップアウ
トカラーが緑のときには、緑の色の光のみを通過させる
光学フィルタを用いろ。スキャナ1の出力信号は、この
ような光学フィルタを通過した単色光の強度を光電変換
によって電気信号に変換した信号である。
In FIG. 1, the scanner 1 is generally a drum scanner that performs main scanning in the rotational direction t and subscanning in the rotational axis direction, or a facsimile type scanner that performs main scanning with a line sensor such as a COD. In this case, optical filters such as colored glass filters and optical interference filters are used to ignore dropout colors in drawings. This optical filter is used depending on the color of the dropout color printed on the drawing paper. For example, if the dropout color is green, use an optical filter that only passes green light. The output signal of the scanner 1 is a signal obtained by photoelectrically converting the intensity of monochromatic light that has passed through such an optical filter into an electrical signal.

二値化回路2はスキャナ1の出力信号がある値を超えた
ら1を、ある値以下だったら0を出力端子3に出力する
The binarization circuit 2 outputs 1 to the output terminal 3 if the output signal of the scanner 1 exceeds a certain value, and outputs 0 if the output signal is below a certain value.

しかしながら従来の第1図の方法では、ドロップアウト
カラーの印刷色が変更されるL1光学フィルタを交換せ
ねばならないという欠点があり、また、ドロップアウト
カラーの印刷色の明度が低(3) い場合には、えんぴつ等の筆記用具によって記入された
表記線との弁別が困難となり、ドロップアウトカラーを
確実に読み飛ばすことと、表記線を明瞭に読み取ること
とが背反し、両立し得なくなるという欠点があった。
However, the conventional method shown in Fig. 1 has the disadvantage that the L1 optical filter, which changes the printed color of the dropout color, must be replaced, and also when the brightness of the printed color of the dropout color is low (3). The disadvantage is that it becomes difficult to distinguish the marking lines drawn with a writing instrument such as a pencil, and the ability to reliably read the dropout color and the clear reading of the marking lines are contradictory and cannot be compatible. was there.

本発明の目的は、このような従来の欠点を除去せしめて
、図面上のドロップアウトカラーを確実に読み飛ばして
、えんぴつ等の筆記用具で記された表記線のみを明瞭に
読取ることができ、ドロップアウトカラーの変更に対し
ても光学フィルタの変更等なしに容易に対処し得る方法
および装置を提供することにある。
The purpose of the present invention is to eliminate such conventional drawbacks, to be able to reliably read the dropout colors on the drawing, and to clearly read only the marking lines marked with a writing instrument such as a pencil. It is an object of the present invention to provide a method and a device that can easily handle changes in dropout color without changing optical filters.

本発明によれば、読取り対象図面を走査し複数の色信号
を得るためのスキャナと、複数の色信号から明度信号を
算出する明度演算回路と、色度信号を算出する色度演算
回路と、色度信号が色度座標上で矩形領域内にあるか否
かを判定し、明度信号の二値化を制御する判定回路とを
備えたことを特徴とする光学式図面読取り方法および装
置が得られる。
According to the present invention, a scanner for scanning a drawing to be read and obtaining a plurality of color signals, a brightness calculation circuit for calculating a brightness signal from a plurality of color signals, a chromaticity calculation circuit for calculating a chromaticity signal, An optical drawing reading method and apparatus are provided, comprising a determination circuit that determines whether a chromaticity signal is within a rectangular area on chromaticity coordinates and controls binarization of a brightness signal. It will be done.

(4) 以下、本発明について実施例を示す図面を参照して説明
する。
(4) Hereinafter, the present invention will be described with reference to drawings showing embodiments.

第2図は一実施例を示すブロック図で、スキャナ4はス
キャナ1と異なり、赤、緑、青の3原色のフィルタを有
し、それぞれRSG、 B信号として出力する。明度演
算回路5はW=R十G−)−Bのことによって色度座標
信号X、Yを出力する。判定回路7は、ウィンドコンパ
レータ9 、10 、 ANDゲート11.二値化回路
12.OR,ゲート13から成り、w、x、yの信号か
ら、対象図面上の読取り点がえんぴつ等の薙記用具で記
された表記線上の点か否かを、ドロップアウトカラーの
影響を排除して判定し、無表記なら1、表記線上なら0
を出力端子8に出力する。
FIG. 2 is a block diagram showing one embodiment. Scanner 4, unlike scanner 1, has filters for the three primary colors of red, green, and blue, and outputs them as RSG and B signals, respectively. The brightness calculation circuit 5 outputs chromaticity coordinate signals X and Y based on W=R+G-)-B. The determination circuit 7 includes window comparators 9, 10, AND gates 11. Binarization circuit 12. It consists of an OR gate 13, and determines from the w, x, and y signals whether or not a reading point on the target drawing is on a marking line marked with a marking tool such as a pencil, eliminating the influence of dropout colors. 1 if there is no notation, 0 if it is on the notation line
is output to output terminal 8.

ウィンドコンパレータ9は入力信号がX、<X<為の範
囲にある時だけ1を出力する。ウィンドコンパレータ1
0は入力信号がYl<Y<Y2の範囲にある時だけ1を
出力する。これらの出力を受けて、(5) AND ゲート11は色度座標X、Yが、X、<X<為
かつy、< y < y、のときだけ1を出力する。す
なわち、第3図に示す色度座標上の斜線で示した範囲だ
けANDゲート11は1を出力する。
The window comparator 9 outputs 1 only when the input signal is in the range of X, <X<. Window comparator 1
0 outputs 1 only when the input signal is in the range of Yl<Y<Y2. In response to these outputs, (5) AND gate 11 outputs 1 only when the chromaticity coordinates X and Y satisfy X, <X< and y, < y < y. That is, the AND gate 11 outputs 1 only in the shaded range on the chromaticity coordinate shown in FIG.

二値化回路12は明度信号Wがある値を超えたら1を、
ある値以下だったらOを出力する。ORゲート13はこ
の信号を受けて、二値化回路12の出力が0で、かつA
NDゲート11の出力が0のときだけ、出力端子8にO
を出力する。
The binarization circuit 12 sets 1 when the brightness signal W exceeds a certain value.
If it is less than a certain value, output O. The OR gate 13 receives this signal, and if the output of the binarization circuit 12 is 0 and A
Only when the output of the ND gate 11 is 0, the output terminal 8 is
Output.

ドロップアウトカラーの印刷色の色相のばらつきが第3
図の斜線内に全て分布するようにすれば、もし、明度信
号Wだけを見て、ドロップアウトカラーなのか表記線な
のか判断がつかない場合でも、色度座標信号X、Yが第
3図の斜線内にある場合には、ドロップアウトカラーで
あって表記線でないと判定される。このことから、しき
い値回路12のしきい値を余裕をもって設定することが
できるので、従来の方法では互いに背反し両立が困難だ
った、ドロップアウトカラーを確実に読み飛ばすことと
、表記線を明瞭に読取ることとが、矛盾な(6) く実現できる。また、ドロップアウトカラー色の変更に
対しては単に、Xl、 Yt 、 X2. Yt の値
を変更することによって対処可能となる。
The third problem is the variation in the hue of the print color of the dropout color.
If all the distribution is within the diagonal lines in the figure, even if it is difficult to determine whether it is a dropout color or a marking line by looking only at the brightness signal W, the chromaticity coordinate signals X and Y will be as shown in Figure 3. If the color is within the diagonal line, it is determined that the color is a dropout color and not a marking line. As a result, the threshold value of the threshold circuit 12 can be set with a margin, which makes it possible to reliably skip dropout colors and mark lines, which are contradictory to each other and difficult to achieve with conventional methods. It is possible to achieve clear reading without contradicting (6). Also, for changing the dropout color, simply use Xl, Yt, X2. This can be handled by changing the value of Yt.

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

第1図は従来の光学式図面読取り装置の一例のブロック
図、第2図は本発明の一実施例を示すブロック図、第3
図は色度座標図、1,4はスキャナ、2.12は二値化
回路、3,8は出力端子、5は明度演算回路、6は色度
演算回路、7は判定回路、9,10はウィンドコンパレ
ータ、11はANDゲート、13はORゲートである。 (7) 亭 1 図 惇 2 図 XlX2          X
FIG. 1 is a block diagram of an example of a conventional optical drawing reading device, FIG. 2 is a block diagram showing an embodiment of the present invention, and FIG.
The figure is a chromaticity coordinate diagram, 1 and 4 are scanners, 2.12 are binarization circuits, 3 and 8 are output terminals, 5 is brightness calculation circuit, 6 is chromaticity calculation circuit, 7 is judgment circuit, 9 and 10 is a window comparator, 11 is an AND gate, and 13 is an OR gate. (7) Pavilion 1 Diagram 2 Diagram XlX2 X

Claims (1)

【特許請求の範囲】 1、読取り対象図面を走査することにより得られた複数
の色信号から明度信号と色度信号を検出し、前記色度信
号の示す色度座標によって対象図面の読取り点が、ドロ
ップアウトカラーで印刷された罫線上の点であるか否か
を判定し、これによって前記明度信号の二値化を制御す
ることを特徴とする光学式図面読取り方法。 2、読取り対象図面を走査し、複数の色信号を得るため
のスキャナと、前記複数の色信号から明度信号を算出す
る明度演算回路と、前記複数の色信号から色度信号を算
出する色度演算回路と、前記色度信号が色度座標上で矩
形領域内にあるか否かを判定し、前記明度信号の二値化
を制御する判定回路とを備えたことを特徴とする光学式
図面読取り装置。
[Claims] 1. A brightness signal and a chromaticity signal are detected from a plurality of color signals obtained by scanning a drawing to be read, and a reading point in the drawing to be read is determined based on the chromaticity coordinates indicated by the chromaticity signal. , an optical drawing reading method characterized by determining whether or not the point is on a ruled line printed in a dropout color, and controlling binarization of the brightness signal based on this. 2. A scanner for scanning a drawing to be read and obtaining a plurality of color signals, a brightness calculation circuit for calculating a brightness signal from the plurality of color signals, and a chromaticity for calculating a chromaticity signal from the plurality of color signals. An optical drawing characterized in that it includes an arithmetic circuit and a determination circuit that determines whether the chromaticity signal is within a rectangular area on chromaticity coordinates and controls binarization of the brightness signal. reader.
JP58033073A 1983-03-01 1983-03-01 Method and apparatus for reading optically diagram Pending JPS59158481A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58033073A JPS59158481A (en) 1983-03-01 1983-03-01 Method and apparatus for reading optically diagram

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58033073A JPS59158481A (en) 1983-03-01 1983-03-01 Method and apparatus for reading optically diagram

Publications (1)

Publication Number Publication Date
JPS59158481A true JPS59158481A (en) 1984-09-07

Family

ID=12376542

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58033073A Pending JPS59158481A (en) 1983-03-01 1983-03-01 Method and apparatus for reading optically diagram

Country Status (1)

Country Link
JP (1) JPS59158481A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01166173A (en) * 1987-12-23 1989-06-30 Hitachi Ltd Image reader
EP0375090A2 (en) * 1988-12-21 1990-06-27 Recognition International Inc. Document processing system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01166173A (en) * 1987-12-23 1989-06-30 Hitachi Ltd Image reader
EP0375090A2 (en) * 1988-12-21 1990-06-27 Recognition International Inc. Document processing system

Similar Documents

Publication Publication Date Title
JPH0497657A (en) Area separating device for color picture
US4577218A (en) Color separating circuit for producing red and black signals
JPH0722330B2 (en) Image region identification method for image processing apparatus
KR20080088266A (en) Image forming apparatus and control method thereof
JP3344771B2 (en) Color image processing equipment
JPS59158481A (en) Method and apparatus for reading optically diagram
JPH0454681A (en) Color picture processor
JPH03270382A (en) Image processing method
JP2004320447A (en) Image processing apparatus, image processing method, and program for execution by computer
JP2006262050A (en) Image processor, color image forming apparatus, and image processing method
JPS62101179A (en) Picture information processor
JPH0541796A (en) Copying machine
JP3604741B2 (en) Image processing apparatus and image processing method thereof
JP4578004B2 (en) Scanner and binarization method by controlling light source color of scanner
JPH0448869A (en) Color erasing device
JP3424422B2 (en) Image processing device
JPH03191677A (en) Color image processor
JP3096500B2 (en) Image input device
JPH03270383A (en) Image processing method
JPH08212294A (en) Optical character reader
JPH01269957A (en) Image forming device
JPH0364268A (en) Color copying device
JPH0410869A (en) Color erasure
JPS6297468A (en) Method and device for processing image
JPH0715601A (en) Image processor