JPS63181521A - Floating binarization system - Google Patents
Floating binarization systemInfo
- Publication number
- JPS63181521A JPS63181521A JP62013356A JP1335687A JPS63181521A JP S63181521 A JPS63181521 A JP S63181521A JP 62013356 A JP62013356 A JP 62013356A JP 1335687 A JP1335687 A JP 1335687A JP S63181521 A JPS63181521 A JP S63181521A
- Authority
- JP
- Japan
- Prior art keywords
- signal
- differential
- binarization
- time
- value
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 claims abstract description 7
- 238000005286 illumination Methods 0.000 abstract description 3
- 230000004069 differentiation Effects 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 4
- 238000003384 imaging method Methods 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000006866 deterioration Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
Abstract
Description
【発明の詳細な説明】
(技術分野)
本発明はTVカメラ等の撮像装置から得られろ信号を精
度良く2値化するための浮動2値化方式に関する。DETAILED DESCRIPTION OF THE INVENTION (Technical Field) The present invention relates to a floating binarization method for accurately binarizing signals obtained from an imaging device such as a TV camera.
(背景技術)
第3図(イ)に示すような文字パターンや配線パターン
等をTVカメラ等の撮像装置でa像した場合、理想的に
は(ロ)のような映像信号(1スキャン分の映像信号を
示している。)が得られる。つじかし、一般には照明ム
ラやシェーディング等の影響により、(ハ)に示すよう
に歪を含んt!信号波形が得られることが多い。(Background technology) When a character pattern, wiring pattern, etc. shown in Figure 3 (a) is captured as an image by an imaging device such as a TV camera, ideally the video signal (for one scan) as shown in (b) is ) is obtained. Generally, due to the effects of uneven lighting, shading, etc., distortion is included as shown in (c). Signal waveforms are often obtained.
ところで、従来の2値化方式では固定の2値化しきい値
により2値化したり、あるいは浮動2値化しきい値を採
用したとしても原信号に対して充分に追従しないもので
あったため、物体と背景とのエツジ部の信号の周波数成
分の変化により2値化精度が悪化したり、また、照明ム
ラやシェーディング等の影響を受けやすい等の欠点があ
った。By the way, in the conventional binarization method, even if a fixed binarization threshold is used or a floating binarization threshold is adopted, it does not follow the original signal sufficiently, so it is difficult to distinguish objects from objects. There are drawbacks such as deterioration of binarization accuracy due to changes in the frequency component of the signal at the edge with respect to the background, and susceptibility to the effects of uneven illumination, shading, and the like.
(発明の目的)
本発明(よ上記の点に鑑み提案されたものであり、その
目的とするところは、文字パターンや配線パターン等を
撮像した場合に得られる歪を含んだ映像信号についても
信号部のみを精度良く2値化することのできろ浮動2値
化方式を提供することにある。(Object of the Invention) The present invention has been proposed in view of the above-mentioned points, and its purpose is to provide a signal processing method for video signals containing distortion obtained when imaging character patterns, wiring patterns, etc. The object of the present invention is to provide a floating binarization method that can binarize only the parts with high precision.
(発明の開示) 以下、図面に沿って本発明を詳述する。(Disclosure of invention) Hereinafter, the present invention will be explained in detail along with the drawings.
第1図は本発明の浮動2値化方式により処理を受けて変
形して行く信号波形を示したものであり、以下、原信号
aを適切に2値化する浮動2値化しきい値すを求める手
順を説明する。Figure 1 shows a signal waveform that undergoes processing and deforms using the floating binarization method of the present invention. Explain the steps to find.
先ず、原信号aを一次微分し、微分値の絶対値を算出す
る。このとき、微分信号Cが得られる。この微分信号C
の波形の凸部は原信号aにおける波形のエツジ部分に相
当する。このエツジ部分を抽出するべく、適切な微分し
きい値dにより微分信号Cに対してしきい値処理を施す
。First, the original signal a is first differentiated, and the absolute value of the differential value is calculated. At this time, a differential signal C is obtained. This differential signal C
The convex portion of the waveform corresponds to the edge portion of the waveform in the original signal a. In order to extract this edge portion, threshold processing is performed on the differential signal C using an appropriate differential threshold value d.
この結果、微分2値化信号eが得られる。この微分2値
化信号eのハイレベルの期間の中央を抽出し、この時刻
をtlとする。時刻t1は原信号aにおけるエツジ部分
の中央部に相当する。As a result, a differential binary signal e is obtained. The center of the high level period of this differential binary signal e is extracted, and this time is set as tl. Time t1 corresponds to the center of the edge portion in the original signal a.
以下、第2図を用いて説明する。今、原信号aを関数y
=f(t)で表わす。このとき、着目点t1より前後に
Δtだけずれた点の値はそれぞれf(tn+Δt)、f
(tn−Δt)と書ける。この2値をmanに分割した
点をg(tnlとすると、g (t+)=(ni f
(i 、+Δt)+n f (tn−Δt)1m+n
となる。同様に時刻10. 12についてもg(toL
g (t21を求め、点[:to、g (to)]と点
〔tl。This will be explained below using FIG. 2. Now, we convert the original signal a to the function y
=f(t). At this time, the values of points shifted by Δt before and after the point of interest t1 are f(tn+Δt) and f
It can be written as (tn-Δt). If the point where this binary value is divided into man is g(tnl, then g (t+) = (ni f
(i, +Δt)+n f (tn−Δt)1m+n. Similarly, time 10. Regarding 12, g(toL
g (calculate t21, point [:to, g (to)] and point [tl.
g (tn)) 、点Ctlp g(tn))と点〔t
2゜g (t2))をそれぞれ結んだ直線をそれぞれ浮
動2値化しきい値とする。すなわち、浮動2値化となり
、一般には、区間tn−1≦1(1゜において
と書くことができる。g (tn)), point Ctlp g(tn)) and point [t
2°g (t2)) are respectively defined as floating binarization thresholds. That is, it becomes floating binarization, and can generally be written as an interval tn-1≦1 (in 1°).
しかして、この浮動2値化しきい値b(=y)で原信号
aをしきい値処理することにより、浮動2値化信号fが
得られる。By thresholding the original signal a using this floating binarization threshold value b (=y), a floating binarization signal f is obtained.
(発明の効果)
以上のように本発明にあっては、文字パターンや配線パ
ターン等を2値化する上で、原信号の波形に追従する浮
動2値化しきい値を設定するようにしているので、照明
ムラやシェーディング等の歪の影響を受けず、精度良く
2値化が行える効果がある。(Effects of the Invention) As described above, in the present invention, a floating binarization threshold that follows the waveform of the original signal is set when character patterns, wiring patterns, etc. are binarized. Therefore, there is an effect that binarization can be performed with high precision without being affected by distortions such as uneven illumination and shading.
第1図は本発明の浮動z値化方式により処理を受けて変
形して行く信号波形を示す図、第2図は浮動2値化しき
い値の詳細を示す図、第3図は被撮像画像と映像信号を
示す図である。Figure 1 is a diagram showing a signal waveform that undergoes processing and deformation by the floating z-value conversion method of the present invention, Figure 2 is a diagram showing details of the floating binarization threshold, and Figure 3 is a diagram showing a captured image. and a diagram showing a video signal.
Claims (1)
出するステップと、前記微分信号を適切な微分しきい値
によりしきい値処理を施し微分2値化信号を得るステッ
プと、前記微分2値化信号のハイレベル期間の中央の時
刻t_nを検出するステップと、前記原信号の時刻tに
おける値をf(t)とし、検出した時刻t_nよりも前
後にΔtだけずれた点の値f(t_n+Δt),f(t
_n−Δt)を求めるステップと、上記の2値f(t_
n+Δt),f(t_n−Δt)をm:nに分割した値
g(t_n)を求めるステップと、t_n_−_1≦t
<t_nの区間で点〔t_n_−_1,g(t_n_−
_1)〕と点〔t_n,g(t_n)〕とを結ぶ直線 y=(g(t_n_−_1)−g(t_n))/(t_
n_−_1−t_n){x−g(t_n_−_1)}+
t_n_−_1を求めるステップとを有し、前記直線y
を浮動2値化しきい値として前記原信号を2値化するこ
とを特徴とした浮動2値化方式。[Claims] A step of firstly differentiating the original signal and calculating a differential signal indicating the absolute value of the differential value, and thresholding the differential signal using an appropriate differential threshold value to obtain a differential binary signal. a step of detecting a time t_n at the center of the high-level period of the differentiated binary signal; and a step of detecting a time t_n at the center of the high-level period of the differential binary signal; and a step of detecting a time t_n at the center of the high-level period of the differentiated binary signal; and assuming that the value of the original signal at time t is f(t), and a value of Δt before and after the detected time t_n; The values of the shifted points f(t_n+Δt), f(t
_n−Δt) and the above binary f(t_
n+Δt), f(t_n-Δt) divided into m:n to obtain a value g(t_n), and t_n_-_1≦t
< In the interval t_n, point [t_n_-_1, g(t_n_-
_1)] and the point [t_n, g(t_n)] y=(g(t_n_-_1)-g(t_n))/(t_
n_-_1-t_n) {x-g(t_n_-_1)}+
and the step of determining t_n_−_1, and the straight line y
A floating binarization method characterized in that the original signal is binarized using as a floating binarization threshold.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62013356A JPH0773197B2 (en) | 1987-01-22 | 1987-01-22 | Floating binarization method for image processing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62013356A JPH0773197B2 (en) | 1987-01-22 | 1987-01-22 | Floating binarization method for image processing |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS63181521A true JPS63181521A (en) | 1988-07-26 |
JPH0773197B2 JPH0773197B2 (en) | 1995-08-02 |
Family
ID=11830820
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP62013356A Expired - Lifetime JPH0773197B2 (en) | 1987-01-22 | 1987-01-22 | Floating binarization method for image processing |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0773197B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5392317A (en) * | 1991-02-22 | 1995-02-21 | Mitsubishi Kenki Kabushiki Kaisha | Method and apparatus extracting pulse signal |
-
1987
- 1987-01-22 JP JP62013356A patent/JPH0773197B2/en not_active Expired - Lifetime
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5392317A (en) * | 1991-02-22 | 1995-02-21 | Mitsubishi Kenki Kabushiki Kaisha | Method and apparatus extracting pulse signal |
Also Published As
Publication number | Publication date |
---|---|
JPH0773197B2 (en) | 1995-08-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102745134A (en) | Detection apparatus and detection method | |
US4240107A (en) | Apparatus and method for pattern information processing | |
JPS63181521A (en) | Floating binarization system | |
JPH04147045A (en) | Surface inspection device | |
JPH0587782B2 (en) | ||
JPH0345898A (en) | Image identifying and tracing apparatus | |
JPS5926073B2 (en) | Pattern information processing device | |
JPH067171B2 (en) | Moving object detection method | |
JPS6241505Y2 (en) | ||
JP2557887B2 (en) | Vehicle speed measurement device | |
JPS58129888A (en) | Position detector | |
JPS63115279A (en) | Area extracting system | |
JPH0645845Y2 (en) | Automatic surface smoothness inspection device | |
JPH0128539B2 (en) | ||
JPH0443784A (en) | Method and apparatus for measuring magnetic recording signal | |
JPH0420225B2 (en) | ||
JPH03149676A (en) | Method for recognizing image | |
JPS6027064B2 (en) | Label front and back inspection device | |
JPH03128412A (en) | Automatic selecting device | |
JPH04169987A (en) | Method for detecting character string in image information | |
CN117391919A (en) | Ceramic tile surface image acquisition and processing system | |
JPS6319088A (en) | Recognizing device | |
JPS6028436B2 (en) | automatic target identification device | |
JPS58142248A (en) | Tester | |
JPH0713836B2 (en) | Binarization circuit |