JPS6238347A - Image processor - Google Patents

Image processor

Info

Publication number
JPS6238347A
JPS6238347A JP60178901A JP17890185A JPS6238347A JP S6238347 A JPS6238347 A JP S6238347A JP 60178901 A JP60178901 A JP 60178901A JP 17890185 A JP17890185 A JP 17890185A JP S6238347 A JPS6238347 A JP S6238347A
Authority
JP
Japan
Prior art keywords
information
scanner
binary
image processing
image
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
JP60178901A
Other languages
Japanese (ja)
Inventor
Shinichi Furuya
伸一 古谷
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 JP60178901A priority Critical patent/JPS6238347A/en
Publication of JPS6238347A publication Critical patent/JPS6238347A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Image Analysis (AREA)
  • Length Measuring Devices By Optical Means (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

Abstract

PURPOSE:To shorten an image processing time and to reduce the capacity of an image storage memory by converting image information from analog to digital into a binary signal and compressing binary-coded information of every picture properly. CONSTITUTION:A two-dimensional scanner 3 is moved by an XY two-axis robot 4 in a device which measure an image pattern on paper, etc., so as to cover the entire area on a body to be measured which is paper, etc., (obtained by photographing a flaw made in, for example, a manufacture process of metal). Then, the video signal output of the scanner 3 is converted by an A/D converting circuit 5 into a multi-valued signal, which is then converted into a binary signal by a binary-coding circuit 6 which employs a mode method, etc. Further, the binary-coded information is compressed by a compressing circuit 7. This compressed information is sent to an image processing circuit 8, which fetches information of every visual field and then sends a next movement instruction to the robot 4. This operation is performed repeatedly as many time as the number of times of compression and then an image processing circuit 8 outputs the number and area of flaws to the outside.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は紙葉類上の画像パターンの計測を行う画像処理
装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an image processing device that measures image patterns on paper sheets.

〔従来の技術〕[Conventional technology]

従来、紙Ii類上の画像パターンからその個々の破片面
積あるいは個数等の計測は人手によって計数されていた
Conventionally, the area or number of individual fragments has been counted manually from the image pattern on paper II.

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

]−述した従来の人間による計測では、個々の人間の熟
諌度あるいは疲労度によって計測誤差が発生したり、ま
た面積の計測においては時間がかかるという欠点がある
。この欠点を取り除くため、種々の画像処理装置が提案
された。ところが、通常の画像処理装置においてはその
測定領域は固定となっており、また1画面当りの処理を
高速で行うほど価格が高価となっていた。従って、広い
領域の計測を行う時はスキャナと被J11定物の距離を
敲して測定するか、スキャナと被測定物の距離は固定の
まま被測定物あるいはスキャナを移動させ、(全測定領
域÷1画面当りの測定領域)の回数で処理を行なってい
た。この場合も前者においては分解能が低rするため測
定精度が低下するという欠点があり、後者の場合におい
ては時間がかかるほか、移動誤差によって1画面ごとの
測定領域に若丁のずれが生じ、その補正のための時間が
さらにかかるという欠点があった。
]-The conventional human measurements described above have the drawbacks that measurement errors occur depending on the level of inexperience or fatigue of the individual, and that it takes time to measure the area. Various image processing devices have been proposed to eliminate this drawback. However, in a typical image processing device, the measurement area is fixed, and the higher the processing speed per screen, the higher the price. Therefore, when measuring a wide area, either adjust the distance between the scanner and the object to be measured, or move the object or scanner while keeping the distance between the scanner and the object fixed (all measurement areas Processing was performed at a frequency of ÷measurement area per screen). In this case as well, the former has the disadvantage that the measurement accuracy is reduced due to the low resolution, while the latter takes time, and movement errors cause small shifts in the measurement area for each screen. This has the disadvantage that it takes more time for correction.

〔問題点を解決するための手段〕[Means for solving problems]

本発明の画像処理装置は1紙葉類を2次元的に走査する
2次元走査型のスキャナと、スキャナを紙葉類の2次元
方向に移動させる移動手段と、スキャナの出力をA/D
変換する手段と、A/D変換によって得られた原画情報
により2値化のための閾値を求める手段と、(最大測定
領域÷1画面当りのA一定領域)の面積比に応じて1画
面当りの2値化情報を圧縮する手段とを有している。
The image processing device of the present invention includes a two-dimensional scanning type scanner that scans one paper sheet two-dimensionally, a moving means that moves the scanner in the two-dimensional direction of the paper sheet, and an A/D converter that converts the output of the scanner into an A/D converter.
means for converting, means for determining a threshold value for binarization from the original image information obtained by A/D conversion, and a means for determining a threshold value for binarization based on the original image information obtained by A/D conversion, and means for compressing the binarized information.

このように、画像情報をA/D変換し、2値化し、そし
て適切に圧縮を行なうことにより、画像処理時間が短縮
され、画像記憶メモリの容微か減少する。
In this way, by A/D converting the image information, binarizing it, and appropriately compressing it, the image processing time is shortened and the image storage memory capacity is slightly reduced.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して説明する
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の画像処理装置の一実施例の構成図、第
2図は被測定物lを示す図である。
FIG. 1 is a block diagram of an embodiment of an image processing apparatus of the present invention, and FIG. 2 is a diagram showing an object to be measured l.

被測定物lは例えば金属の製造工程で発生する傷を撮影
したものとする。なお、本実施例は具体例として金属表
面傷について述べたものであってその他の応用、例えば
細胞境界の抽出会測定等にも+r(能であるのは当然で
ある。そして、被測定物lはその大きさがXPIAx 
X YM^Iの大きさを有するものとし、他方後述する
2次元走査型スキャナ3はその分解能からX5canX
 Yscanの大きさしかないものとする。ここで、被
測定物lに傷2a。
Assume that the object to be measured l is, for example, a photograph of a flaw that occurs in a metal manufacturing process. Note that this example describes scratches on metal surfaces as a specific example, and it is natural that it can also be applied to other applications, such as the extraction measurement of cell boundaries. has a size of XPIAx
The size of the two-dimensional scanning scanner 3, which will be described later, has a size of X YM^I.
Assume that there is only the size of Yscan. Here, there is a flaw 2a on the object to be measured l.

2b、2c、2d、2e、2fがあり、その総数および
傷の面積を計δ調するためには第2図に示したような2
次元走査型のスキャナ3をXY2軸ロボロボット4って
被測定物lの全領域(XM^!IIYMAりをカバーす
るように移動させる。なお、XM^!;looms、 
 YMA!  =  100mm、  X5can= 
 long、  Yscan  =  10m■とじ、
2次元走査型のスキャナ3は1024X 1024の分
解能を有するものとすると、このまま繰り返し測定した
のでは必要な画像記憶情報量がXNA xm Ynax
 / X5cana Yscan X l024X l
024= 108メガバイト以上となるばかりでなく画
像処理に要する時間も極めて長時間必要となってしまう
。そこで、2次元走査型のスキャナ3のビデオ信号出力
をA/D変換回路5によって多値化し、次にモード法等
を使用した2値化回路6によって2値化を行う0次に2
値化された情報を圧縮回路7によって情報圧縮を行う、
なお、圧縮比はX5can/XMA !がX方向Ysc
an/ YsAxとする。ただし。
There are 2b, 2c, 2d, 2e, and 2f, and in order to calculate the total number and area of scratches, use 2 as shown in Figure 2.
A dimensional scanning type scanner 3 is moved by an XY two-axis robot 4 so as to cover the entire area (XM^!IIYMA) of the object to be measured.
YMA! = 100mm, X5can=
long, Yscan = 10m■ binding,
Assuming that the two-dimensional scanning type scanner 3 has a resolution of 1024 x 1024, the amount of image storage information required is XNA x m Ynax if repeated measurements are made as is.
/ X5cana Yscan X l024X l
024= Not only is the size greater than 108 megabytes, but the time required for image processing is also extremely long. Therefore, the video signal output of the two-dimensional scanning type scanner 3 is multivalued by the A/D conversion circuit 5, and then binarized by the binarization circuit 6 using the mode method or the like.
The digitized information is compressed by a compression circuit 7.
The compression ratio is X5can/XMA! is the X direction Ysc
Let it be an/YsAx. however.

この圧縮比は画像記憶可能情報量等によって変化させて
も良い、また、圧縮は被測定物によって次のように変化
させるのが望ましい、まず被測定物lは通常傷がないも
のであり、傷のない部分(地色)を白、傷の部分を黒と
すると、傷のある部分は総面積に比較すると少なくなる
。従って、この場合は黒を優先する。なお、この例と逆
の場合においては白を優先させる。この黒を優先させる
とは先に述べた本実施例における圧縮率X方向1/10
、Y方向1/10(7)IIは原2値化情報をX方向1
0画素、Y方向10画素の中にある一定以上黒があった
時圧縮結果を黒とするという方法をとることを示す、な
お、この圧縮を行うことによりA/D変換あるいは2(
In化の時に濃度差がとれないために生じる線のかすれ
等が補1できる他、ロボット4の移動誤差による1画面
ごとの視野ずれも補正ができる。この圧縮された情報は
画像処理回路8に送られ、画像処理回路8はl視野ごと
の情報が取りこんだ後に次の移動命令をXYZ軸ロボロ
ボット4る。この操作を圧縮面数行なった後1画像処理
回路8は傷の個数、面積を外部へ出力する。なお、この
ような傷等はある一定以−ヒの大きさの面積情報を必要
とする時はこのままでも良いが、もしより精度をヒげた
い時は、圧縮情報に基づいて2次元走査型のスキャナ3
を傷の中心まで移動させ、圧縮回路7を経由せずに処理
すれば良い。
This compression ratio may be changed depending on the amount of information that can be stored in the image, etc. It is also desirable to change the compression as follows depending on the object to be measured. If the part without scratches (ground color) is white and the scratched part black, the scratched part will be smaller compared to the total area. Therefore, in this case, priority is given to black. Note that in the opposite case to this example, priority is given to white. Giving priority to black means that the compression ratio in this embodiment described above is 1/10 in the X direction.
, Y direction 1/10 (7) II converts the original binarized information to X direction 1
This indicates that a method is used in which the compression result is black when there is black above a certain level in 0 pixel and 10 pixels in the Y direction. By performing this compression, A/D conversion or 2 (
In addition to compensating for lines that are blurred due to the inability to correct density differences during indium conversion, it is also possible to compensate for deviations in the field of view for each screen due to movement errors of the robot 4. This compressed information is sent to the image processing circuit 8, and after the image processing circuit 8 has taken in the information for each field of view, it issues the next movement command to the XYZ axis robot robot 4. After performing this operation for the number of compressed surfaces, the image processing circuit 8 outputs the number and area of scratches to the outside. Note that if you need area information of a certain size for such scratches, you can leave it as is, but if you want to increase the accuracy, you can use a two-dimensional scanning type based on compressed information. scanner 3
It is sufficient to move the image to the center of the flaw and process it without going through the compression circuit 7.

C発IJJの効果〕 以り説明したように本発明は、画像情報をA/D変換し
、2値化し、そして適切に圧縮を行うことにより1画像
処理時間の短縮、画像記憶メモリの減少という効果があ
る。
Effects of IJJ from C] As explained above, the present invention reduces the processing time for one image and reduces the image storage memory by A/D converting image information, binarizing it, and appropriately compressing it. effective.

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

第1図は本発明の画像処理装置の一実施例の構成IA、
第214は被測定物lの平面図である。 l・・・被測定物、 2a、2b、2c、2d、2e、2f ・−傷、3・・
・2次元走査型スキャナ。 4・・・XYZ軸ロボロボッ ト・・・A/D変換回路、 6・・・2値化回路、 7・・・圧縮回路。 8・・・画像処理回路。
FIG. 1 shows the configuration IA of an embodiment of the image processing device of the present invention.
214 is a plan view of the object to be measured l. l...Object to be measured, 2a, 2b, 2c, 2d, 2e, 2f - Scratch, 3...
・Two-dimensional scanning scanner. 4...XYZ axis robo robot...A/D conversion circuit, 6...Binarization circuit, 7...Compression circuit. 8... Image processing circuit.

Claims (1)

【特許請求の範囲】[Claims] 紙葉類上の画像パターンの計測を行う装置において、前
記紙葉類を2次元的に走査する2次元走査型のスキャナ
と、スキャナを前記紙葉類の2次元方向に移動させる移
動手段と、スキャナの出力をA/D変換する手段と、A
/D変換によって得られた原画情報より2値化のための
閾値を求める手段と、2値化情報を最大計測領域と2次
元走査型のスキャナの視野領域の面積比に応じて圧縮す
る手段を備えたことを特徴とする画像処理装置。
A device for measuring image patterns on paper sheets, comprising: a two-dimensional scanning scanner that scans the paper sheets two-dimensionally; and a moving means that moves the scanner in the two-dimensional direction of the paper sheets; means for A/D converting the output of the scanner;
A means for determining a threshold value for binarization from the original image information obtained by /D conversion, and a means for compressing the binarized information according to the area ratio between the maximum measurement area and the viewing area of a two-dimensional scanning type scanner. An image processing device comprising:
JP60178901A 1985-08-13 1985-08-13 Image processor Pending JPS6238347A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60178901A JPS6238347A (en) 1985-08-13 1985-08-13 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60178901A JPS6238347A (en) 1985-08-13 1985-08-13 Image processor

Publications (1)

Publication Number Publication Date
JPS6238347A true JPS6238347A (en) 1987-02-19

Family

ID=16056665

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60178901A Pending JPS6238347A (en) 1985-08-13 1985-08-13 Image processor

Country Status (1)

Country Link
JP (1) JPS6238347A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04277877A (en) * 1991-03-05 1992-10-02 Hamamatsu Photonics Kk Picture processor
JPH07113753A (en) * 1993-10-15 1995-05-02 Touyoko Erumesu:Kk Crack measuring device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04277877A (en) * 1991-03-05 1992-10-02 Hamamatsu Photonics Kk Picture processor
JPH07113753A (en) * 1993-10-15 1995-05-02 Touyoko Erumesu:Kk Crack measuring device

Similar Documents

Publication Publication Date Title
JP3005296B2 (en) Rotate run-length coded images
JPH041866A (en) Method and device for image processing
JPS6238347A (en) Image processor
JPH05161002A (en) Original reader
JP2776234B2 (en) Indentation type hardness measuring device
JP3598196B2 (en) Periodic pattern defect inspection equipment
JP2925707B2 (en) Edge feature measurement method
JPH02277186A (en) Binarizing device
JPS6310277A (en) Picture quality inspection device
JPH064670A (en) Pattern matching device for gradation picture
JPH07170372A (en) Image reader and facsimile equipment using the same
JP2008205603A (en) Image processing apparatus and image processing method
JPS62128666A (en) Picture input device
JPH07298011A (en) Handy scanner
JPS63775A (en) Linear graphic display method
JPH0346044B2 (en)
JPS6218168A (en) Picture input device
JPH04113776A (en) Picture reader
JPH04222068A (en) Image processor
JPH0436643A (en) Tablet inspection device
JPH0740719B2 (en) Document reader
JPH03226178A (en) Gradation conversion processing unit
JPH087112A (en) Edge detecting method
JPS60236582A (en) Picture signal quantizing system
JPS60140349A (en) Original picture restoring method of net point picture