JPH0113149B2 - - Google Patents
Info
- Publication number
- JPH0113149B2 JPH0113149B2 JP57019666A JP1966682A JPH0113149B2 JP H0113149 B2 JPH0113149 B2 JP H0113149B2 JP 57019666 A JP57019666 A JP 57019666A JP 1966682 A JP1966682 A JP 1966682A JP H0113149 B2 JPH0113149 B2 JP H0113149B2
- Authority
- JP
- Japan
- Prior art keywords
- pixel
- circuit
- pixels
- threshold
- 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.)
- Expired
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/20—Image preprocessing
- G06V10/28—Quantising the image, e.g. histogram thresholding for discrimination between background and foreground patterns
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Image Input (AREA)
- Image Analysis (AREA)
Description
【発明の詳細な説明】
本発明は、画像の特定点(例えば、輪郭)の位
置、すなわち、イメージセンサからの画像信号と
当該閾値(上記特定点に対応するべきもの)との
交点の位置を、その画素が持つ映像情報から直線
補間で求めるようにした画像位置検出方式に関す
るものである。DETAILED DESCRIPTION OF THE INVENTION The present invention detects the position of a specific point (for example, a contour) of an image, that is, the position of the intersection of the image signal from the image sensor and the threshold value (which should correspond to the specific point). , relates to an image position detection method in which the image position is determined by linear interpolation from the video information possessed by the pixel.
イメージセンサは、微小面積の光電素子(画
素)を一定のピツチで配置し、各画素が検出する
照度を電気量に交換し、各画素が持つデータを直
列に送出するものである。 An image sensor is a device in which photoelectric elements (pixels) with a microscopic area are arranged at a fixed pitch, the illuminance detected by each pixel is exchanged into an amount of electricity, and the data held by each pixel is sent out in series.
いま、例えば、第1図の各画素出力,閾値間の
一例の関係図に示すように、イメージセンサの画
素の走査方向SCNに沿つて光を照射すると、各
画素…n−5,…,n−1,n,…は、その受光
面で平均的な照度を検出するので、イメージセン
サの出力は、階段状の映像信号Vとなる。 Now, for example, as shown in the relationship diagram between each pixel output and the threshold value in Fig. 1, when light is irradiated along the scanning direction SCN of the pixels of the image sensor, each pixel... -1, n, . . . detect the average illuminance on the light-receiving surface, so the output of the image sensor becomes a step-like video signal V.
ここで、どの画素の出力にも一致しない閾値
SHを設定し、この閾値と交差する画像の位置を
見いだそうとした場合、閾値SHに対して大小の
関係が逆となる出力P,Qを持つ互に隣り合う画
素n,n−1のうち一方の画素を求める位置とす
れば簡単,容易であるが、この方法は、画素のピ
ツチに相当する寸法にしかパターンの位置を分解
することができないという検出精度上の問題点が
ある。 Here, the threshold value that does not match the output of any pixel
When SH is set and an attempt is made to find the position of an image that intersects this threshold, one of the adjacent pixels n and n-1 that have outputs P and Q whose magnitude relationship is opposite to the threshold SH Although it is simple and easy to find the position of the pixel, this method has a problem in detection accuracy in that the position of the pattern can only be resolved into dimensions corresponding to the pixel pitch.
このような不都合を解決する手段として、イメ
ージセンサから直接に得ることができない画素間
の光の変化を、隣り合う画素が有する映像情報の
直線補間によつて求め、直線上に形成した仮想の
画素を閾値との交点として求める方法がある。 As a means to solve this problem, changes in light between pixels, which cannot be obtained directly from the image sensor, are obtained by linear interpolation of the image information of adjacent pixels, and virtual pixels formed on a straight line are There is a method of finding the intersection point with the threshold value.
しかしながら、直線補間によつて上記交点の検
出をする画像位置検出方式は、次のようなオフラ
イン処理によつていたので、処理に長時間を要
し、また、経済的でなかつた。 However, the image position detection method that detects the intersection point by linear interpolation is based on the following off-line processing, which requires a long time and is not economical.
(1) イメージセンサから出力される全画素の映像
情報をデジタル値に変換して一旦記憶回路に保
持する。(1) Convert the video information of all pixels output from the image sensor into digital values and temporarily store them in the memory circuit.
(2) デジタル比較処理によつて、所望の閾値に対
して出力の大小関係が逆となる互に隣り合う画
素を探索する。(2) Through digital comparison processing, search for adjacent pixels whose outputs are opposite in magnitude with respect to a desired threshold value.
(3) このようにして得られた画素が持つ出力の間
を直線補間し閾値との交点を求める。(3) Linear interpolation is performed between the outputs of the pixels obtained in this way, and the intersection with the threshold value is found.
本発明の目的は、上記した従来技術の欠点をな
くし、画像位置の検出分解能を高めるとともに、
検出処理の高速化をした経済的な画像位置検出方
式を提供することにある。 The purpose of the present invention is to eliminate the above-mentioned drawbacks of the prior art, improve the detection resolution of image positions, and
An object of the present invention is to provide an economical image position detection method that speeds up detection processing.
本発明の特徴は、イメージセンサから得られる
直列映像信号のアナログ/デイジタル変換をし、
その相隣る2画素に対応するデイジタル値を順次
に記憶・シフトし、それらのデイジタル値と所定
の閾値との大小関係を比較し、上記閾値が上記2
画素に対応するデイジタル値の中間値となつたと
き、上記直列映像信号の転送クロツクの計数結果
に応じた直線補間の演算処理を行うことにより、
上記2画素に対応するデイジタル値と上記閾値と
の交点を決定し、その結果を所望の画像位置の検
出出力とした画像位置検出方式にある。 The feature of the present invention is to perform analog/digital conversion of a serial video signal obtained from an image sensor,
The digital values corresponding to the two adjacent pixels are sequentially stored and shifted, and the magnitude relationship between these digital values and a predetermined threshold value is compared.
When the digital value corresponding to the pixel reaches the intermediate value, by performing linear interpolation calculation processing according to the count result of the transfer clock of the serial video signal,
This image position detection method determines the intersection between the digital values corresponding to the two pixels and the threshold value, and uses the result as a detection output of a desired image position.
これを要するに、一般に高速である上記直列映
像信号の転送クロツクに応じ、位置検出処理をオ
ンラインで行つて高速化,経済化するとともに、
その分解能を高めようとするものである。 In short, position detection processing is performed online in accordance with the transfer clock of the serial video signal, which is generally high speed, to make it faster and more economical.
The aim is to improve its resolution.
以下、本発明の実施例を図に基づいて説明す
る。第2図は、本発明に係る画像位置検出方式の
一実施例の方式構成図、第3図は、そのタイムチ
ヤートである。 Embodiments of the present invention will be described below based on the drawings. FIG. 2 is a system configuration diagram of an embodiment of the image position detection method according to the present invention, and FIG. 3 is a time chart thereof.
ここで、1は、イメージセンサ、2は、クロツ
ク発生器、3は、A/D(アナログ/デイジタル)
変換器、4,5は、それぞれ、第1,第2のタイ
ミング回路、6,7は、それぞれ、第1,第2の
レジスタ、8は、デイレー回路、9,10は、そ
れぞれ、第1,第2の比較回路、11は、排他的
オア回路、12は、アンド回路、13,14,1
5は、それぞれ、第1,第2,第3の記憶回路、
16は、カウンタ、17は、閾値設定回路、18
は、演算回路、19は、交点出力端子である。な
お、第3図の符号a〜mの信号等は、第1図で同
符号を記入した箇所におけるものと同じである。 Here, 1 is an image sensor, 2 is a clock generator, and 3 is an A/D (analog/digital)
Converters 4 and 5 are first and second timing circuits, respectively; 6 and 7 are first and second registers, respectively; 8 is a delay circuit; 9 and 10 are first and second timing circuits, respectively; 2nd comparison circuit, 11 is an exclusive OR circuit, 12 is an AND circuit, 13, 14, 1
5 are first, second, and third storage circuits, respectively;
16 is a counter, 17 is a threshold value setting circuit, 18
is an arithmetic circuit, and 19 is an intersection output terminal. It should be noted that signals a to m in FIG. 3 are the same as those indicated by the same symbols in FIG. 1.
まず、イメージセンサ1は、検出対象の画像か
らの光を受けて各画素が検出する照度の情報を、
クロツク発生器2からのクロツクaに同期して、
直列映像信号cを出力する。各画素は、受光面で
の平均的照度を検出するものであるので、その直
列映像信号cは、第2図に示すようにクロツクa
ごとに階段波で現われる。 First, the image sensor 1 receives information on the illuminance detected by each pixel upon receiving light from the image to be detected.
In synchronization with clock a from clock generator 2,
Outputs a serial video signal c. Since each pixel detects the average illuminance on the light-receiving surface, the serial video signal c is synchronized with the clock a as shown in FIG.
Each wave appears as a staircase wave.
カウンタ16は、クロツクaを計数することに
より、現在出力されている画素の位置dを検出す
る。一方、第1のタイミング回路4は、クロツク
aを受けてタイミングパルスを作り出し、所要の
各回路に次のような指令を与える。 The counter 16 detects the position d of the currently output pixel by counting the clock a. On the other hand, the first timing circuit 4 receives the clock a, generates a timing pulse, and gives the following commands to each required circuit.
(1) A/D変換器3に対して1画素出力ごとに変
換開始を指令する。(1) Instruct the A/D converter 3 to start conversion for each pixel output.
(2) 1走査完了後(全画素出力完了後)、カウン
タ16の内容をクリアする。(2) After one scan is completed (after all pixel output is completed), clear the contents of the counter 16.
(3) 比較回路9,10の出力を一画素出力ごとに
ストローブする。(3) Strobe the outputs of the comparison circuits 9 and 10 for each pixel output.
A/D変換器3は、各画素ごとにA/D変換を
完了すると、変換終了指令により、まず、第2の
レジスタ7へ第1のレジスタ6に記憶されている
当該直前の画素の情報をシフトせしめるととも
に、第1のレジスタ6へ当該直後の変換情報を書
き込む。第2のレジスタ7へのシフト動作と第1
のレジスタ6への書込みのタイムラグは、デイレ
ー回路8で変換完了信号を遅らせることで行な
う。 When the A/D converter 3 completes A/D conversion for each pixel, it first transfers the information of the previous pixel stored in the first register 6 to the second register 7 in response to a conversion end command. At the same time, the immediately following conversion information is written into the first register 6. A shift operation to the second register 7 and a shift operation to the first register 7
The time lag in writing to the register 6 is achieved by delaying the conversion completion signal in the delay circuit 8.
ここで、n番目の画素が持つ映像情報(A/D
変換後)をV(n)で表現すると、第1のレジス
タ6と第2のレジスタ7とには、それぞれ、常に
隣り合う画素の情報V(n),V(n−1)が保持
されることになる。 Here, the video information (A/D
(after conversion) is expressed as V(n), the first register 6 and second register 7 always hold information V(n) and V(n-1) of adjacent pixels, respectively. It turns out.
次に、両レジスタ6,7に保持された隣り合う
画素の情報V(n),V(n−1)は、それぞれ、
第1の比較回路9と第2の比較回路10とによ
り、閾値bとの大小関係が比較される。閾値b
は、あらかじめ閾値設定回路17に設定されてお
り、両比較回路9,10に与えられる。これら比
較回路9,10の出力は、閾値入力側の値をA、
映像情報入力側の値をBとすると、A,Bの大小
関係によつて次のような論理を出力する。 Next, the information V(n) and V(n-1) of adjacent pixels held in both registers 6 and 7 are respectively
The first comparison circuit 9 and the second comparison circuit 10 compare the magnitude relationship with the threshold value b. threshold b
is set in advance in the threshold value setting circuit 17 and is applied to both comparison circuits 9 and 10. The outputs of these comparison circuits 9 and 10 indicate that the value on the threshold input side is A,
Assuming that the value on the video information input side is B, the following logic is output depending on the magnitude relationship between A and B.
A≧Bのときは“1”(または“0”)、A<B
のときは“0”(または“1”)。 “1” (or “0”) when A≧B, A<B
“0” (or “1”) when .
したがつて、閾値bの値をTとすると、両比較
回路9,10の出力を入力とする排他的オア回路
11の出力hが“1”となる条件は、
V(n)≧T、かつ、V(n−1)<T
または、
V(n)<T、かつ、V(n−1)≧T
で表わされる。 Therefore, if the value of the threshold b is T, the conditions for the output h of the exclusive OR circuit 11 which receives the outputs of both the comparison circuits 9 and 10 to be "1" are as follows: V(n)≧T, and , V(n-1)<T or V(n)<T and V(n-1)≧T.
上記の関係式は、閾値bが映像情報V(n),V
(n−1)の間に位置している場合を示している。 In the above relational expression, the threshold value b is the video information V(n), V
(n-1).
このような条件のもとで、排他的オア回路11
の出力hは、第2のタイミング回路5からのタイ
ミングパルスiによつてアンド回路12が開けら
れたときに、第1,第2,第3の記憶回路13,
14,15に対する書込み指令となる。すなわ
ち、例えば、第1の記憶回路13は映像情報V
(n)、第2の記憶回路14には同V(n−1)、第
3の記憶回路15には画素の位置nが記憶され
る。 Under these conditions, exclusive OR circuit 11
When the AND circuit 12 is opened by the timing pulse i from the second timing circuit 5, the output h of the first, second, and third memory circuits 13,
This is a write command for 14 and 15. That is, for example, the first storage circuit 13 stores video information V.
(n), the second storage circuit 14 stores the same V(n-1), and the third storage circuit 15 stores the pixel position n.
演算回路18は、これら3種の情報j,k,l
から次式のように隣り合う画素の情報に関する直
線補間の演算処理ALとし、閾値bとの交点tを
求めて出力端子19に出力する。 The arithmetic circuit 18 uses these three types of information j, k, l
Then, the calculation process AL of linear interpolation regarding the information of adjacent pixels is performed as shown in the following equation, and the intersection point t with the threshold value b is determined and outputted to the output terminal 19.
t=n−{V(n)−T}/{V(n)−V(n−
1)}
上記右辺の第2項は、閾値をはさむ隣り合う画
素の間を比例配分によつて分割していることを示
しており、画素数を増やす(画素のピツチを縮め
る)のと同じ効果が得られている。 t=n-{V(n)-T}/{V(n)-V(n-
1)} The second term on the right side above indicates that adjacent pixels sandwiching the threshold are divided by proportional allocation, which has the same effect as increasing the number of pixels (reducing the pixel pitch). is obtained.
以上、詳細に説明したように、本発明によれ
ば、閾値と映像信号との交点を、閾値をはさむ隣
り合う画素間を直線補間することにより求めるこ
とができ、かつ、映像信号出力と同じ時間軸(オ
ンライン)で上記処理を行うことができるので、
高速で高分解能の画像位置検出方式が実現でき、
また、その記憶装置減少,処理内容簡略化による
経済化も得られ、その効果は顕著である。 As described in detail above, according to the present invention, the intersection point between a threshold value and a video signal can be found by linear interpolation between adjacent pixels sandwiching the threshold value, and the intersection point can be obtained at the same time as the video signal output. Since the above processing can be performed on the axis (online),
A high-speed, high-resolution image position detection method can be realized.
Furthermore, economy can be achieved by reducing storage devices and simplifying processing contents, and the effects are remarkable.
第1図は、各画素出力,閾値間の一例の関係
図、第2図は、本発明に係る画像位置検出方式の
一実施例の方式構成図、第3図は、そのタイムチ
ヤートである。
1…イメージセンサ、2…クロツク発生器、3
…A/D変換器、4,5…タイミング回路、6,
7…レジスタ、8…デイレー回路、9,10…比
較回路、11…排他的オア回路、12…アンド回
路、13,14,15…記憶回路、16…カウン
タ、17…閾値設定回路、18…演算回路、19
…交点出力端子。
FIG. 1 is a diagram showing an example of the relationship between each pixel output and a threshold value, FIG. 2 is a system configuration diagram of an embodiment of the image position detection method according to the present invention, and FIG. 3 is a time chart thereof. 1... Image sensor, 2... Clock generator, 3
...A/D converter, 4, 5...timing circuit, 6,
7... Register, 8... Delay circuit, 9, 10... Comparison circuit, 11... Exclusive OR circuit, 12... AND circuit, 13, 14, 15... Memory circuit, 16... Counter, 17... Threshold value setting circuit, 18... Operation circuit, 19
...Intersection output terminal.
Claims (1)
アナログ/デイジタル変換すると共に上記イメー
ジセンサから直列映像信号を出力させるための転
送クロツク信号を計数して画素の位置を算出し、
相隣合う2画素に対応する上記直列映像信号のデ
イジタル値(V(n−1),V(n))を順次記憶・
シフトし、それらのデイジタル値(V(n−1),
V(n))と所定の閾値(T)との大小関係を比較
し、上記閾値(T)が上記2画素に対応するデイ
ジタル値(V(n−1),V(n))の中間を示す値
となつたとき、算出された上記画素の位置(n)、
上記2画素に対応するデイジタル値(V(n−
1),V(n))および上記閾値(T)に基づき、
t=n−{V(n)−T}/{V(n)−V(n−1)
}
なる直線補間の演算処理を行つて上記2画素間に
おいて上記閾値(T)を示す画像位置(t)を出
力することを特徴とする画像位置検出方式。1 converting the serial video signal obtained from the image sensor from analog to digital, and calculating the pixel position by counting the transfer clock signal for outputting the serial video signal from the image sensor,
The digital values (V(n-1), V(n)) of the above-mentioned serial video signals corresponding to two adjacent pixels are sequentially stored.
and their digital values (V(n-1),
The magnitude relationship between V(n)) and a predetermined threshold (T) is compared, and the threshold (T) is determined to be between the digital values (V(n-1), V(n)) corresponding to the two pixels. When the value shown is reached, the calculated position (n) of the above pixel,
The digital value (V(n-
1), V(n)) and the above threshold (T),
t=n-{V(n)-T}/{V(n)-V(n-1)
}
An image position detection method characterized in that an image position (t) indicating the threshold value (T) between the two pixels is output by performing linear interpolation calculation processing.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57019666A JPS58139282A (en) | 1982-02-12 | 1982-02-12 | Detecting system of picture position |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57019666A JPS58139282A (en) | 1982-02-12 | 1982-02-12 | Detecting system of picture position |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS58139282A JPS58139282A (en) | 1983-08-18 |
| JPH0113149B2 true JPH0113149B2 (en) | 1989-03-03 |
Family
ID=12005558
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP57019666A Granted JPS58139282A (en) | 1982-02-12 | 1982-02-12 | Detecting system of picture position |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS58139282A (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5274472A (en) * | 1992-05-21 | 1993-12-28 | Xerox Corporation | High addressability image generator using pseudo interpolation of video and screen data |
| WO2002045023A1 (en) * | 2000-11-29 | 2002-06-06 | Nikon Corporation | Image processing method, image processing device, detection method, detection device, exposure method and exposure system |
-
1982
- 1982-02-12 JP JP57019666A patent/JPS58139282A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS58139282A (en) | 1983-08-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS61277254A (en) | Picture reader | |
| US4855933A (en) | Line figure connecting apparatus | |
| JPH0113149B2 (en) | ||
| JPH0123799B2 (en) | ||
| JPS6243589B2 (en) | ||
| JPS63113776A (en) | Conversion circuit for maximum value and minimum value of picture | |
| KR20010083882A (en) | Method and device for correcting defective pixels of an image sensor | |
| SU1541783A1 (en) | Converter of numbers from numbering system code in residual classes to binary code | |
| SU881727A1 (en) | Liscrete information collecting device | |
| SU1578706A1 (en) | Device for information input from analog devices | |
| SU1444821A1 (en) | Device for forming random number histogram | |
| JPS55102066A (en) | Conversion unit for image resolution | |
| SU1177830A1 (en) | Device for reading object images | |
| JP2659785B2 (en) | Image processing device | |
| RU1837336C (en) | Device for tracing contours and their elements in object images | |
| SU928635A1 (en) | Code-to-time interval converter | |
| JPS61275619A (en) | Multistylus pen recorder | |
| JPS5994164A (en) | Input device of tv picture data | |
| SU479106A1 (en) | Device for displaying graphic information | |
| SU993268A1 (en) | Storage device | |
| SU634323A1 (en) | Device for shaping symbols on crt screen | |
| JP2989193B2 (en) | Image memory interleaved input / output circuit | |
| SU1332314A1 (en) | Device for converting the coordinates for geometric correction of pictures | |
| SU1300543A2 (en) | Graphic information output device | |
| SU1254467A1 (en) | Device for sorting numbers |