[go: up one dir, main page]

JPS63155274A - Zero-cross detection system for image - Google Patents

Zero-cross detection system for image

Info

Publication number
JPS63155274A
JPS63155274A JP61304719A JP30471986A JPS63155274A JP S63155274 A JPS63155274 A JP S63155274A JP 61304719 A JP61304719 A JP 61304719A JP 30471986 A JP30471986 A JP 30471986A JP S63155274 A JPS63155274 A JP S63155274A
Authority
JP
Japan
Prior art keywords
circuit
zero
image
output
image data
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
JP61304719A
Other languages
Japanese (ja)
Inventor
Toshiyuki Goto
敏行 後藤
Toshiya Mima
美間 俊哉
Tomomitsu Murano
朋光 村野
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP61304719A priority Critical patent/JPS63155274A/en
Publication of JPS63155274A publication Critical patent/JPS63155274A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)

Abstract

PURPOSE:To perform zero-cross detection of an image at a high speed by pipe line processing by ANDing image data obtained by binarizing a primary differen tiating circuit output of an input image into with image data obtained by detecting the zero of a secondary differentiating circuit output. CONSTITUTION:The input image is differentiated primarily by a primary differentiating circuit 1 in picture element units and its output is supplied to an AND circuit 6 through a threshold value processing circuit 2. Further, the input image is differentiated secondarily by a secondary differentiating circuit 3 in picture element units and the zero point of its output is detected by a zero detecting circuit 4 and the output is supplied to an AND circuit 6 after being delayed by a delay circuit 5 for synchronizing a flow of the image data after the primary differentiation with a flow of the image data after the secondary differentiation. The AND circuit 6 ANDs the output image of the threshold value processing circuit 2 with the output image of the zero detecting circuit 4 to detect the zero crossing, i.e. contour part.

Description

【発明の詳細な説明】 〔概要〕 画像のゼロクロスを検出する方式において、原画像の濃
度変化がない部分においては、二次微分値と共に、−次
微分値が°0゛になる性質があることに着目して、入力
画像を、例えば、局所並列方式で処理できる二次元空間
フィルタ形式の一次微分回路と、二次微分回路と、上記
一次微分回路出力を2値化する回路と、上記二次微分回
路出力に対するゼロ検出回路とを設けることにより、上
記入力画像の一次微分回路出力を2値化した画像データ
と、上記二次微分回路出力についてゼロを検出した画像
データとの論理積をとって、該入力画像のゼロクロスを
パイプライン処理で検出するようにしたものである。
[Detailed Description of the Invention] [Summary] In a method for detecting zero crossings in an image, there is a property that in a portion of the original image where there is no change in density, the -order differential value as well as the second-order differential value becomes °0゛. Focusing on By providing a zero detection circuit for the output of the differentiation circuit, the image data obtained by binarizing the output of the first-order differentiation circuit of the input image and the image data in which zero is detected for the output of the second-order differentiation circuit are ANDed. , the zero crossings of the input image are detected by pipeline processing.

〔産業上の利用分野〕[Industrial application field]

本発明は、画像処理装置に係り、特に、入力画像のゼロ
クロスを、パイプライン処理によって高速に検出する方
式に関する。
The present invention relates to an image processing apparatus, and more particularly to a method for detecting zero crossings in an input image at high speed by pipeline processing.

最近の画像処理関連技術の進歩に伴って、テレビカメラ
で捉えた画像の処理が盛んになっており、例えば、自動
車に対する自動速度監視装置においては、該自動車の移
動速度を計測する為の、物体の輪郭認識処理を、高速に
実行することが要求される。
With recent advances in image processing-related technology, processing of images captured by television cameras has become popular.For example, in automatic speed monitoring devices for automobiles, objects are It is required to perform contour recognition processing at high speed.

又、計算機システムの性能向上と、普及に伴って、実用
化されつつあるファクトリオートメ−シラン(FA)の
分野においても、物体の輪郭の高速認識による自動制御
、或いは視覚検査等では、テレビカメラ等が捉えた入力
画像の輪郭を高速に認識できる画像のゼロクロス検出方
式が必要とされる。
In addition, in the field of factory automation (FA), which is being put into practical use as the performance of computer systems improves and becomes more widespread, television cameras, etc. There is a need for an image zero-cross detection method that can quickly recognize the contours of an input image captured by a user.

〔従来の技術と発明が解決しようとする問題点〕第4図
は従来の画像のゼロクロス検出方式を説明する図であっ
て、ソフト−ハード併用による場合を示しており、(a
)は二次微分回路の構成例を示し、(b)は全体の構成
例を示し、(c)はファームウェアによるゼロクロス検
出方式の構成例を示し、(d)−1〜(d)4は該ファ
ームウェアによるゼロクロス検出方式の概念を説明する
図を示している。
[Prior art and problems to be solved by the invention] FIG.
) shows an example of the configuration of a second-order differential circuit, (b) shows an example of the overall configuration, (c) shows an example of the configuration of a zero-cross detection method using firmware, and (d)-1 to (d)4 show the corresponding examples. A diagram illustrating the concept of a zero-crossing detection method using firmware is shown.

従来の画像のゼロクロス検出方式には、ソフトウェアに
よる方法と、ソフト−ハード併用による方法とがあった
Conventional image zero-cross detection methods include methods using software and methods using a combination of software and hardware.

ソフトウェアによる方法は、メモリ上のデータをプロセ
ッサ(MPU)で画素ごとに、該画像データのゼロクロ
スを逐次検出するものであるが、この方法では、該メモ
リ上の画像データを参照する為のアドレス計算が膨大と
なり、高速化が実現できないと云う問題があった。
In the software method, a processor (MPU) sequentially detects zero crossings of the image data pixel by pixel using a processor (MPU), but this method requires address calculation to refer to the image data in the memory. There was a problem in that the amount of data required was enormous and speeding up could not be achieved.

ソフト−ハード併用による方法は、上記アドレスの計算
は回避できるが、メモリ11上に展開されている画像に
設定したウィンドウ内の各画素を、プロセッサ(MPU
) 10で逐次処理する必要があり、パイプライン処理
に向かないと云う問題があった。
In the method using both software and hardware, the above address calculation can be avoided, but each pixel in the window set in the image developed on the memory 11 is processed by the processor (MPU).
) 10 requires sequential processing and is not suitable for pipeline processing.

第4図は、上記ソフト−ハード併用によるゼロクロス検
出方法を説明したものである。
FIG. 4 explains the zero-cross detection method using the above-mentioned software and hardware combination.

この方法は、(b)、 (c)、 (d)−1〜(d)
−3図から明らかなように、人力画像データを二次元空
間フィルタ形式の二次微分回路3による局所並列方式で
、パイプライン動作により、該画像の境界に関する二次
微分値を求め、該二次微分値を一旦メモリ 11に展開
して、この画像データに対して、プロセッサ(MPtl
) 10により、境界検出、及びゼロクロス判定を行う
ものである。
This method includes (b), (c), (d)-1 to (d)
- As is clear from Figure 3, human image data is processed in a locally parallel manner using a two-dimensional spatial filter-type second-order differential circuit 3, and a second-order differential value with respect to the boundary of the image is determined by pipeline operation. The differential value is once developed in the memory 11, and the processor (MPtl)
) 10, boundary detection and zero-cross determination are performed.

上記二次元空間フィルタ形式の二次微分回路3は、例え
ば、(a)図に示す構成が採られており、入力画像をラ
スク形式で走査し、その時に得られた各画素値を1ライ
ン(1画素)毎に、シフトレジスタ31.32に順次投
入すると、該シフトレジスタ31.32の出力側に構成
されている3×3のマトリックスの、それぞれの出力を
用いて、公知の二次元空間フィルタの原理に基づき、新
たな1画素が当該二次微分回路に投入される毎に、上記
3×3のマトリックスの真中の画素に対する二次微分値
を求め、?lPUバス12を介して、メモリ 11に格
納する。
The above-mentioned two-dimensional spatial filter-type second-order differential circuit 3 has, for example, the configuration shown in FIG. When each pixel (one pixel) is sequentially input to a shift register 31.32, a well-known two-dimensional spatial filter is Based on the principle of , every time a new pixel is input to the second-order differential circuit, the second-order differential value for the middle pixel of the 3×3 matrix is calculated, and ? It is stored in the memory 11 via the IPU bus 12.

この二次微分回路3では、新たな1画素が投入される毎
に、人力画像の3×3画素からなる二次元ウィンドウに
対して、上記3×3画素の真中の画素に対する二次微分
値が求められるので、入力画像データの3ライン分を並
列に処理して、二次元の二次微分を求めていることにな
り、局所並列方式と呼んでいる。
In this second-order differential circuit 3, each time a new pixel is input, the second-order differential value for the middle pixel of the 3×3 pixels is calculated for a two-dimensional window consisting of 3×3 pixels of the human image. Therefore, three lines of input image data are processed in parallel to obtain a two-dimensional second-order differential, which is called a locally parallel method.

上記二次元空間フィルタの原理は、後述するように、3
X3の二次微分用ウィンドウとして定められている固定
値と、該入力画像に関する3×3画素間との間で論理積
をとって、その総和を求めることにより、該マトリック
スの真中(斜線で示す)に位置する画素についての二次
微分、即ち、該画像データの偏曲点が求められると云う
ものである。
The principle of the two-dimensional spatial filter is as follows:
By performing a logical product between the fixed value defined as the second-order differential window of ), that is, the point of inflection of the image data is determined.

次に、(b)、(c)、(d)−1〜(d)−3図によ
って、上記ハードウェアによる二次微分値を用いた、従
来の画像のゼロクロス検出方式を説明する。
Next, a conventional image zero-crossing detection method using the second-order differential value by the above hardware will be explained with reference to FIGS. (b), (c), and (d)-1 to (d)-3.

従来方式においては、プロセッサ(MPU)10で実行
されるファームウェア((C)図参照)により、境界検
出(1) 、 (2)の結果に基づいて、ゼロクロスの
判定を行う。
In the conventional method, firmware (see figure (C)) executed by the processor (MPU) 10 determines zero crossing based on the results of boundary detection (1) and (2).

境界検出(1)処理においては、(d)−1図に示すよ
うに、゛O゛以下(0゛を含む)の二次微分値と、正の
二次微分値の値が接する総ての画素(O印で示す)を検
出する。
In the boundary detection (1) process, as shown in Figure (d)-1, all the points where the second-order differential value of ゛O゛ or less (including 0゛) and the positive second-order differential value are in contact are detected. A pixel (indicated by an O mark) is detected.

この境界画素の検出は、メモリ11上に展開されている
各画素の二次微分値について、再度、例えば、3×3の
ウィンドウ部分の画素値を取り出し、該ウィンドウを時
計廻りに探索して、例えば、正から負に変わっている画
素を見つけ、その点に該ウィンドウを移すことを繰り返
すことにより、二次微分点(即ち、入力画像の偏曲点)
を検出する。
Detection of this boundary pixel is performed by re-extracting the pixel value of a 3×3 window portion, for example, for the second-order differential value of each pixel developed on the memory 11, and searching the window clockwise. For example, by repeatedly finding a pixel that changes from positive to negative and moving the window to that point, the second differential point (i.e., the eccentric point of the input image)
Detect.

同様にして、境界検出(2)処理においては、(d)−
2図に示すように、゛0゛0゛(“0゛を含む)の二次
微分値と、負の二次微分値の値が接する総ての画素(O
印で示す)を検出する。
Similarly, in the boundary detection (2) process, (d) -
As shown in Figure 2, all pixels (O
) is detected.

ゼロクロス判定においては、(d)−3図に示すように
、上記境界検出(1) 、 (2)の共通部分の画素(
◎印で示す)を求めて、該画素を当該入力画像のゼロク
ロス点とするのである。
In the zero cross determination, as shown in Figure (d)-3, the pixels (
) is determined, and the pixel is determined as the zero-crossing point of the input image.

このように、従来のハード−ソフト併用によるゼロクロ
ス検出方式は、上記のように、ファームウェアによる境
界検出(1)、(2)処理において、メモリ11に対す
るランダムアクセスを必要とする為、前述の二次微分回
路3での処理のようにパイプライン化できない問題があ
り、結果としてゼロクロス検出の高速化ができないと云
う問題があった。
In this way, the conventional zero-crossing detection method using a combination of hardware and software requires random access to the memory 11 in boundary detection (1) and (2) processing by firmware, so the above-mentioned secondary There is a problem in that the processing in the differentiating circuit 3 cannot be pipelined, and as a result, the speed of zero-cross detection cannot be increased.

本発明は上記従来の欠点に鑑み、原画像の濃度変化がな
い部分においては、二次微分値と共に、−次微分値が°
0″になると云う性質があることに着目し、原画像の輪
郭部分における濃度変化の屈曲部分(即ち、二次微分値
がゼロとなる画素)のみを検出して、高速に画像のゼロ
クロスを検出する方法を提供することを目的とするもの
である。
In view of the above-mentioned conventional drawbacks, the present invention provides that, in areas where there is no density change in the original image, the -th differential value is
By focusing on the fact that there is a property that the density change becomes 0'', we detect only the bending part of the density change in the contour part of the original image (i.e., the pixel where the second-order differential value becomes zero), and detect the zero cross of the image at high speed. The purpose is to provide a method to do so.

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

第1図は本発明の画像のゼロクロス検出方式の構成例を
示した図である。
FIG. 1 is a diagram showing an example of the configuration of an image zero-cross detection method according to the present invention.

本発明においては、 画像のゼロクロスを検出する方式であって、入力画像を
画素単位で一次微分して、その大きさを検出する一次微
分回路lと、 該一次微分回路1の出力を2値化する閾値処理回路2と
、 上記入力画像を画素単位で二次微分の大きさを検出する
二次微分回路3と、 該二次微分回路3の出力のゼロを検出する回路4と、 上記一次微分後の画像データの流れと、二次微分後の画
像データの流れの同期をとる為の遅延回路5とを備え、 上記一次微分後の閾値処理結果と、二次微分後の画像デ
ータのゼロを検出した結果との論理積をとって、画像の
ゼロクロスを検出するように構成する。
The present invention is a method for detecting zero crossings in an image, and includes a first-order differentiation circuit 1 that performs first-order differentiation of an input image pixel by pixel and detects its size, and binarizes the output of the first-order differentiation circuit 1. a second-order differentiation circuit 3 for detecting the magnitude of the second-order differentiation of the input image pixel by pixel; a circuit 4 for detecting zero in the output of the second-order differentiation circuit 3; It is equipped with a delay circuit 5 for synchronizing the subsequent flow of image data and the flow of image data after second-order differentiation, and the threshold processing result after first-order differentiation and the zero of the image data after second-order differentiation are provided. The configuration is configured to perform a logical product with the detected result to detect zero crossings in the image.

〔作用〕[Effect]

即ち、本発明によれば、画像のゼロクロスを検出する方
式において、原画像の濃度変化がない部分においては、
二次微分値と共に、−次微分値が0゛になる性質がある
ことに着目して、入力画像を、例えば、局所並列方式で
処理できる二次元空間フィルタ形式の一次微分回路と、
二次微分回路と、上記一次微分回路出力を2値化する回
路と、上記二次微分回路出力に対するゼロ検出回路とを
設けることにより、上記入力画像の一次微分回路出力を
2値化した画像データと、上記二次微分回路出力につい
てゼロを検出した画像データとの論理積をとって、該入
力画像のゼロクロスをパイプライン処理で検出するよう
にしたものであるので、画像のゼロクロス検出がパイプ
ライン処理による高速処理が可能になると云う効果があ
る。
That is, according to the present invention, in a method for detecting zero crossings of an image, in a portion of the original image where there is no density change,
Focusing on the fact that there is a property that the -th differential value becomes 0゛ along with the second-order differential value, a first-order differential circuit in the form of a two-dimensional spatial filter that can process an input image in a locally parallel manner, for example,
By providing a second-order differentiator, a circuit that binarizes the output of the first-order differentiator, and a zero detection circuit for the output of the second-order differentiator, image data obtained by binarizing the output of the first-order differentiator of the input image is obtained. The zero crossing of the input image is detected by pipeline processing by performing a logical AND with the image data in which zero is detected for the output of the second-order differential circuit. This has the effect of enabling high-speed processing.

〔実施例〕〔Example〕

以下本発明の実施例を図面によって詳述する。 Embodiments of the present invention will be described in detail below with reference to the drawings.

前述の第1図は、本発明の画像のゼロクロス検出方式の
構成例を示した図であり、第2図は本発明によるゼロク
ロス検出動作を説明する図であり、第3図は微分回路の
論理を説明する図であって、第1図における一次微分回
路1.閾値処理回路2゜ゼロ検出回路4.論理積(AN
D)回路6が、本発明を実施するのに必要な手段である
。尚、全図を通して、同じ符号は同じ対象物を示してい
る。
The above-mentioned FIG. 1 is a diagram showing a configuration example of the image zero-cross detection method of the present invention, FIG. 2 is a diagram explaining the zero-cross detection operation according to the present invention, and FIG. 3 is a diagram showing the logic of the differential circuit. FIG. 2 is a diagram illustrating the first-order differential circuit 1 in FIG. Threshold processing circuit 2° Zero detection circuit 4. Logical product (AN
D) Circuit 6 is the necessary means to implement the invention. Note that the same reference numerals indicate the same objects throughout the figures.

以下、第1図を参照しながら、第2図、第3図によって
、本発明のゼロクロス検出方式を説明する。
Hereinafter, the zero cross detection method of the present invention will be explained with reference to FIGS. 2 and 3 while referring to FIG. 1.

先ず、第3図によって、微分回路の論理を説明する。First, the logic of the differential circuit will be explained with reference to FIG.

画像データに対する微分は、例えば、公知の二次元空間
フィルタの原理に基づいた処理によって達成される。
Differentiation for image data is achieved, for example, by processing based on the principle of a known two-dimensional spatial filter.

該二次元空間フィルタの原理は、画素P(i、j)に対
して、 但し、!=麟=0.±1 で示す式に基づいて、第3図(a) 、 (b) 、 
(c)で示した、例えば、3×3のウィンドウ°a1m
’ の固定値と、原画像を同じ3×3のウィンドウで走
査して得た画素値との論理積演算を行い、その総和であ
る°0(IIJ)’を、該画素P(i、j)の微分値と
する。
The principle of the two-dimensional spatial filter is that for pixel P(i,j), however,! =Rin=0. Based on the formula shown as ±1, Figure 3 (a), (b),
For example, the 3×3 window °a1m shown in (c)
A logical AND operation is performed between the fixed value of ' and the pixel value obtained by scanning the original image in the same 3 x 3 window, and the summation °0(IIJ)' is calculated as the pixel P(i, j ).

本図の(a)はX方向微分値を得る為のウィンドウ°a
、゛を示し、(b)はY方向微分値を得る為のウィンド
ウ゛aLs’ を示し、(c)は二次微分値を得る為の
ウィンドウ°ate’ を示している。
(a) in this figure is the window °a for obtaining the X-direction differential value.
.

上記(a)のX方向微分値を得る為のウィンドウ“al
 va” で説明すると、画像のX方向の濃淡が一定で
あるとすると、該マトリックスに対応する各画素値に対
して、’−1’ 、 ’O°、゛+1°を掛けて、その
総和をもとめると、0“となるが、該画素間に濃淡があ
ると、該濃淡の度合に応じて、該総和は特定の値、即ち
、X方向の微分値を示すことが分かる。
The window “al” for obtaining the X-direction differential value in (a) above
To explain this in terms of ``va'', if the shading of the image in the When calculated, it is 0'', but if there is a shading between the pixels, it can be seen that the summation shows a specific value, that is, a differential value in the X direction, depending on the degree of the shading.

従って、このような演算を、各画素が該微分回路に投入
される毎に実行することにより、バイブライン式に該微
分処理が実行され、各画素P(i、j)に対応した微分
値が出力される。
Therefore, by performing such a calculation every time each pixel is input to the differentiating circuit, the differentiating process is performed in a Vibrine manner, and the differential value corresponding to each pixel P (i, j) is obtained. Output.

本発明は、このような、二次元空間フィルタの原理に基
づく微分回路を用いて、バイブライン式に、画像のゼロ
クロスを検出しようとするものである。
The present invention attempts to detect zero crossings in an image using a Vibrine method using a differential circuit based on the principle of a two-dimensional spatial filter.

第1図の一次微分回路1では、第3図に示すように、原
画像を3×3のウィンドウで走査し、X方向、及びY方
向の微分値を算出し、これらの出力の二乗和の平方根を
算出することにより、原画像の一次微分値の大きさを算
出する。(第2図(c)参照) 次の閾値処理回路2では、第2図(c)に示した微分画
像に対して、閾値(±th)を施し、第2図(d)に示
すように該微分値の大きい部分を検出する。
As shown in Fig. 3, the primary differentiation circuit 1 in Fig. 1 scans the original image in a 3 x 3 window, calculates the differential values in the By calculating the square root, the magnitude of the first-order differential value of the original image is calculated. (See Fig. 2(c)) The next threshold processing circuit 2 applies a threshold value (±th) to the differential image shown in Fig. 2(c), and as shown in Fig. 2(d), A portion where the differential value is large is detected.

二次微分回路3は第3図(c)に示すような3×3の固
定マスクデータを用いて、原画像の二次微分値を算出す
る。(第2図(e)参照)ゼロ検出回路4では、第2図
(e)の二次微分値からなる画像データについて、画素
値が°0°である画素を検出する。(第2図Cf)参照
)論理積(AND)回路6は、上記閾値処理回路2の出
力画像と、上記ゼロ検出回路4の出力画像の対応する画
素ごとの論理積を算出する。(第2図(g)参照) 原画像の濃淡のない所は、−次微分値、二次微分値共に
0゛であるので、上記論理積で“1°が得られた画素は
、−次微分値が“1′であって、二次微分値が0“であ
ることを意味し、原画像(第2図(a)参照)のゼロク
ロス、即ち、輪郭部分を検出できたことになる。
The second-order differential circuit 3 calculates the second-order differential value of the original image using 3×3 fixed mask data as shown in FIG. 3(c). (See FIG. 2(e)) The zero detection circuit 4 detects pixels whose pixel value is 0° in the image data consisting of the second-order differential values shown in FIG. 2(e). (See FIG. 2 Cf)) A logical product (AND) circuit 6 calculates the logical product of the output image of the threshold processing circuit 2 and the output image of the zero detection circuit 4 for each corresponding pixel. (See Figure 2 (g)) In areas with no shading in the original image, both the -th differential value and the second-order differential value are 0゛, so the pixel for which "1°" was obtained in the above logical product is the -th order differential value. This means that the differential value is 1' and the secondary differential value is 0, which means that the zero cross of the original image (see FIG. 2(a)), that is, the contour portion has been detected.

前述のように、一次微分回路1.及び二次微分回路3は
、局所並列処理手法によりパイプライン処理されている
ので、第1図で示したゼロクロス検出回路を用いて画像
のゼロクロスを検出することにより、原画像のゼロクロ
スをパイプライン処理で検出することができ、該原画の
濃淡画像中の輪郭部分を高速に求めることができる。
As mentioned above, the first-order differential circuit 1. Since the second-order differential circuit 3 is pipeline-processed using a local parallel processing method, the zero-crossings of the original image can be pipeline-processed by detecting the zero-crossings of the image using the zero-crossing detection circuit shown in FIG. It is possible to detect the contour part in the grayscale image of the original image at high speed.

尚、第1図の構成例に示されている遅延回路は、一次微
分回路1.及び閾値処理回路2で構成されるパイプライ
ン遅延と、二次微分回路3.及びゼロ検出回路4のバイ
ブライン遅延との差を補正するものである。
Note that the delay circuit shown in the configuration example of FIG. 1 is a first-order differentiator circuit 1. and a pipeline delay composed of a threshold value processing circuit 2, and a second-order differentiation circuit 3. and the vibration line delay of the zero detection circuit 4 is corrected.

このように、本発明は、原画像の濃度変化がない部分に
おいては、−次微分値と共に、二次微分値が°O”にな
るという特性に着目して、原画像の二次微分値のゼロを
検出した画素に対して、−次微分値をある闇値でスライ
スした画素値と論理積をとることにより、該原画像の輪
郭部分における濃度変化の屈曲部分のみの画素を抽出す
ると共に、該−次微分、及び二次微分の算出部分を局所
並列手法で構成してパイプライン処理で画像のゼロクロ
ス検出を行うようにした所に特徴がある。
As described above, the present invention focuses on the characteristic that in a part of the original image where there is no density change, the second-order differential value becomes °O'' along with the -th-order differential value, and the second-order differential value of the original image is For the pixels for which zero is detected, the -th differential value is ANDed with the pixel value sliced by a certain darkness value, thereby extracting pixels only in the curved part of the density change in the contour part of the original image, The feature is that the calculation part of the -th order differential and the second order differential is constructed using a locally parallel method, and the zero cross detection of the image is performed by pipeline processing.

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

以上、詳細に説明したように、本発明の画像のゼロクロ
ス検出方式は、画像のゼロクロスを検出する方式におい
て、原画像の濃度変化がない部分においては、二次微分
値と共に、−次微分値が°0”になる性質があることに
着目して、入力画像を、例えば、局所並列方式で処理で
き”る二次元空間フィルタ形式の一次微分回路と、二次
微分回路と、上記一次微分回路出力を2値化する回路と
、上記二次微分回路出力に対するゼロ検出回路とを設け
ることにより、上記入力画像の一次微分回路出力を2値
化した画像データと、上記二次微分回路出力についてゼ
ロを検出した画像データとの論理積をとって、該入力画
像のゼロクロスをパイプライン処理で検出するようにし
たものであるので、画像のゼロクロス検出がパイプライ
ン処理による高速処理が可能になると云う効果がある。
As explained above in detail, the image zero-crossing detection method of the present invention detects the zero-crossing of an image, and in the portion of the original image where there is no density change, the -th differential value as well as the second-order differential value is detected. Focusing on the property that the input image becomes 0", we have developed a two-dimensional spatial filter-type first-order differentiator circuit, a second-order differentiator circuit, and an output of the first-order differentiator circuit that can process an input image, for example, in a locally parallel manner. By providing a circuit for binarizing the output of the first-order differentiator and a zero detection circuit for the output of the second-order differentiator, it is possible to detect zeros for the image data obtained by binarizing the output of the first-order differentiator of the input image and the output of the second-order differentiator. Since the zero cross of the input image is detected by pipeline processing by performing a logical product with the detected image data, the effect is that the zero cross detection of the image can be processed at high speed by pipeline processing. be.

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

第1図は本発明の画像のゼロクロス検出方式の構成例を
示した図。 第2図は本発明によるゼロクロス検出動作を説明する図
。 第3図は微分回路の論理を説明する図。 第4図は従来の画像のゼロクロス検出方式を説明する図
。 である。 図面において、 1は一次微分回路、  eは二次微分回路。 君は閾値処理回路、  4はゼロ検出回路。 5は遅延回路、     6は論理積(AND)回路。 をそれぞれ示す。 !?Xarイ1慕、 P(ld) (0)X方向投ウィンにつ 、1灯分固烙( ジ つ(イ、j) =Σ Σ二 θt7′Ipα+l、jfyn−)  1
i aノ札 r)名経理左肩先日目する図 −3図 に壁
FIG. 1 is a diagram showing an example of the configuration of an image zero-cross detection method according to the present invention. FIG. 2 is a diagram illustrating the zero-cross detection operation according to the present invention. FIG. 3 is a diagram explaining the logic of the differential circuit. FIG. 4 is a diagram illustrating a conventional image zero-cross detection method. It is. In the drawings, 1 is a first-order differential circuit, and e is a second-order differential circuit. You are the threshold processing circuit, and 4 is the zero detection circuit. 5 is a delay circuit, and 6 is an AND circuit. are shown respectively. ! ? Xar I1, P(ld) (0) X direction throw win, 1 lamp fixed heat (Jitsu (i, j) = Σ Σ2 θt7'Ipα+l, jfyn-) 1
i a note r) famous accountant left shoulder figure I saw the other day - figure 3 on the wall

Claims (1)

【特許請求の範囲】 画像のゼロクロスを検出する方式であって、入力画像を
画素単位で一次微分して、その大きさを検出する一次微
分回路(1)と、 該一次微分回路(1)の出力を2値化する閾値処理回路
(2)と、 上記入力画像を画素単位で二次微分の大きさを検出する
二次微分回路(3)と、 該二次微分回路(3)の出力のゼロを検出する回路(4
)と、 上記一次微分後の画像データの流れと、二次微分後の画
像データの流れの同期をとる為の遅延回路(5)とを備
え、 上記一次微分後の閾値処理結果と、二次微分後の画像デ
ータのゼロを検出した結果との論理積をとって、画像の
ゼロクロスを検出することを特徴とする画像のゼロクロ
ス検出方式。
[Claims] A method for detecting zero crossings in an image, comprising: a first-order differentiation circuit (1) that performs first-order differentiation of an input image pixel by pixel and detects its size; a threshold processing circuit (2) that binarizes the output; a second-order differentiation circuit (3) that detects the magnitude of the second-order differentiation of the input image pixel by pixel; and an output of the second-order differentiation circuit (3). Circuit to detect zero (4
), and a delay circuit (5) for synchronizing the flow of image data after the first differentiation and the flow of image data after the second differentiation, and the threshold processing result after the first differentiation and the second An image zero-cross detection method characterized by detecting a zero-cross in an image by performing an AND with a result of detecting zero in image data after differentiation.
JP61304719A 1986-12-18 1986-12-18 Zero-cross detection system for image Pending JPS63155274A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61304719A JPS63155274A (en) 1986-12-18 1986-12-18 Zero-cross detection system for image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61304719A JPS63155274A (en) 1986-12-18 1986-12-18 Zero-cross detection system for image

Publications (1)

Publication Number Publication Date
JPS63155274A true JPS63155274A (en) 1988-06-28

Family

ID=17936389

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61304719A Pending JPS63155274A (en) 1986-12-18 1986-12-18 Zero-cross detection system for image

Country Status (1)

Country Link
JP (1) JPS63155274A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7190409B2 (en) 1991-02-16 2007-03-13 Semiconductor Energy Laboratory Co., Ltd. Method for displaying an image having a maximal brightness

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7190409B2 (en) 1991-02-16 2007-03-13 Semiconductor Energy Laboratory Co., Ltd. Method for displaying an image having a maximal brightness

Similar Documents

Publication Publication Date Title
Ahmad et al. Local threshold and boolean function based edge detection
US5715325A (en) Apparatus and method for detecting a face in a video image
Ziou Line detection using an optimal IIR filter
JP3073682B2 (en) Method and apparatus for recognizing geometric shapes in an image
EP1462994B1 (en) Method and system for identifying objects in an image
US6289110B1 (en) Object extracting method using motion picture
CN110399873A (en) ID Card Image acquisition methods, device, electronic equipment and storage medium
CN108932516A (en) It is a kind of rotate text image bearing calibration and device
JPS63155274A (en) Zero-cross detection system for image
Srikrishna et al. Realization of Human Eye Pupil Detection System using Canny Edge Detector and Circular Hough Transform Technique
Montagner et al. Learning to remove staff lines from music score images
JPS60189084A (en) Character area extracting circuit
JP2004094952A (en) Skew detection
Najgebauer et al. Representation of edge detection results based on graph theory
JP2004151815A (en) Method, device and program for extracting specific area, and recording medium recording this program
JPH07302346A (en) Method for detecting white line on road
CN111738242B (en) Face recognition method and system based on self-adaption and color normalization
JP3585143B2 (en) Character string extraction method and device
Chen et al. A class of hierarchical networks for VLSI/WSI based multicomputers
KR0158417B1 (en) Method of judging the position of an object using an image processing device
Suponenkovs et al. Application of Computer Vision Technologies for Autonomous Pile Manipulation
Gates et al. A real-time line extraction algorithm
KR0158416B1 (en) Method of judging position of object by contraction of image data
JPH06149360A (en) Traveling lane detector
Dhanya et al. Novel Adaptive Segmentation Based Forgery Detection Method