JPH04182791A - Method for counting object - Google Patents

Method for counting object

Info

Publication number
JPH04182791A
JPH04182791A JP31131590A JP31131590A JPH04182791A JP H04182791 A JPH04182791 A JP H04182791A JP 31131590 A JP31131590 A JP 31131590A JP 31131590 A JP31131590 A JP 31131590A JP H04182791 A JPH04182791 A JP H04182791A
Authority
JP
Japan
Prior art keywords
counting
threshold
density
result
projection
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
JP31131590A
Other languages
Japanese (ja)
Inventor
Hitoshi Tsuchikawa
仁 土川
Hideki Koike
秀樹 小池
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP31131590A priority Critical patent/JPH04182791A/en
Publication of JPH04182791A publication Critical patent/JPH04182791A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)

Abstract

PURPOSE:To improve the accuracy of counting an object by providing plural thresholds with lengths corresponding to projected density values and the number of picture elements. CONSTITUTION:In a first object counting part 3, the number of picture elements on an X-axis equipped with the projection value larger than the threshold of the density is counted from the density projection result prepared by a density projection part 2 and two kinds of the thresholds supplied from a first threshold setting part 4, the number of objects is counted from the threshold corresponding to the number of picture elements, and the counting result is outputted. In a second threshold setting part 8, the threshold with the length corresponding to the projected threshold and the number of picture elements used in the second object counting part 6 is set when the necessity of more counting is decided by a counting result decision part 7. In a counting result indication part 5, the counting results are received from first and second objective counting parts 3 and 6, and these counting values are displayed. Thus, the accurate counting processing can be performed in real time.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は複数の閾値を設けることにより簡単な画像間演
算と四則演算のみによって、画像中の特定物体の計数を
精度良く実時間で計数可能な物体計数方法に関する。
[Detailed Description of the Invention] (Industrial Application Field) The present invention makes it possible to accurately count specific objects in an image in real time using only simple inter-image operations and four arithmetic operations by providing multiple threshold values. Concerning a method for counting objects.

(従来の技術) 従来、画像中の特定物体の計数においては、■ 画像上
に輝度値の変化を検出するサンプル点を設定し、該サン
プル点での背景と対象物体の濃度値の相違を用いて対象
物体の輪郭を抽出し、その形状から計数を行う。
(Prior art) Conventionally, in counting specific objects in an image, the following methods were used: (1) Setting sample points on the image to detect changes in brightness values, and using the difference in density values between the background and the target object at the sample points. The outline of the target object is extracted and the count is performed from that shape.

■ 画像を複数の矩形領域に分割し、各々の領域の濃度
の分散の変化から対象物体の領域を抽出し、その形状か
ら計数を行う。
(2) Divide the image into a plurality of rectangular regions, extract the region of the target object from changes in the density variance of each region, and perform counting based on its shape.

■ 対象物体についての画像の濃度値の射影を取り、あ
る一定の値以上または以下の濃度を持つ区間の長さを計
測することによって計数を行う。
■ Counting is performed by taking the projection of the density value of the image of the target object and measuring the length of the section where the density is above or below a certain value.

方法が提供されている。A method is provided.

この第3の方法を実施する装置の構成例を第5図に示し
、これは、画像入力部lより入力された画像の、濃度射
影を濃度射影部2で取り、対象物体計数部3で、濃度射
影部2で作成された濃度射影結果と閾値設定部4で設定
された固定の閾値から、対象物体の数を計数し、その計
数結果を計数結果提示部5へ出力して表示するようにし
たものある。
An example of the configuration of an apparatus for implementing the third method is shown in FIG. The number of target objects is counted from the density projection result created by the density projection unit 2 and the fixed threshold set by the threshold setting unit 4, and the counting result is output to the counting result presentation unit 5 for display. There is something I did.

(発明が解決しようとする課題) しかしながら、上述した従来技術の■、■の方法では、
画素単位の処理や輪郭抽出のような複雑な処理を行って
いるために、カメラから入力されるような動画像に対し
、実時間で対象物体抽出および計数処理を行うことが困
難である。
(Problem to be solved by the invention) However, in the methods ① and ② of the prior art described above,
Since complicated processing such as pixel-by-pixel processing and contour extraction is performed, it is difficult to perform target object extraction and counting processing in real time on moving images input from a camera.

また、■の方法では対象物体計数部3で用いられる濃度
値の閾値が固定された1つであったために、対象物体の
濃度値により計数結果の精度が充分でないという問題が
あった。
Further, in the method (2), since the threshold value of the density value used in the target object counting section 3 is one fixed value, there is a problem that the accuracy of the counting result is not sufficient depending on the density value of the target object.

(発明の目的) 本発明はこのような従来技術の欠点を解決し、より精度
の高い計数処理を実時間で行なうことができる物体計数
方法を提供することを目的とする。
(Objective of the Invention) It is an object of the present invention to provide an object counting method that can solve the drawbacks of the prior art and perform counting processing with higher accuracy in real time.

(課題を解決するための手段) 本発明は上記課題を解決し目的を達成するため、画像の
濃度射影を取ることによって得られた射影結果から対象
物体を計数する方法において、入力された画像のX軸も
しくはY軸もしくは任意の傾きを持った直線への濃度射
影を取る手段と、該射影された濃度値および画素数に応
じた長さの閾値を設定する手段と、前記濃度射影を取る
手段で作成された濃度射影結果と前記閾値設定手段から
与えられた閾値により対象物体の数を計数する手段と、
該計数手段の計数結果に応じて閾値設定手段へ閾値を再
設定する制御信号を出力する計数結果判定手段と、計数
結果を提示する手段とで構成され、前記計数結果に応じ
て閾値を変更して計数を行なうことを特徴とする。
(Means for Solving the Problems) In order to solve the above problems and achieve the objects, the present invention provides a method for counting target objects from a projection result obtained by taking a density projection of an image. means for taking a density projection onto the X-axis or the Y-axis or a straight line having an arbitrary slope; means for setting a length threshold according to the projected density value and the number of pixels; and means for taking the density projection. means for counting the number of target objects based on the density projection result created by and the threshold value given from the threshold value setting means;
The counting result determining means outputs a control signal for resetting the threshold to the threshold setting means according to the counting result of the counting means, and the means for presenting the counting result, and the counting result changing means changes the threshold according to the counting result. It is characterized in that it performs counting.

(作 用) 本発明は射影されたある濃度値および画素数に応じた長
さの閾値を用いることにより対象物体の数の計数を行な
い、その計数結果に応じて次の対象物体の数を計数する
ときの閾値を変更して計数を行なうことにより、精度良
く対象物体の数の計数及び表示を実時間で行なうことが
できる。
(Function) The present invention counts the number of target objects by using a projected density value and a threshold value of length corresponding to the number of pixels, and counts the number of the next target object according to the counting result. By changing the threshold value and performing counting, it is possible to accurately count and display the number of target objects in real time.

(実施例) 第1図は本発明を実施する装置の構成を示す一実施例の
ブロック図である。図において、1は画像入力部で、計
数を行なう画像あるいはこれに前処理を行なった画像を
濃度射影部2へ出力する。
(Embodiment) FIG. 1 is a block diagram of an embodiment showing the configuration of an apparatus for implementing the present invention. In the figure, reference numeral 1 denotes an image input section which outputs an image to be counted or an image obtained by preprocessing this to a density projection section 2.

該濃度射影部2では、画像入力部1より入力された画像
のX軸もしくはY軸もしくは任意の傾きを持った直線へ
の濃度射影を取り、第1の対象物体計数部3と、第2の
対象物体計数部6へ夫々濃度射影結果を送る。以下の説
明ではX軸への濃度射影を取る場合のみを説明するが、
Y軸、任意の傾きへの濃度射影の場合でも同様である。
The density projection unit 2 projects the density of the image input from the image input unit 1 onto the X-axis or Y-axis or a straight line with an arbitrary slope, and projects the density of the image input from the image input unit 1 onto the The density projection results are sent to the target object counting section 6, respectively. In the following explanation, only the case of taking the density projection to the X axis will be explained,
The same applies to the case of density projection onto the Y-axis at an arbitrary inclination.

ここで、前記画像入力部lより入力された画像の例を第
2図に示し、図中、21は対象となる物体が映っていな
い場合、22は1つの対象物体(人)が映っている場合
、23は2つの対象物体(人)が映っている場合である
。また、第2図の各々の画像21゜22、23のX軸へ
の濃度射影を取った結果のグラフヲ第3 図31.32
.33ニ示し、両図のX軸(7)X、、。
Here, an example of an image inputted from the image input unit l is shown in FIG. 2. In the figure, 21 indicates a case where no target object is shown, and 22 shows a case where one target object (person) is shown. In case 23, two target objects (people) are shown. In addition, Figure 31.32 is a graph of the results of density projections of each image 21, 22, and 23 in Figure 2 onto the X axis.
.. 33, and the X-axis (7)X in both figures.

X12.・・・・・・、X36は夫々対応して描かれて
いる。
X12. ..., X36 are drawn correspondingly.

第1図に戻り、4は第1の閾値設定部で前記第1の対象
物体計数部3で用いる射影された濃度値の閾値および画
素数の長さの閾値を設定する。また、前記第1の対象物
体計数部3では、前記濃度射影部2で作成された濃度射
影結果と第1の閾値設定部4から与えられた2種類の閾
値から、濃度の閾値よりも大きな射影値を持つX軸上で
の画素数を数え、その画素数に応じた長さの閾値から対
象物体の数を計数し、その計数結果を出力する。
Returning to FIG. 1, reference numeral 4 denotes a first threshold value setting unit that sets a threshold value for the projected density value and a threshold value for the length of the number of pixels used in the first target object counting unit 3. In addition, the first target object counting section 3 calculates a projection larger than the density threshold based on the density projection result created by the density projection section 2 and two types of thresholds given from the first threshold setting section 4. The number of pixels on the X-axis that have a value is counted, the number of target objects is counted from a threshold of length corresponding to the number of pixels, and the counting result is output.

7は計数結果判定部で、前記第1の対象物体計数部3か
らの計数結果を受取り、その計数結果に応じて判定を行
ない、第2の閾値設定部8へ閾値を設定するように制御
信号を送出するか、または、計数結果提示部5へ計数結
果を送出する。
Reference numeral 7 denotes a counting result determination unit which receives the counting result from the first target object counting unit 3, makes a determination according to the counting result, and sends a control signal to the second threshold value setting unit 8 to set a threshold value. or sends the counting results to the counting result presentation section 5.

前記第2の閾値設定部8では前記計数結果判定部7によ
って更に計数が必要であると判断された場合に第2の対
象物体計数部6で用いる射影された濃度値の閾値および
画素数に応じた長さの閾値を設定する。前記第2の対象
物体計数部6では閾値を前記第2の閾値設定部8から受
取り、前述した第1の対象物体計数部3と同一の機能を
果す。
The second threshold value setting unit 8 sets the threshold value according to the projected density value threshold and the number of pixels used in the second target object counting unit 6 when the counting result determining unit 7 determines that further counting is necessary. Set the length threshold. The second target object counting section 6 receives the threshold value from the second threshold setting section 8, and performs the same function as the first target object counting section 3 described above.

また、前記計数結果提示部5では、前記第1.第2の対
象物体計数部3,6からの計数結果を受取り、この計数
値を表示する。
Further, in the counting result presentation section 5, the first. The counting results from the second target object counting sections 3 and 6 are received and the counted values are displayed.

以下、第1図に示す実施例の動作を第2図の入力画像の
例および第3図のX軸への濃度射影を取った結果のグラ
フを用いて説明する。なお、本実施例では、第1の対象
物体計数部3ではOか1以上かを、第2の対象物体計数
部6では1か2かを判定している例である。
Hereinafter, the operation of the embodiment shown in FIG. 1 will be explained using the example of the input image shown in FIG. 2 and the graph of the result of density projection onto the X axis shown in FIG. In this embodiment, the first target object counting section 3 determines whether the number is O or 1 or more, and the second target object counting section 6 determines whether the number is 1 or 2.

画像入力部1から画像が濃度射影部2に入力されると、
該濃度射影部2は、入力された画像のX軸への濃度射影
を取る。第1は閾値設定部4では、対象物体の数がOか
1以上であるかを判定するための閾値として、濃度値の
閾値tl+長さの閾値り、を設定する。
When an image is input from the image input section 1 to the density projection section 2,
The density projection unit 2 projects the density of the input image onto the X axis. First, the threshold value setting unit 4 sets a density value threshold tl+a length threshold value ri as a threshold value for determining whether the number of target objects is O or 1 or more.

第1の対象物体計数部3では、濃度射影部2で得られた
濃度射影結果と第1の閾値設定部4より与えられた閾値
t、、 L、を用いて、濃度射影結果のうち、濃度値の
閾値t1以上の濃度値を持つX軸上の区間の長さを計測
し、その長さがL1未満の場合は0(31の場合に相当
する)、L1以上の場合(32,33の場合に相当する
)には、1以上であるという計数結果を計数結果判定部
7へ出力する。
The first target object counting unit 3 calculates the density of the density projection result using the density projection result obtained by the density projection unit 2 and the threshold values t, L, given by the first threshold value setting unit 4. Measure the length of the section on the X-axis that has a density value equal to or greater than the value threshold t1.If the length is less than L1, it is 0 (corresponding to the case of 31), and if it is equal to or greater than L1, it is 0 (corresponding to the case of 32, 33). (corresponding to this case), the count result that is 1 or more is output to the count result determination section 7.

該計数結果判定部7では、第1の対象物体計数部3の結
果がOである場合(31の場合に相当する)、すなわち
再度判定を必要としない場合には計数結果提示部5にO
という結果をそのまま出力し、1以上であるという結果
である場合(32,33の場合に相当する)、すなわち
、再度判定が必要な場合には第2の閾値設定部8に閾値
設定のために必要な情報を送る。該第2の閾値設定部8
では、対象物体の数が1であるか2であるかを判定する
ための閾値として濃度値の閾値t8.長さの閾値L8を
設定し、濃度射影部2における射影結果と、第2の閾値
設定部8によって設定された閾値t、、 L。
In the counting result determining unit 7, when the result of the first target object counting unit 3 is O (corresponding to the case of 31), that is, when determination is not required again, the counting result presenting unit 5 outputs O.
If the result is 1 or more (corresponding to the cases of 32 and 33), that is, if the determination needs to be made again, the second threshold value setting unit 8 is used to set the threshold value. Send the necessary information. The second threshold value setting section 8
Here, the density value threshold t8. is used as the threshold for determining whether the number of target objects is 1 or 2. A length threshold L8 is set, and the projection result in the density projection section 2 and the thresholds t, L set by the second threshold setting section 8 are set.

より、第2の対象物体計数部6で対象物体の計数を行な
う。
Therefore, the second target object counting section 6 counts the target objects.

該第2の対象物体計数部6では、まず、し7以上の濃度
値を持つX軸上の区間の長さを計測し、その長さがL8
未満の場合(32の場合に相当する)は1.L3以上の
場合(33の場合に相当する)には2という計数結果を
出力する。計数結果提示部5では、第1の対象物計数部
3および第2の対象物体計数部6から計数結果を受けて
、その結果を表示する。
The second target object counting unit 6 first measures the length of the section on the
If it is less than 1. (corresponding to 32). In the case of L3 or more (corresponding to the case of 33), a count result of 2 is output. The counting result presentation section 5 receives the counting results from the first object counting section 3 and the second object counting section 6 and displays the results.

このように、閾値t1における区間の長さは、0の場合
と1または2の場合との差は顕著であるが、1の場合と
2の場合との差はほとんどなく、閾値し、における区間
の長さでは、1の場合と2の場合との差は顕著であるが
、○の場合と2の場合との差はほとんどないため1つの
閾値ではこれらの3つを区別することができないような
時にも、本発明のように2つの閾値t1とt、の双方の
区間の長さを用いることによって、0,1,2の区別を
可能となった。
In this way, the length of the interval at the threshold t1 is significantly different between the case of 0 and the case of 1 or 2, but there is almost no difference between the case of 1 and the case of 2. In terms of length, there is a noticeable difference between cases 1 and 2, but there is almost no difference between cases ○ and 2, so it seems that one threshold cannot distinguish between these three cases. In any case, by using the lengths of both sections of the two threshold values t1 and t as in the present invention, it is possible to distinguish between 0, 1, and 2.

第4図は本発明を実施する装置の構成を示す別の実施例
のブロック図であり、1個の対象物体計数部が繰返し使
用される場合の例である。
FIG. 4 is a block diagram of another embodiment showing the configuration of an apparatus implementing the present invention, and is an example in which one target object counting section is used repeatedly.

図において、1は画像入力部で、計数を行ないたい画像
を背景処理、マスク処理を行った後の画像を濃度射影部
2に入力する。該濃度射影部2では画像入力部1より入
力された画像の、X軸への濃度射影を取り、対象物体計
数部3へ濃度射影結果を送る。
In the figure, reference numeral 1 denotes an image input section, which inputs an image to be counted into a density projection section 2 after background processing and mask processing have been performed on the image. The density projection section 2 takes the density projection of the image input from the image input section 1 onto the X axis, and sends the density projection result to the target object counting section 3.

4は閾値設定部で、対象物体計数部3で用いる濃度値の
閾値および長さの閾値を設定する。ただし、初期状態で
は、あらかじめ設定されている閾値の初期値が設定され
、2度目以降は、計数結果判定部7によって更に計数が
必要であると判断された場合には、計数結果判定部7か
ら渡される条件にしたがって、対象物体計数部3で用い
る閾値が設定される。また、判定が終了したときには、
計数結果判定部7から判定終了信号が送られ、処理を終
了する。前記対象物体計数部3では濃度射影部2で作成
された濃度射影結果と閾値設定部4で設定された閾値か
ら、濃度値の閾値よりも大きな射影値を持つX軸上での
画素数を数え、その画素数に応じて長さの閾値から対象
物体の数を計数し、計数結果を出力する。
Reference numeral 4 denotes a threshold setting section for setting a density value threshold and a length threshold used in the target object counting section 3. However, in the initial state, the initial value of the preset threshold value is set, and from the second time onwards, if the counting result determining unit 7 determines that further counting is necessary, the counting result determining unit 7 A threshold value used by the target object counting section 3 is set according to the passed conditions. Furthermore, when the judgment is completed,
A determination end signal is sent from the counting result determining section 7, and the process is terminated. The target object counting unit 3 counts the number of pixels on the X axis that have a projection value larger than the density value threshold based on the density projection result created by the density projection unit 2 and the threshold set by the threshold value setting unit 4. , the number of target objects is counted from the length threshold according to the number of pixels, and the counting result is output.

また、前記計数結果判定部7では対象物体計数部3から
出力された計数結果を受は取り、計数結果に応じて閾値
設定部4へ閾値を設定するように制御信号を送出するか
、または、計数結果提示部5へ計数結果を送出する。ま
た、すべての計数が終ったと判断されたときには、閾値
設定部4に判定終了信号を送出し、閾値の設定を終了さ
せる。
The counting result determination unit 7 receives the counting results output from the target object counting unit 3, and sends a control signal to the threshold setting unit 4 to set a threshold according to the counting result, or The counting results are sent to the counting result presentation section 5. Further, when it is determined that all counting has been completed, a determination completion signal is sent to the threshold value setting section 4, and the threshold value setting is completed.

前記計数結果提示部5では計数結果判定部7より出力さ
れた計数結果の数値を表示する。
The counting result presentation unit 5 displays the numerical value of the counting result output from the counting result determining unit 7.

本実施例では対象物体計数部3が1つしかなく、それが
必要に応じ繰返し使用されるところが、前記第1図に示
す実施例と異なる。
This embodiment differs from the embodiment shown in FIG. 1 in that there is only one target object counting section 3, and it is used repeatedly as necessary.

以下に、本実施例の動作を説明すると、画像入力部1か
ら画像を入力し、濃度射影部2によって画像入力部1よ
り得られた画像のX軸への濃度射影を取る。ここでは、
画像の輝度値を濃度値として用いている。閾値設定部4
では、対象物体計数部3で判定を行うための濃度値の闇
値と長さの閾値を設定するが、閾値設定部4が初めて使
用されたときには初期値を、2度目以降に使用された場
合には、計数結果判定部7より得られた情報をもとに閾
値を設定する。
The operation of this embodiment will be described below. An image is input from the image input section 1, and the density projection section 2 projects the density of the image obtained from the image input section 1 onto the X axis. here,
The brightness value of the image is used as the density value. Threshold value setting section 4
Now, the darkness value and the length threshold of the density value for making a determination in the target object counting section 3 are set. When the threshold setting section 4 is used for the first time, the initial value is used, and when it is used from the second time onward, the initial value is set. In this case, a threshold value is set based on the information obtained from the counting result determination section 7.

濃度射影部2で得られた濃度射影結果と閾値設定部4よ
り与えられた閾値を用いて対象物体計数部3で、濃度射
影結果の内、濃度値の閾値よりも大きな射影値を持つX
軸上での画素数を数え、その画素数に応じて長さの閾値
から対象物体の数を数えることによって、対象物体の計
数を行い、その結果を計数結果判定部7で判定して、再
度判定が必要ない場合には計数結果提示部5に結果を、
そして、閾値設定部4には判定終了信号を出力する。
Using the density projection result obtained by the density projection unit 2 and the threshold value given by the threshold value setting unit 4, the target object counting unit 3 calculates the X that has a projection value larger than the density value threshold among the density projection results.
The number of target objects is counted by counting the number of pixels on the axis and the number of target objects from the length threshold according to the number of pixels, and the result is determined by the counting result determination unit 7, and the number of target objects is counted again. If judgment is not necessary, the result is sent to the counting result presentation section 5.
Then, a determination end signal is output to the threshold value setting section 4.

また再度判定が必要な場合には閾値設定部4に閾値設定
のために必要な情報を送り、該閾値設定部4によって閾
値を設定し直して、再び対象物体計数部3に設定した闇
値を送って、前回と同様な計数を行う。計数結果提示部
5は、計数結果判定部7から計数結果を受けて、その結
果を表示する。
If judgment is necessary again, the information necessary for threshold setting is sent to the threshold setting section 4, the threshold is set again by the threshold setting section 4, and the darkness value set in the target object counting section 3 is again set. and perform the same counting as last time. The counting result presentation unit 5 receives the counting result from the counting result determining unit 7 and displays the result.

本発明方法を実施する装置としての実施態様は第1図お
よび第4図に示したものに限られるものではなく、対象
となる画像も、第2図に示したものに限られるものでは
なく、また、濃度射影部で濃度として用いる特徴量は画
像の特徴を表す量であればすべて含まれる。また、閾値
の設定は、Oと1以上の区別、1と2の区別に限られる
ものではなく、任意の数値の区別のための設定を含む。
The embodiments of the apparatus for carrying out the method of the present invention are not limited to those shown in FIGS. 1 and 4, and the target images are not limited to those shown in FIG. Further, the feature quantities used as density in the density projection unit include all quantities that represent the features of the image. Further, the setting of the threshold value is not limited to the distinction between O and 1 or more, or the distinction between 1 and 2, and includes settings for distinguishing between arbitrary numerical values.

(発明の効果) 以上説明したように本発明によれば、従来の技術では実
時間では対象物体の計数の精度を上げることが困難であ
った場合にも、複数の閾値を設けることにより、簡単な
画像間演算と四則演算のみによって可能となり、対象物
体の計数の精度向上を計ることができる。
(Effects of the Invention) As explained above, according to the present invention, even when it is difficult to increase the accuracy of counting target objects in real time with conventional techniques, it is possible to easily increase the accuracy of counting target objects by providing multiple threshold values. This is possible using only inter-image calculations and four arithmetic operations, and it is possible to improve the accuracy of counting target objects.

しかも、本発明方法を実施する装置の構成は簡単であり
、低コストをはかることができる。
Moreover, the structure of the apparatus for carrying out the method of the present invention is simple, and the cost can be reduced.

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

第1図は本発明を実施する装置の構成を示す一実施例の
ブロック図、第2図は入力画像の例を示す図、第3図は
X軸への濃度射影を取った結果のグラフを示す図、第4
図は本発明を実施する装置の構成を示す別の実施例のブ
ロック図、第5図は従来の濃度射影による対象物体の計
数を行なう装置の構成例を示す図である。 1 ・・・画像入力部、 2 ・・・濃度射影部、3.
6 ・・ 対象物体計数部、 4,8 ・・・閾値設定
部、 5 ・・・計数結果提示部、7 ・・・計数結果
判定部、21 ・・・入力画像(対象の個数0の場合)
、22・・・入力画像(対象の個数1の場合)、23・
・、・入力画像(対象の個数2の場合)、31・・・X
軸への濃度射影グラフ(対象の個数○の場合)、32・
・・X軸への濃度射影グラフ(対象の個数1の場合)、
33・・X軸への濃度射影グラフ(対象の個数2の場合
)。 特許出願人 日本電信電話株式会社
Fig. 1 is a block diagram of an embodiment showing the configuration of an apparatus implementing the present invention, Fig. 2 is a diagram showing an example of an input image, and Fig. 3 is a graph of the result of density projection onto the X axis. Figure shown, 4th
FIG. 5 is a block diagram of another embodiment showing the structure of an apparatus implementing the present invention, and FIG. 5 is a diagram showing an example of the structure of a conventional apparatus for counting target objects by density projection. 1... Image input section, 2... Density projection section, 3.
6...Target object counting unit, 4,8...Threshold value setting unit, 5...Counting result presentation unit, 7...Counting result determination unit, 21...Input image (when the number of objects is 0)
, 22... Input image (when the number of objects is 1), 23...
・,・Input image (when the number of objects is 2), 31...X
Concentration projection graph onto the axis (when the number of objects is ○), 32.
・Concentration projection graph to the X axis (when the number of objects is 1),
33... Concentration projection graph onto the X axis (when the number of objects is 2). Patent applicant Nippon Telegraph and Telephone Corporation

Claims (1)

【特許請求の範囲】[Claims] 画像の濃度射影を取ることによって得られた射影結果か
ら対象物体を計数する方法において、入力された画像の
X軸もしくはY軸もしくは任意の傾きを持った直線への
濃度射影を取る手段と、該射影された濃度値および画素
数に応じた長さの閾値を設定する手段と、前記濃度射影
を取る手段で作成された濃度射影結果と前記閾値設定手
段から与えられた閾値により対象物体の数を計数する手
段と、該計数手段の計数結果に応じて閾値設定手段へ閾
値を再設定する制御信号を出力する計数結果判定手段と
、計数結果を提示する手段とで構成され、前記計数結果
に応じて閾値を変更して計数を行なうことを特徴とする
物体計数方法。
A method for counting target objects from a projection result obtained by taking a density projection of an image, comprising means for taking a density projection of an input image onto the X-axis or Y-axis or a straight line having an arbitrary slope; A means for setting a length threshold according to the projected density value and the number of pixels, and a density projection result created by the means for taking the density projection and a threshold given by the threshold setting means to determine the number of target objects. The counting means is comprised of a counting means, a counting result determining means for outputting a control signal for resetting the threshold to the threshold setting means according to the counting result of the counting means, and a means for presenting the counting result, and according to the counting result. An object counting method characterized in that counting is performed by changing a threshold value.
JP31131590A 1990-11-19 1990-11-19 Method for counting object Pending JPH04182791A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31131590A JPH04182791A (en) 1990-11-19 1990-11-19 Method for counting object

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31131590A JPH04182791A (en) 1990-11-19 1990-11-19 Method for counting object

Publications (1)

Publication Number Publication Date
JPH04182791A true JPH04182791A (en) 1992-06-30

Family

ID=18015656

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31131590A Pending JPH04182791A (en) 1990-11-19 1990-11-19 Method for counting object

Country Status (1)

Country Link
JP (1) JPH04182791A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012033142A (en) * 2010-02-18 2012-02-16 Nippon Telegr & Teleph Corp <Ntt> Number-of-person measuring device, number-of-person measuring method and program
JP2013089174A (en) * 2011-10-21 2013-05-13 Nippon Telegr & Teleph Corp <Ntt> Apparatus, method and program for measuring number of object

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012033142A (en) * 2010-02-18 2012-02-16 Nippon Telegr & Teleph Corp <Ntt> Number-of-person measuring device, number-of-person measuring method and program
JP2013089174A (en) * 2011-10-21 2013-05-13 Nippon Telegr & Teleph Corp <Ntt> Apparatus, method and program for measuring number of object

Similar Documents

Publication Publication Date Title
WO2021042909A1 (en) Scene switching detection method and apparatus, electronic device, and storage medium
JP2760250B2 (en) Pinhole inspection equipment
CN110769225B (en) Projection area obtaining method based on curtain and projection device
EP0989759B1 (en) Method and apparatus for detecting local video features
JPH04182791A (en) Method for counting object
US8174526B2 (en) Methods and apparatus for rendering or preparing digital objects or portions thereof for subsequent processing
US6771804B1 (en) Method and apparatus for signal segmentation
CN112003995B (en) Method and device for configuring television wall based on AR technology
JPH04112289A (en) Object counting method
JPH04216181A (en) Object extraction processing method
JP3095029B2 (en) Component positioning method
JPS5840396B2 (en) converse
JPH04365045A (en) Reticle pattern inspecting device
JPS6091204A (en) Area measuring device utilizing tv picture
JPH03138274A (en) Platform congestion degree detecting device
KR101460904B1 (en) System of Implementation Automatic Screen Saver using Division of Difference Image, and Its Driving Method
JP3077265B2 (en) Shading image processing device
JPH0798385A (en) Automatic cloud amount assessing device
JPS58158761A (en) Pattern position detecting method
JPH03110404A (en) Fine size measuring instrument
JP2965329B2 (en) Image area extraction device
CN115601606A (en) Store state detection method, device, equipment and storage medium
JPH03277910A (en) Image-size measuring method
JPH0683440B2 (en) Motion detection device for television signals
JPH05210737A (en) Method for recognizing pattern