JP7069840B2 - Individual counting device, individual counting method, individual counting program, and individual counting system - Google Patents
Individual counting device, individual counting method, individual counting program, and individual counting system Download PDFInfo
- Publication number
- JP7069840B2 JP7069840B2 JP2018037918A JP2018037918A JP7069840B2 JP 7069840 B2 JP7069840 B2 JP 7069840B2 JP 2018037918 A JP2018037918 A JP 2018037918A JP 2018037918 A JP2018037918 A JP 2018037918A JP 7069840 B2 JP7069840 B2 JP 7069840B2
- Authority
- JP
- Japan
- Prior art keywords
- individual
- image
- region
- area
- counting
- 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 - Fee Related
Links
Images
Landscapes
- Farming Of Fish And Shellfish (AREA)
Description
本発明は、移動する個体を計数する個体計数装置、個体計数方法、個体計数プログラム、及び個体計数システムに関する。 The present invention relates to an individual counting device for counting moving individuals, an individual counting method, an individual counting program, and an individual counting system.
漁業又は養殖業において、従来のような目視による水産資源の個体の数量の計数では、大量の水産資源の個体の数量を正確に把握することは困難である。そこで、大量の水産資源の個体の数量を正確に把握するための提案がされている。例えば、特許文献1及び特許文献2を参照。
In the fishing or aquaculture industry, it is difficult to accurately grasp the number of individuals of a large amount of fishery resources by the conventional visual counting of the number of individuals of fishery resources. Therefore, a proposal has been made to accurately grasp the quantity of individuals of a large amount of fishery resources. See, for example,
特許文献1に開示された水中又は水面を移動する移動体の個体の数量を計数するシステムは、まず連続して撮像した画像を二値画像(画素が1又は0で表される画像)にし、二値画像において互いの距離が一定距離内にある一つの画素の集まりを連接領域として抽出する。ここで、連接領域は、画像に含まれる移動体に対応する領域である。続いて、特許文献1に開示されたシステムは、抽出した最新の画像の連接領域群とそれ以前に撮像した画像の連接領域群とを比較し、比較結果を用いて画像に含まれる移動体を抽出する。また、特許文献1に開示されたシステムには、移動体が重なった場合、連続して撮像した画像それぞれに含まれる連接領域群の重なりと分離とに基づいて、移動体の個体の数量を計数することが記載されている。このように特許文献1に開示されたシステムによれば、川を遡上する魚、更にはその他の移動体の個体の数量を自動で計数することができる。
The system for counting the number of individuals of moving objects moving in water or on the surface of water disclosed in
特許文献2に開示された魚計数装置は、まず連続して撮像した画像からm-1枚目の画像を選択し、m-1枚目の画像から検出した魚の位置に基づいて、次に撮像するm枚目の画像における魚の位置を推定する。続いて、特許文献2に開示された魚計数装置では、推定した位置とm枚目の画像から検出した魚の位置とが一致する場合、m-1枚目とm枚目で検出された魚は同じであると判定する。このように特許文献2に開示された魚計数装置によれば、画像の魚の位置を追跡することで、同じ魚を重複して計数しないようにできる。
The fish counting device disclosed in
しかしながら、特許文献1に開示されたシステムでは、連続して撮像した画像それぞれに含まれる連接領域群の重なりと分離を、予め設定した重なりと分離を示す所定規則と照合し、照合結果に基づいて計数をしている。そのため、所定規則から外れた場合、移動体の個体の数量を正確に計数することができない。例えば、連接領域群が重なり続けた場合、所定規則から外れてしまうため、移動体の個体の数量を正確に計数することができない。
However, in the system disclosed in
特許文献2に開示された魚計数装置は、撮像した画像において魚が重なった場合、画像から魚の位置を追跡することができないため、移動する魚の個体の数量を精度よく計数することができない。
The fish counting device disclosed in
本発明の目的の一例は、上記問題を解消し、移動する個体が重なって撮像された場合でも個体の数量を精度よく計数できる個体計数装置、個体計数方法、個体計数プログラム、及び個体計数システムを提供することにある。 An example of an object of the present invention is an individual counting device, an individual counting method, an individual counting program, and an individual counting system that can accurately count the number of individuals even when moving individuals are imaged in an overlapping manner by solving the above problems. To provide.
上記目的を達成するため、本発明の一側面における個体計数装置は、
第一の画像から検出した個体を示す個体領域に基づいて、前記第一の画像を撮像した後に撮像する第二の画像において、前記個体が移動すると推定される推定個体領域を推定する、推定部と、
前記推定個体領域と前記第二の画像から検出した個体領域との重なりが所定領域値以上である場合、前記第一の画像と前記第二の画像の個体領域を同一と判定する、判定部と、
予め設定した前記個体の特徴を示す特徴領域が前記個体領域に含まれる場合、前記特徴領域の数量を前記個体領域に対応する前記個体の数量として計数する、計数部と、
前記個体領域を検出した時点から当該個体領域を検出しなくなる時点までの時間ごとに前記個体領域に対応する前記個体の数量を計数し、計数した前記個体領域に対応する前記個体の数量を前記時間が経過するごとに積算する、積算部と、
を有することを特徴とする。
In order to achieve the above object, the individual counting device in one aspect of the present invention is
An estimation unit that estimates an estimated individual region in which the individual is estimated to move in a second image captured after capturing the first image, based on an individual region indicating an individual detected from the first image. When,
When the overlap between the estimated individual area and the individual area detected from the second image is equal to or more than the predetermined area value, the determination unit that determines that the individual area of the first image and the second image is the same. ,
When the individual region includes a preset characteristic region indicating the characteristics of the individual, a counting unit that counts the quantity of the characteristic region as the quantity of the individual corresponding to the individual region.
The quantity of the individual corresponding to the individual region is counted for each time from the time when the individual region is detected to the time when the individual region is no longer detected, and the quantity of the individual corresponding to the counted individual region is counted as the time. With the integration unit, which integrates each time
It is characterized by having.
また、上記目的を達成するため、本発明の一側面における個体計数方法は、
(a)第一の画像から検出した個体を示す個体領域に基づいて、前記第一の画像を撮像した後に撮像する第二の画像において、前記個体が移動すると推定される推定個体領域を推定する、ステップと、
(b)前記推定個体領域と前記第二の画像から検出した個体領域との重なりが所定領域値以上である場合、前記第一の画像と前記第二の画像の個体領域を同一と判定する、ステップと、
(c)予め設定した前記個体の特徴を示す特徴領域が前記個体領域に含まれる場合、前記特徴領域の数量を前記個体領域に対応する前記個体の数量として計数する、ステップと、(d)前記個体領域を検出した時点から当該個体領域を検出しなくなる時点までの時間ごとに前記個体領域に対応する前記個体の数量を計数し、計数した前記個体領域に対応する前記個体の数量を前記時間が経過するごとに積算する、ステップと、
を有することを特徴とする。
Further, in order to achieve the above object, the individual counting method in one aspect of the present invention is:
(A) Based on the individual region indicating the individual detected from the first image, the estimated individual region in which the individual is estimated to move is estimated in the second image captured after the first image is captured. , Steps and
(B) When the overlap between the estimated individual area and the individual area detected from the second image is equal to or more than the predetermined area value, the individual areas of the first image and the second image are determined to be the same. Steps and
(C) When a preset characteristic region indicating the characteristics of the individual is included in the individual region, the quantity of the characteristic region is counted as the quantity of the individual corresponding to the individual region, and (d) the above. The quantity of the individual corresponding to the individual region is counted for each time from the time when the individual region is detected to the time when the individual region is no longer detected, and the quantity of the individual corresponding to the counted individual region is counted as the time. Steps and steps that are accumulated each time
It is characterized by having.
また、上記目的を達成するため、本発明の一側面における個体計数プログラムは、
コンピュータに、
(a)第一の画像から検出した個体を示す個体領域に基づいて、前記第一の画像を撮像した後に撮像する第二の画像において、前記個体が移動すると推定される推定個体領域を推定する、ステップと、
(b)前記推定個体領域と前記第二の画像から検出した個体領域との重なりが所定領域値以上である場合、前記第一の画像と前記第二の画像の個体領域を同一と判定する、ステップと、
(c)予め設定した前記個体の特徴を示す特徴領域が前記個体領域に含まれる場合、前記特徴領域の数量を前記個体領域に対応する前記個体の数量として計数する、ステップと、(d)前記個体領域を検出した時点から当該個体領域を検出しなくなる時点までの時間ごとに前記個体領域に対応する前記個体の数量を計数し、計数した前記個体領域に対応する前記個体の数量を前記時間が経過するごとに積算する、ステップと、
を有することを特徴とする。
Further, in order to achieve the above object, the individual counting program in one aspect of the present invention is provided.
On the computer
(A) Based on the individual region indicating the individual detected from the first image, the estimated individual region in which the individual is estimated to move is estimated in the second image captured after the first image is captured. , Steps and
(B) When the overlap between the estimated individual area and the individual area detected from the second image is equal to or more than the predetermined area value, the individual areas of the first image and the second image are determined to be the same. Steps and
(C) When a preset characteristic region indicating the characteristics of the individual is included in the individual region, the quantity of the characteristic region is counted as the quantity of the individual corresponding to the individual region, and (d) the above. The quantity of the individual corresponding to the individual region is counted for each time from the time when the individual region is detected to the time when the individual region is no longer detected, and the quantity of the individual corresponding to the counted individual region is counted as the time. Steps and steps that are accumulated each time
It is characterized by having.
更に、上記目的を達成するため、本発明の一側面における個体計数システムは、
少なくとも個体の大きさに応じて幅が設定された、前記個体を移動させる経路を撮像す
る、撮像部と、
第一の画像から検出した前記個体を示す個体領域に基づいて、前記第一の画像を撮像した後に撮像する第二の画像において、前記個体が移動すると推定される推定個体領域を推定する、推定部と、
前記推定個体領域と前記第二の画像から検出した個体領域との重なりが所定領域値以上である場合、前記第一の画像と前記第二の画像の個体領域を同一と判定する、判定部と、
予め設定した前記個体の特徴を示す特徴領域が前記個体領域に含まれる場合、前記特徴領域の数量を前記個体領域に対応する前記個体の数量として計数する、計数部と、
前記個体領域を検出した時点から当該個体領域を検出しなくなる時点までの時間ごとに前記個体領域に対応する前記個体の数量を計数し、計数した前記個体領域に対応する前記個体の数量を前記時間が経過するごとに積算する、積算部と、
を有することを特徴とする。
Further, in order to achieve the above object, the individual counting system in one aspect of the present invention is:
An imaging unit that captures a path for moving the individual, which is at least set in width according to the size of the individual.
Estimating the estimated individual area in which the individual is estimated to move in the second image taken after the first image is taken, based on the individual area indicating the individual detected from the first image. Department and
When the overlap between the estimated individual area and the individual area detected from the second image is equal to or more than the predetermined area value, the determination unit that determines that the individual area of the first image and the second image is the same. ,
When the individual region includes a preset characteristic region indicating the characteristics of the individual, a counting unit that counts the quantity of the characteristic region as the quantity of the individual corresponding to the individual region.
The quantity of the individual corresponding to the individual region is counted for each time from the time when the individual region is detected to the time when the individual region is no longer detected, and the quantity of the individual corresponding to the counted individual region is counted as the time. With the integration unit, which integrates each time
It is characterized by having.
以上のように本発明によれば、移動する個体が重なって撮像された場合でも個体の数量を精度よく計数できる。 As described above, according to the present invention, the number of individuals can be accurately counted even when moving individuals are imaged in an overlapping manner.
(実施の形態)
以下、本発明の実施の形態における個体計数装置、個体計数方法、個体計数プログラム、及び個体計数システムについて、図1から図9を参照しながら説明する。
(Embodiment)
Hereinafter, the individual counting device, the individual counting method, the individual counting program, and the individual counting system according to the embodiment of the present invention will be described with reference to FIGS. 1 to 9.
[装置構成]
最初に、図1を用いて、本実施の形態における個体計数装置の構成について説明する。図1は、個体計数装置の一例を示す図である。図1に示す本実施の形態における個体計数装置1は、移動元から移動先までの経路を移動する一つ以上の個体の数量を、精度よく計数するための装置である。個体計数装置1は、推定部2と、判定部3、計数部4と、積算部5とを有する。
[Device configuration]
First, the configuration of the individual counting device in the present embodiment will be described with reference to FIG. 1. FIG. 1 is a diagram showing an example of an individual counting device. The
推定部2は、第一の画像から検出した個体を示す個体領域に基づいて、第一の画像を撮像した後に撮像する第二の画像において、個体が移動すると推定される推定個体領域を推定する。判定部3は、推定個体領域と第二の画像から検出した個体領域との重なりが所定領域値以上である場合、第一の画像と第二の画像の個体領域を同一と判定する。計数部4は、予め設定した個体の特徴を示す特徴領域が個体領域に含まれる場合、特徴領域の数量を個体領域に対応する個体の数量として計数する。積算部5は、個体領域を検出した時点から当該個体領域を検出しなくなる時点までの時間ごとに個体領域に対応する個体の数量を計数し、計数した個体領域に対応する個体の数量を時間が経過するごとに積算する。
The
このように、本実施の形態では、個体計数装置1が、撮像した画像を用いて個体領域の
追跡をし、画像に個体領域が継続して存在する時間ごとに、個体の特徴に基づいて個体領域に対応する個体の数量を計数する。そして、個体計数装置1が、時間が経過するごとに、時間ごとに計数した個体領域に対応する個体の数量を積算する。そうすることで、経路を移動する個体が重なった場合でも個体の数量を精度よく計数できる。
As described above, in the present embodiment, the
[システム構成]
続いて、図2を用いて、個体計数装置1及び個体計数装置1を有するシステムについて具体的に説明する。図2は、個体計数装置を有するシステムの一例を示す図である。個体計数システム20は、個体計数装置1と、撮像部21とを有する。撮像部21は、本実施の形態では、少なくとも個体22の大きさに応じて幅が設定された、個体22を移動させる経路25を撮像する。また、撮像部21は、例えば、高速シャッタカメラなどである。具体的に説明する。撮像部21は、個体22が移動元23から移動先24へ移動するための経路25の全体又は特定箇所を連続して撮像する。また、撮像部21は、例えば、個体22を魚とし、移動元23を移動元の生簀とし、移動先24を移動先の生簀とし、経路25を生簀の間を繋ぐ透明なパイプとした場合、経路25と魚とを連続して撮像する。なお、撮像部21のシャッタ速度は、少なくとも経路25を流れる液体の流速、個体22が経路25を移動する速度のいずれか一方、又は両方に基づいて設定する。
[System configuration]
Subsequently, with reference to FIG. 2, a system having the
個体計数装置1について、個体22が経路25を移動する場合を例に説明する。図3、図4は、経路25を移動する個体を撮像した画像の一例を示す図である。詳細には、図3、図4に示す画像(画像1から画像6を含む複数の画像)は、個体22に対応する画像である個体領域31が、経路25に対応する画像である経路画像32を移動する様子を示している。なお、図3に示す複数の画像は、図4に示す複数の画像より前に撮像された画像とする。
The case where the individual 22 moves along the
図3の画像1は、時点Twaitにおいて、個体領域31(31a、31b)が経路画像32に存在しない状態を示している。図3の画像2は、時点Tstartにおいて、二つの個体領域31a、31bの全体が経路画像32に最初に撮像された状態を示している。図3の画像3から画像4は、時点Tstartより後の時点Tmから時点Tm+aまでに、二つの個体領域31a、31bが移動した状態を示している。図3の画像5は、時点Tm+aより後の時点Tm+bまでに、二つの個体領域31a、31bの全体が経路画像32に最後に存在した状態を示している。図3の画像6は、時点Tm+bより後の時点Tendにおいて、二つの個体領域31a、31bの全体が経路画像32に撮像されなくなった状態を示している。すなわち、図4の画像1に示す時点Twaitに移行した状態を示している。
図4の画像1は、時点Twaitにおいて、個体領域31が経路画像32に存在しない状態を示している。図4の画像2は、時点Tstartにおいて、二つの個体領域31c、31d(一つの個体に対応する個体領域31c、二つの個体が重なった個体領域31d)の全体が経路画像32に最初に撮像された状態を示している。図4の画像3から画像4は、時点Tstartより後の時点Tnから時点Tn+aまでに、二つの個体領域31c、31dが移動した状態を示している。図4の画像5は、時点Tn+aより後の時点Tn+bまでに、二つの個体領域31c、31dの全体が経路画像32に最後に存在した状態を示している。図4の画像6は、時点Tn+bより後の時点Tendにおいて、二つの個体領域31c、31dの全体が経路画像32に撮像されなくなった状態を示している。
推定部2は、第一の画像から検出した個体22を示す個体領域31に基づいて、第一の画像を撮像した後に撮像する第二の画像において、個体領域31が移動すると推定される後述する推定個体領域を推定する。具体的に説明する。推定部2は、図3、図4に示す個体22と経路25とが撮像された第一の画像を二値化し、二値化した画像にラベリング処理を実行し、個体領域31と個体領域31の数量とを検出する。なお、第一の画像は、例
えば、図3、図4に示す時点Tstartから時点Tendより前の時点までに撮像された複数の画像のいずれかである。
The
続いて、推定部2は、第一の画像を撮像した後に撮像する、個体22と経路25とが撮像された第二の画像において、第一の画像で撮像された個体領域31が移動すると推定される個体領域31の位置を推定する。第二の画像は、例えば、第一の画像が撮像された直後に撮像された画像、又は第一の画像が撮像された時点から所定時間経過時に撮像された画像である。所定時間は、例えば、撮像部21のシャッタ速度に基づいて、設定される時間である。
Subsequently, the
推定個体領域の推定は、例えば、経路25を流れる液体の流速と、個体22が経路25を移動する速度とに基づいて、第一の画像で撮像された個体領域31が、第二の画像が撮像されるまでに移動すると推定される推定個体領域を推定する。なお、推定個体領域の推定には、例えば、カルマンフィルタ、粒子フィルタ、KLT(Kanade Lucas Tomasi)、トラッカーなどのアルゴリズムを用いてもよい。
The estimation of the estimated individual area is based on, for example, the flow velocity of the liquid flowing through the
判定部3は、推定個体領域と第二の画像から検出した個体領域31との重なりが所定領域値以上である場合、第一の画像と第二の画像の個体領域31を同一と判定する。具体的に説明する。判定部3は、図3、図4に示す個体22と経路25とが撮像された第二の画像を二値化し、二値化した画像にラベリング処理を実行し、個体領域31と個体領域31の数量とを検出する。なお、第二の画像における個体領域31と個体領域31の数量との検出は、推定部2が行ってもよい。
When the overlap between the estimated individual area and the
図5は、推定個体領域の同一判定を説明するための図である。なお、図5に示す第一の画像、第二の画像は、個体領域31とその付近を拡大した図である。判定部3は、推定部2が推定した第一の画像の個体領域31に対応する推定個体領域51と、第一の画像の個体領域31が移動した第二の画像における個体領域31とが重なる部分52の面積を求める。なお、面積は、例えば、画素数などで表すことが考えられる。
FIG. 5 is a diagram for explaining the same determination of the estimated individual area. The first image and the second image shown in FIG. 5 are enlarged views of the
続いて、判定部3は、推定個体領域51と、第二の画像における個体領域31との重なる部分52の面積が所定面積(所定領域値)以上である場合、第一の画像と第二の画像との個体領域31は同一であると判定する。すなわち、図5に示す第二の画像の個体領域31は第一の画像の個体領域31が移動したものと判定する。所定領域値は、例えば、実験又はシミュレーションにより決定する。
Subsequently, when the area of the
なお、図3の画像3、画像4、図4の画像2から画像5に示すように、複数の個体22が重なって撮像された場合、第一の画像に複数の個体22が重なって撮像された個体領域31を一つの領域と見做して、第二の画像において当該個体領域31が移動すると推定される推定個体領域を推定する。
As shown in the
このように、本実施の形態において、推定部2と判定部3とを用いることで、図3、図4に示したように、時点Tstartから時点Tendまでに経路25を移動する個体22を追跡することができる。
As described above, in the present embodiment, by using the
計数部4は、(1)(2)(3)に示す計数処理のうちの一つ又は全部又は二つを組み合わせて、画像上の個体領域31を計数する。更に、(3)に替えて(4)の計数処理を用いてもよい。
(1)個体22の特徴を示す特徴領域を用いた計数処理
(2)個体領域31の大きさを示す値と基準値との比を用いた計数処理
(3)第一の画像と第二の画像の個体領域31の大きさを示す値の比を用いた計数処理
(4)第一の画像における個体領域31の計数結果と、第二の画像に存在する異なる個体領域31の大きさを示す値の比とを用いた計数処理
The
(1) Counting process using the characteristic area showing the characteristics of the individual area 22 (2) Counting process using the ratio of the value indicating the size of the
(1)の計数処理について説明する。計数部4は、予め設定した個体22の特徴を示す特徴領域が個体領域31に含まれる場合、特徴領域の数量を個体領域31に対応する個体22の数量として計数する。具体的に説明する。例えば、個体22を魚とし、魚の尾ひれ又は頭を特徴領域として設定した場合について説明する。計数部4は、魚に対応する個体領域31と、尾ひれに対応する特徴領域とを照合し、個体領域31に含まれる特徴領域の数量を計数する。個体領域31と特徴領域との照合は、例えば、対象とする魚の平均的な尾ひれの形状を示す特徴領域を基準画像とした、個体領域31に対して実行されるパターンマッチング処理である。
The counting process of (1) will be described. When the
図3の画像2では、個体領域31a、31bそれぞれに尾ひれに対応する領域があり、それらの領域は特徴領域と一致するため、画像2においては特徴領域が二つあるので、魚の数量は二匹となる。なお、画像5についても同じことがいえる。また、図3の画像3では、個体領域31a、31bは重なっているが、尾ひれに対応する領域があり、それらの領域は特徴領域と一致するため、画像3においても特徴領域が二つ含まれるので、魚の数量は二匹となる。なお、画像4についても同じことがいえる。
In
また、図4の画像2では、個体領域31c、31dそれぞれに尾ひれに対応する領域があり、それらの領域は特徴領域と一致するため、画像2においては特徴領域が三つあるので、魚の数量は三匹となる。なお、画像5についても同じことがいえる。また、図4の画像3では、個体領域31c、31dは重なっているが、尾ひれに対応する領域があり、それらの領域は特徴領域と一致するため、画像3においても特徴領域が三つ含まれるので、魚の数量は三匹となる。なお、画像4についても同じことがいえる。
Further, in the
なお、上述した例では、特徴領域を尾ひれとしたが、特徴領域を魚の頭としてもよい。すなわち、特徴領域は個体22の特徴的な部位とすることが望ましい。また、個体22全体の形状を特徴領域としてもよい。また、個体22が複数重なった場合の個体領域31の形状を特徴領域としてもよい。更に、予め取得した複数の特徴領域を有する画像と有さない画像とをサンプルデータとし、それらサンプルデータにおける特徴量を評価し、機械学習により生成された学習モデルを用いて、計数処理をしてもよい。
In the above-mentioned example, the characteristic region is the tail fin, but the characteristic region may be the head of a fish. That is, it is desirable that the characteristic region be a characteristic portion of the individual 22. Further, the shape of the entire individual 22 may be used as a characteristic region. Further, the shape of the
(2)の計数処理について説明する。計数部4は、個体領域31の大きさを示す値と、予め設定した個体22の大きさを示す値との比に基づいて、個体領域31に対応する個体22の数量を計数する。具体的に説明する。計数部4は、画像上の個体領域31それぞれの面積を算出する。面積は、例えば、個体領域31を形成する画素数としてもよい。
The counting process of (2) will be described. The
続いて、計数部4は、算出した個体領域31の面積と、予め設定した基準値となる個体22の面積(基準面積)との面積比を算出する。基準面積は、例えば、平均的な個体22の面積とする。そして、計数部4は、算出した面積比と予め設定した基準面積比とに応じて、個体領域31に対応する個体22の数量を決定する。
Subsequently, the
例えば、面積比が基準面積比と同じと見做せる場合(例えば、面積比≒基準面積比±所定値内の場合)、画像上の個体領域31に対応する個体22の数量は一つとなる。また、面積比が、基準面積比より大きく、かつ二倍と見做せる場合(例えば、基準面積比<面積比≦2・基準面積比±所定値の場合)、画像上の個体領域31に対応する個体22の数量は二つとなる。更に、面積比が基準面積比の二倍より大きく、かつ三倍であると見做せる場合(例えば、基準面積比<面積比≦3・基準面積比±所定値の場合)、画像上の個体領域31に対応する個体22の数量は三つとなる。なお、基準面積比、及び所定値は、例え
ば、実験又はシミュレーションにより決定してもよい。
For example, when the area ratio is considered to be the same as the reference area ratio (for example, when the area ratio ≈ the reference area ratio ± a predetermined value), the number of
個体22を魚とした場合について説明する。図3の画像2では、計数部4は、個体領域31a、31bそれぞれの面積Si1、Si2を算出し、基準面積Stを用いて、個体領域31a、31bに対する面積比Ar1、Ar2を算出する。面積比Ar1はSt/Si1(又はSi1/St)とし、面積比Ar2はSt/Si2(又はSi2/St)とする。計数部4は、面積比Ar1、Ar2それぞれが基準面積比Arth(又は、1/Arth)と同じと見做せる場合、個体領域31a、31bそれぞれに対応する個体22の数量を一匹とする。なお、図3の画像5の個体領域31a、31b、図4の画像2、画像5の個体領域31cについても、面積比を用いて個体領域31の計数をしてもよい。
The case where the individual 22 is a fish will be described. In the
また、図4の画像2では、計数部4は、個体領域31c、個体領域31d(個体22が重なって撮像された個体領域)それぞれの面積Si1、Si2を算出し、基準面積Stを用いて、個体領域31c、31dに対する面積比Ar1、Ar2を算出する。面積比Ar1はSt/Si1(又はSi1/St)とし、面積比Ar2はSt/Si2(又はSi2/St)とする。計数部4は、面積比Ar1が基準面積比Arth(又は、1/Arth)と同じと見做せる場合、個体領域31cに対応する個体22の数量を一匹とする。また、面積比Ar2が基準面積比Arthより大きく、かつ二倍と見做せる場合、個体領域31cに対応する個体22の数量を二匹とする。
Further, in the
(3)の計数処理について説明する。計数部4は、第一の画像における個体領域31の大きさを示す値と、第二の画像における個体領域31の大きさを示す値との比に基づいて、個体領域31に対応する個体22の数量を計数する。具体的に説明する。計数部4は、第一の画像における個体領域31の面積と、第二の画像における個体領域31の面積との面積比を算出する。そして、計数部4は、第一の画像における個体領域31に対応する個体22の数量と、算出した面積比とに応じて、個体領域31の数量を決定する。
The counting process of (3) will be described. The
図3の画像4を第一の画像とし、図3の画像5を第二の画像として説明をする。計数部4は、画像4において二つの個体22が重なって撮像された個体領域31(31a、31bから形成)の面積Si3を算出する。また、計数部4は、画像5において二つの個体22が分離して撮像された、個体領域31aの面積Si4と、個体領域31bの面積Si5を算出する。続いて、計数部4は、画像4において算出した個体領域31の面積Si3と、画像5において算出した個体領域31aの面積Si4との面積比、及び画像4において算出した個体領域31の面積Si3と、画像5において算出した個体領域31bの面積Si5との面積比を算出する。
The
続いて、計数部4は、図3の画像4における個体領域31に対応する個体22の数量と、算出した面積比とに応じて、個体領域31の数量を決定する。例えば、画像4の個体領域31に対応する個体22の数量が二匹で、面積Si3と面積Si4との面積比Ar3(Si3/Si4)が2倍と見做せれば、画像5における個体領域31aに対応する個体22の数量を一匹とする。同様に、画像4の個体領域31に対応する個体22の数量が二匹で、面積Si3と面積Si5との面積比Ar4(Si3/Si5)が2倍と見做せれば、画像5における個体領域31aに対応する個体22の数量を一匹とする。なお、2倍と見做せる範囲は2倍±所定値とする。所定値は、例えば、実験又はシミュレーションにより決定する。なお、面積Si3と面積Si4との面積比Ar3をSi4/Si3とした場合、又は面積Si3と面積Si4との面積比Ar4をSi5/Si3とした場合は、1/2倍と見做せれば、画像5における個体領域31a、31bに対応する個体22の数量を一匹とする。1/2倍と見做せる範囲は1/2倍±所定値とする。
Subsequently, the
また、図4の画像4を第一の画像とし、図4の画像5を第二の画像として説明をする。
計数部4は、画像4において三つの個体22が重なって撮像された個体領域31(31c、31dから形成)の面積Si3を算出する。また、計数部4は、画像5において三つの個体22が分離して撮像された、個体領域31cの面積Si4と、個体領域31dの面積Si5とを算出する。続いて、計数部4は、画像4において算出した個体領域31の面積Si3と、画像5において算出した個体領域31cの面積Si4との面積比、及び画像4において算出した個体領域31の面積Si3と、画像5において算出した面積Si5との面積比とを算出する。
Further, the
The
続いて、計数部4は、図4の画像4における個体領域31に対応する個体22の数量と、算出した面積比とに応じて、個体領域31の数量を決定する。例えば、画像4の個体領域31に対応する個体22の数量が三匹で、面積Si3と面積Si4との面積比Ar3(Si3/Si4)が、3倍と見做せれば、画像5における個体領域31cに対応する個体22の数量を一匹とする。同様に、面積Si3と面積Si5との面積比Ar4(Si3/Si5)が、1.5倍と見做せれば、画像5における個体領域31dに対応する個体22の数量を二匹とする。なお、面積Si3と面積Si4との面積比Ar3をSi4/Si3とした場合、1/3倍以上であれば、画像5における個体領域31cの数量を一匹とする。また、面積Si3と面積Si5との面積比Ar4をSi5/Si3とした場合は、2/3倍以上であれば、画像5における個体領域31dに対応する個体22の数量を二匹とする。
Subsequently, the
(4)の計数処理について説明する。計数部4は、第一の画像において既に算出された個体領域31の計数と、第二の画像に存在する異なる個体領域31の大きさを示す値との比に基づいて、第二の画像における個体領域31に対応する個体22の数量を計数する。具体的に説明する。計数部4は、例えば、(1)から(4)の計数処理などにより、既に算出された、第一の画像における個体領域31に対応する個体22の数量を取得する。続いて、計数部4は、第二の画像に存在する異なる個体領域31の面積比を算出する。そして、計数部4は、第一の画像における個体領域31に対応する個体22の数量と、算出した面積比とに応じて、第二の画像における個体領域31の数量を決定する。
The counting process of (4) will be described. The
図4の画像4を第一の画像とし、図4の画像5を第二の画像として説明をする。計数部4は、画像4において、既に個体領域31c、31dの数量が算出されている場合、個体領域31c、31dの数量として3(三匹)を取得する。続いて、計数部4は、画像5において個体領域31c、31dの面積比を算出する。すなわち、計数部4は、個体領域31cの面積Si4と、個体領域31dの面積Si5との面積比Ar6(Si4:Si5=1:2)を算出する。なお、画像5においては、面積比Ar6は1:2だと見做せるものとする。
The
続いて、計数部4は、個体領域31c、31dそれぞれについて数量を算出する。個体領域31cの数量は、3(三匹)×1/3=1(一匹)のように算出し、個体領域31dの数量は3(三匹)×2/3=2(二匹)のように算出する。
Subsequently, the
更に、(1)、又は(1)(2)、又は(1)(3)、又は(1)(2)(3)の計数処理を用いることで、個体領域31の数量を計数する精度は向上する。また、(1)の計数処理の結果と、(2)又は(3)の計数処理の結果とが異なる場合、(1)(2)(3)の計数処理の結果を用いて、多数決により個体領域31に対応する個体22の数量を決定する。また、(1)(2)(3)の計数処理の結果がすべて異なる場合、(1)の計数処理の結果を優先して用いる。また、(3)に替えて(4)の計数処理を用いてもよい。
Furthermore, by using the counting process of (1) or (1) (2), or (1) (3), or (1) (2) (3), the accuracy of counting the quantity of the
積算部5は、個体領域31を検出した時点Tstartから当該個体領域31を検出しなくなる時点Tendまでの時間ごとに個体領域31の数量を計数し、計数した個体領域31の数量
を時間が経過するごとに積算する。具体的に説明する。積算部5は、図3に示すように、画像2で個体領域31a、31bを検出した時点Tstartから、画像6で当該個体領域31a、31bを検出しなくなる時点Tendまでの時間における、個体領域31a、31bに対応する個体22の数量を計数する。図3の例では、時点Tstartから時点Tendまでの時間における、個体領域31a、31bに対応する個体22の数量は2である。
The integrating
続いて、積算部5は、図4に示すように、画像2で個体領域31c、31dを検出した時点Tstartから、画像6で当該個体領域31c、31dを検出しなくなる時点Tendまでの時間における、個体領域31c、31dに対応する個体22の数量を計数する。図4の例では、時点Tstartから時点Tendまでの時間における、個体領域31c、31dに対応する個体22の数量は3である。
Subsequently, as shown in FIG. 4, the integrating
続いて、積算部5は、時点Tstartから時点Tendまでの時間ごとに計数した個体領域31に対応する個体22の数量を、時間経過後である時点Tendごとに積算することで、移動元23から移動先24へ経路25を通って移動する個体22の数量を計数する。図3、図4の例では、図3の画像6の時点Tendの個体22の数量が2で、図4の画像6の時点Tendの個体22の数が3であるので、積算値は5となる。
Subsequently, the
[装置動作]
本実施の形態における個体計数方法について説明をする。個体計数方法は、図1及び図2に示した本実施の形態における個体計数装置1を動作させることによって実施される。このため、本実施の形態における個体計数方法の説明は、適宜図1から図5を参酌しながら、個体計数装置1の動作について説明する。
[Device operation]
The individual counting method in this embodiment will be described. The individual counting method is carried out by operating the
まず、図6を用いて、個体計数装置1の全体の動作について説明する。図6は、個体計数装置1の動作の一例を示す図である。
First, the overall operation of the
図6に示すように、個体計数装置1は、第一の画像における個体領域31に基づいて、推定個体領域51を推定する(ステップA1)。続いて、個体計数装置1は、推定個体領域51と第二の画像における個体領域31との重なりが、所定領域値以上である場合、第一の画像と第二の画像の個体領域を同一と判定する(ステップA2)。続いて、個体計数装置1は、予め設定した特徴領域が個体領域31に含まれる場合、特徴領域の数量を個体領域31に対応する個体22の数量として計数する(ステップA3)。続いて、個体計数装置1は、個体領域31を検出した時点から検出しなくなる時点までの時間に計数した個体領域31に対応する個体22の数量を、時間が経過するごとに積算する(ステップA4)。
As shown in FIG. 6, the
続いて、図7、図8を用いて、図1、図2に示した推定部2、判定部3、計数部4、積算部5における処理(ステップA1からA4)について詳細に説明する。図7は、個体計数装置の詳細な動作の一例を示す図である。図8は、個体計数装置の動作を説明するための図である。なお、図8の表81は図3に対応し、図8の表82は図4に対応する。
Subsequently, the processes (steps A1 to A4) in the
個体計数装置1は、撮像部21から第一の画像を取得する(ステップA11)。続いて、個体計数装置1は、第一の画像から個体領域31を検出する処理を実行する(ステップA12)。その後、第一の画像に個体領域31が存在する場合(ステップA13:Yes)、個体計数装置1は、第一の画像において検出された個体領域31が、第二の画像において第一の画像の個体領域31が移動すると推定される推定個体領域51を推定する(ステップA14)。続いて、個体計数装置1は、第一の画像から個体領域31が検出されない場合(ステップA13:No)、再度第一の画像を取得する。
The
ステップA11において、個体計数装置1の推定部2は、撮像部21が撮影を開始すると、撮像部21から送信された第一の画像を取得する。続いて、ステップA12において、個体計数装置1の推定部2は、取得した第一の画像に対して、二値化及びラベリング処理を実行し、その後、取得した第一の画像に存在する個体領域31を検出する処理を実行する。すなわち、推定部2は、第一の画像における個体領域31と個体領域31の数量を検出する。ステップA13において、個体計数装置1の推定部2は、第一の画像に個体領域31が存在した場合、ステップA14に移行して、第二の画像における推定個体領域51を推定する。また、推定部2は、第一の画像に個体領域31が存在しない場合、再度第一の画像を取得する。
In step A11, the
図3、図4を参照して具体的に説明する。まず、推定部2は、第一の画像として図3又は図4に示す画像1を取得する。しかし、推定部2は、画像1から個体領域31を検出できないため、個体領域31を検出するまで待ち状態Twaitを継続する(ステップA11→A12→A13:No→A11)。次に、推定部2が、第一の画像として図3又は図4に示す画像2を取得する。この場合、図3であれば、個体領域31a、31bを検出できたので、個体領域31a、31bに対する推定個体領域を推定する(ステップA11→A12→A13:Yes→A14)。また、推定部2は、画像2で最初に個体領域31a、31bを検出したので、追跡を開始した時点Tstartに設定する。
A specific description will be given with reference to FIGS. 3 and 4. First, the
また、推定部2は、時点Tstartより後において、第一の画像として図3又は図4に示す画像3、画像4、画像5を取得した場合、個体領域31a、31bを検出できるので、個体領域31a、31bに対する推定個体領域51を推定する(ステップA19→A11→A12→A13:Yes→A14)。
Further, when the
続いて、個体計数装置1は、第一の画像において個体領域31が検出されると、第二の画像を取得する(ステップA15)。ただし、第二の画像は、ステップA11の直後に取得してもよい。続いて、個体計数装置1は、第二の画像から個体領域31を検出する処理を実行する(ステップA16)。その後、個体計数装置1は、第二の画像に存在する個体領域31と、第一の画像を用いて推定した推定個体領域との重なりを判定する(ステップA17)。判定の結果、推定個体領域と第二の画像から検出した個体領域31との重なりが所定領域値以上である場合(ステップA17:Yes)、個体計数装置1は、個体領域31の引き継ぎを行う。
Subsequently, the
ステップA15において、個体計数装置1の判定部3は、撮像部21から送信された第二の画像を取得する。続いて、ステップA16において、個体計数装置1の判定部3は、取得した第二の画像に対して、二値化及びラベリング処理を実行し、その後、取得した第二の画像に存在する個体領域31を検出する処理を実行する。すなわち、判定部3は、第二の画像における個体領域31と個体領域31の数量を検出する。なお、第二の画像における個体領域31と個体領域31の数量との検出は、ステップA11において、推定部2が行ってもよい。
In step A15, the
ステップ17において、個体計数装置1の判定部3は、推定個体領域51と第二の画像から検出した個体領域31との重なりが所定領域値以上である場合、第一の画像と第二の画像の個体領域31を同一と判定する。続いて、第一の画像と第二の画像の個体領域31を同一と判定した場合、ステップA18において、個体計数装置1の判定部3は、第一の画像の個体領域31と第二の画像の個体領域31との関連付けを行う。例えば、個体領域の重なる部分に識別番号を関連付ける。このようにすることで、個体領域31の追跡をする。なお、第一の画像と第二の画像の個体領域31を同一と判定しない場合、個体計数装置1の判定部3は、ステップA20に移行する。
In step 17, when the overlap between the estimated
図3、図4を参照して具体的に説明する。判定部3は、例えば、図3又は図4に示す画像2、画像3、画像4などを第一の画像とした場合、画像2、画像3、画像4を撮像した後に撮像された画像を第二の画像として取得し(ステップA15)、第二の画像における個体領域31a、31bを検出する(ステップA16)。続いて、判定部3は、図5に示すように、推定個体領域51と第二の画像から検出した個体領域31との重なる部分52が所定領域値以上である場合(ステップA17:Yes)、ステップA18において、第一の画像の個体領域31と第二の画像の個体領域31との関連付けを行う。また、判定部3は、推定個体領域51と第二の画像から検出した個体領域31との重なる部分52が所定領域値より小さい場合、又は重なりがない場合(ステップA17:No)、ステップA20に移行する。また、このような場合、判定部3は、個体領域31を追跡できないため、追跡を終了した時点Tendとする。
A specific description will be given with reference to FIGS. 3 and 4. For example, when the
ステップA19において、個体計数装置1の計数部4は、追跡している個体領域31ごとに、上述した(1)(2)(3)に示した計数処理のうちの一つ又は全部又は二つを組み合わせて、画像上の個体領域31を計数する。また、(3)に替えて(4)の計数処理を用いてもよい。
In step A19, the
図3、図4、図8を参照して具体的に説明する。計数部4は、例えば、図3において個体領域31a、31bを追跡した場合、画像ごとに個体領域31a、31bそれぞれに対して、個体領域31a、31bに対応する個体22の数量を関連付ける。図8の表81を参照。また、図4において個体領域31c、31dを追跡した場合、画像ごとに個体領域31c、31dそれぞれに対して、個体領域31c、31dに対応する個体22の数量を関連付ける。図8の表82を参照。
A specific description will be given with reference to FIGS. 3, 4, and 8. For example, when the
ステップA20において、個体計数装置1の積算部5は、個体領域31を検出した時点Tstartから当該個体領域31を検出しなくなる時点Tendまでの時間ごとに個体領域31の数量を計数し、計数した個体領域31の数量を時間が経過するごとに積算する。
In step A20, the
図3、図4、図8を参照して具体的に説明する。例えば、図3の時点Tstartより前において個体22の数量が0で、図3の時点Tstartから時点Tendまでの時間において、追跡した個体領域31a、31bに対応する個体22の数量が2である場合、積算部5は、積算値を2とする。図8の表81を参照。また、図3の時点Tendより後に、図4の時点Tstartから時点Tendまでの時間において、追跡した個体領域31c、31dに対応する個体22の数量が3である場合、積算部5は、積算値を5(=2+3)とする。図8の表82を参照。
A specific description will be given with reference to FIGS. 3, 4, and 8. For example, when the quantity of the individual 22 is 0 before the time point Tstart in FIG. 3, and the quantity of the individual 22 corresponding to the traced
[本実施の形態の効果]
このような個体計数装置1は、本実施の形態において、第一の画像における個体領域31に基づいて推定した推定個体領域と、第二の画像における個体領域31との重なりが所定領域値以上である場合、第一の画像と第二の画像の個体領域31を同一と判定する。そうすることで、時点Tstartから時点Tendまでの時間において撮像した個体22に対応する個体領域31が追跡できる。
[Effect of this embodiment]
In such an
また、個体計数装置1は、本実施の形態において、上述した(1)(2)(3)(4)の計数処理を用いて、個体領域31に対応する個体22の数量を計数することで、移動する個体22が重なって撮像された場合でも、重なって撮像された個体領域31に対応する個体22の数量を精度よく計数できる。
Further, in the present embodiment, the
また、個体計数装置1は、本実施の形態において、時点Tstartから時点Tendまでの時間ごとに、上述した(1)(2)(3)(4)の計数処理を用いて、計数した個体領域31
に対応する個体22の数量を、時点Tendを経過するごとに積算する。そうすることで、個体22の数量を精度よく計数できる。
Further, in the present embodiment, the
The quantity of the individual 22 corresponding to is integrated every time the time point Tend elapses. By doing so, the quantity of the individual 22 can be counted accurately.
[コンピュータ]
本発明の実施の形態における個体計数プログラムは、コンピュータに、図6、図7に示すステップを実行させるプログラムであればよい。このプログラムをコンピュータにインストールし、実行することによって、本実施の形態における個体計数装置1と個体計数方法とを実現することができる。この場合、コンピュータのプロセッサは、少なくとも推定部2、判定部3、計数部4、積算部5として機能し、処理を行なう。
[Computer]
The individual counting program according to the embodiment of the present invention may be any program that causes a computer to execute the steps shown in FIGS. 6 and 7. By installing and executing this program on a computer, the
また、本実施の形態におけるプログラムは、複数のコンピュータによって構築されたコンピュータシステムによって実行されてもよい。この場合は、例えば、各コンピュータが、それぞれ、少なくとも推定部2、判定部3、計数部4、積算部5のいずれかとして機能してもよい。
[物理構成]
ここで、実施の形態におけるプログラムを実行することによって、個体計数装置1を実現するコンピュータについて図9を用いて説明する。図9は、個体計数装置1を実現するコンピュータの一例を示すブロック図である。
Further, the program in the present embodiment may be executed by a computer system constructed by a plurality of computers. In this case, for example, each computer may function as at least one of an
[Physical configuration]
Here, a computer that realizes the
図9に示すように、コンピュータ110は、CPU(Central Processing Unit)111と、メインメモリ112と、記憶装置113と、入力インターフェイス114と、表示コントローラ115と、データリーダ/ライタ116と、通信インターフェイス117とを備える。これらの各部は、バス121を介して、互いにデータ通信可能に接続される。なお、コンピュータ110は、CPU111に加えて、又はCPU111に代えて、GPU(Graphics Processing Unit)、又はFPGA(Field-Programmable Gate Array)などを有していてもよい。
As shown in FIG. 9, the
CPU111は、記憶装置113に格納された、本実施の形態におけるプログラム(コード)をメインメモリ112に展開し、これらを所定順序で実行することにより、各種の演算を実施する。メインメモリ112は、典型的には、DRAM(Dynamic Random Access Memory)などの揮発性の記憶装置である。また、本実施の形態におけるプログラムは、コンピュータ読み取り可能な記録媒体120に格納された状態で提供される。なお、本実施の形態におけるプログラムは、通信インターフェイス117を介して接続されたインターネット上で流通するものであってもよい。
The
また、記憶装置113の具体例としては、ハードディスクドライブの他、フラッシュメモリなどの半導体記憶装置があげられる。入力インターフェイス114は、CPU111と、キーボード及びマウスといった入力機器118との間のデータ伝送を仲介する。表示コントローラ115は、ディスプレイ装置119と接続され、ディスプレイ装置119での表示を制御する。
Further, specific examples of the
データリーダ/ライタ116は、CPU111と記録媒体120との間のデータ伝送を仲介し、記録媒体120からのプログラムの読み出し、及びコンピュータ110における処理結果の記録媒体120への書き込みを実行する。通信インターフェイス117は、CPU111と、他のコンピュータとの間のデータ伝送を仲介する。
The data reader /
また、記録媒体120の具体例としては、CF(Compact Flash(登録商標))及びSD(Secure Digital)などの汎用的な半導体記憶デバイス、フレキシブルディスク(Flexible Disk)などの磁気記録媒体、又はCD-ROM(Compact Disk Read Only Memory)などの光学記録媒体があげられる。
Specific examples of the
なお、本実施の形態における個体計数装置1は、プログラムがインストールされたコンピュータではなく、各部に対応したハードウェアを用いることによっても実現可能である。更に、個体計数装置1は、一部がプログラムで実現され、残りの部分がハードウェアで実現されていてもよい。
The
以上のように本発明によれば、移動する個体が重なって撮像された場合でも個体の数量を精度よく計数できる。本発明は、個体計数が必要な分野において有用である。 As described above, according to the present invention, the number of individuals can be accurately counted even when moving individuals are imaged in an overlapping manner. The present invention is useful in fields where individual counting is required.
1 個体計数装置
2 推定部
3 判定部
4 計数部
5 積算部
21 撮像部
22 個体
23 移動元
24 移動先
25 経路
31 個体領域
31a、31b、31c、31d 個体領域
32 経路画像
51 推定個体領域
52 重なる部分
110 コンピュータ
111 CPU
112 メインメモリ
113 記憶装置
114 入力インターフェイス
115 表示コントローラ
116 データリーダ/ライタ
117 通信インターフェイス
118 入力機器
119 ディスプレイ装置
120 記録媒体
121 バス
1
112
Claims (12)
前記推定個体領域と前記第二の画像から検出した個体領域との重なりが所定領域値以上である場合、前記第一の画像と前記第二の画像の個体領域を同一と判定する、判定部と、
予め設定した前記個体の特徴を示す特徴領域が前記個体領域に含まれる場合、前記特徴領域の数量を前記個体領域に対応する前記個体の数量として計数する、計数部と、
前記個体領域を検出した時点から当該個体領域を検出しなくなる時点までの時間ごとに前記個体領域に対応する前記個体の数量を計数し、計数した前記個体領域に対応する前記個体の数量を前記時間が経過するごとに積算する、積算部と、
を有することを特徴とする個体計数装置。 An estimation unit that estimates an estimated individual region in which the individual is estimated to move in a second image captured after capturing the first image, based on an individual region indicating an individual detected from the first image. When,
When the overlap between the estimated individual area and the individual area detected from the second image is equal to or more than the predetermined area value, the determination unit that determines that the individual area of the first image and the second image is the same. ,
When the individual region includes a preset characteristic region indicating the characteristics of the individual, a counting unit that counts the quantity of the characteristic region as the quantity of the individual corresponding to the individual region.
The quantity of the individual corresponding to the individual region is counted for each time from the time when the individual region is detected to the time when the individual region is no longer detected, and the quantity of the individual corresponding to the counted individual region is counted as the time. With the integration unit, which integrates each time
An individual counting device characterized by having.
前記計数部は、更に、前記個体領域の大きさを示す値と、予め設定した前記個体の大きさを示す値との比に基づいて、前記個体領域に対応する前記個体の数量を計数する
ことを特徴とする個体計数装置。 The individual counting device according to claim 1.
The counting unit further counts the number of the individual corresponding to the individual area based on the ratio of the value indicating the size of the individual area to the preset value indicating the size of the individual. An individual counting device characterized by.
前記計数部は、更に、前記第一の画像における前記個体領域の大きさを示す値と、前記第二の画像における前記個体領域の大きさを示す値との比に基づいて、前記個体領域に対応する前記個体の数量を計数する
ことを特徴とする個体計数装置。 The individual counting device according to claim 1 or 2.
The counting unit further determines the individual region based on the ratio of the value indicating the size of the individual region in the first image to the value indicating the size of the individual region in the second image. An individual counting device characterized by counting the quantity of the corresponding individual.
(b)前記推定個体領域と前記第二の画像から検出した個体領域との重なりが所定領域値以上である場合、前記第一の画像と前記第二の画像の個体領域を同一と判定する、ステップと、
(c)予め設定した前記個体の特徴を示す特徴領域が前記個体領域に含まれる場合、前記特徴領域の数量を前記個体領域に対応する前記個体の数量として計数する、ステップと、
(d)前記個体領域を検出した時点から当該個体領域を検出しなくなる時点までの時間ごとに前記個体領域に対応する前記個体の数量を計数し、計数した前記個体領域に対応する前記個体の数量を前記時間が経過するごとに積算する、ステップと、
を有することを特徴とする個体計数方法。 (A) Based on the individual region indicating the individual detected from the first image, the estimated individual region in which the individual is estimated to move is estimated in the second image captured after the first image is captured. , Steps and
(B) When the overlap between the estimated individual area and the individual area detected from the second image is equal to or more than the predetermined area value, the individual areas of the first image and the second image are determined to be the same. Steps and
(C) When the individual region includes a preset characteristic region indicating the characteristics of the individual, the step of counting the quantity of the characteristic region as the quantity of the individual corresponding to the individual region, and the step.
(D) The quantity of the individual corresponding to the individual region is counted for each time from the time when the individual region is detected to the time when the individual region is no longer detected, and the quantity of the individual corresponding to the counted individual region is counted. With each step that accumulates each time the time elapses,
An individual counting method characterized by having.
前記(c)のステップにおいて、更に、前記個体領域の大きさを示す値と、予め設定した前記個体の大きさを示す値との比に基づいて、前記個体領域に対応する前記個体の数量を計数する
ことを特徴とする個体計数方法。 The individual counting method according to claim 4.
In the step (c), the number of the individual corresponding to the individual region is further determined based on the ratio of the value indicating the size of the individual region to the preset value indicating the size of the individual. An individual counting method characterized by counting.
前記(c)のステップにおいて、更に、前記第一の画像における前記個体領域の大きさを示す値と、前記第二の画像における前記個体領域の大きさを示す値との比に基づいて、前記個体領域に対応する前記個体の数量を計数する
ことを特徴とする個体計数方法。 The individual counting method according to claim 4 or 5.
In the step (c), further, based on the ratio of the value indicating the size of the individual region in the first image and the value indicating the size of the individual region in the second image, the said. An individual counting method characterized by counting the quantity of the individual corresponding to the individual area.
(a)第一の画像から検出した個体を示す個体領域に基づいて、前記第一の画像を撮像した後に撮像する第二の画像において、前記個体が移動すると推定される推定個体領域を推定する、ステップと、
(b)前記推定個体領域と前記第二の画像から検出した個体領域との重なりが所定領域値以上である場合、前記第一の画像と前記第二の画像の個体領域を同一と判定する、ステップと、
(c)予め設定した前記個体の特徴を示す特徴領域が前記個体領域に含まれる場合、前記特徴領域の数量を前記個体領域に対応する前記個体の数量として計数する、ステップと、
(d)前記個体領域を検出した時点から当該個体領域を検出しなくなる時点までの時間ごとに前記個体領域に対応する前記個体の数量を計数し、計数した前記個体領域に対応する前記個体の数量を前記時間が経過するごとに積算する、ステップと、
を実行させるための個体計数プログラム。 On the computer
(A) Based on the individual region indicating the individual detected from the first image, the estimated individual region in which the individual is estimated to move is estimated in the second image captured after the first image is captured. , Steps and
(B) When the overlap between the estimated individual area and the individual area detected from the second image is equal to or more than the predetermined area value, the individual areas of the first image and the second image are determined to be the same. Steps and
(C) When the individual region includes a preset characteristic region indicating the characteristics of the individual, the step of counting the quantity of the characteristic region as the quantity of the individual corresponding to the individual region, and the step.
(D) The quantity of the individual corresponding to the individual region is counted for each time from the time when the individual region is detected to the time when the individual region is no longer detected, and the quantity of the individual corresponding to the counted individual region is counted. With each step that accumulates each time the time elapses,
An individual counting program for executing .
前記コンピュータに、
前記(c)のステップにおいて、更に、前記個体領域の大きさを示す値と、予め設定した前記個体の大きさを示す値との比に基づいて、前記個体領域に対応する前記個体の数量を計数させる
ことを特徴とする個体計数プログラム。 The individual counting program according to claim 7.
To the computer
In the step (c), the number of the individual corresponding to the individual region is further determined based on the ratio of the value indicating the size of the individual region to the preset value indicating the size of the individual. Let me count
An individual counting program characterized by that.
前記コンピュータに、
前記(c)のステップにおいて、更に、前記第一の画像における前記個体領域の大きさを示す値と、前記第二の画像における前記個体領域の大きさを示す値との比に基づいて、前記個体領域に対応する前記個体の数量を計数させる
ことを特徴とする個体計数プログラム。 The individual counting program according to claim 7 or 8.
To the computer
In the step (c), further, based on the ratio of the value indicating the size of the individual region in the first image and the value indicating the size of the individual region in the second image, the said. Count the quantity of the individual corresponding to the individual area
An individual counting program characterized by that.
第一の画像から検出した前記個体を示す個体領域に基づいて、前記第一の画像を撮像した後に撮像する第二の画像において、前記個体が移動すると推定される推定個体領域を推定する、推定部と、
前記推定個体領域と前記第二の画像から検出した個体領域との重なりが所定領域値以上である場合、前記第一の画像と前記第二の画像の個体領域を同一と判定する、判定部と、
予め設定した前記個体の特徴を示す特徴領域が前記個体領域に含まれる場合、前記特徴領域の数量を前記個体領域に対応する前記個体の数量として計数する、計数部と、
前記個体領域を検出した時点から当該個体領域を検出しなくなる時点までの時間ごとに前記個体領域に対応する前記個体の数量を計数し、計数した前記個体領域に対応する前記個体の数量を前記時間が経過するごとに積算する、積算部と、
を有することを特徴とする個体計数システム。 An image pickup unit that captures an image of a path for moving the individual, which has a width set at least according to the size of the individual.
Based on the individual area indicating the individual detected from the first image, the estimated individual area in which the individual is estimated to move is estimated in the second image captured after the first image is captured. Department and
When the overlap between the estimated individual area and the individual area detected from the second image is equal to or more than the predetermined area value, the determination unit that determines that the individual area of the first image and the second image is the same. ,
When the individual region includes a preset characteristic region indicating the characteristics of the individual, a counting unit that counts the quantity of the characteristic region as the quantity of the individual corresponding to the individual region.
The quantity of the individual corresponding to the individual region is counted for each time from the time when the individual region is detected to the time when the individual region is no longer detected, and the quantity of the individual corresponding to the counted individual region is counted as the time. With the integration unit, which integrates each time
An individual counting system characterized by having.
前記計数部は、更に、前記個体領域の大きさを示す値と、予め設定した前記個体の大きさを示す値との比に基づいて、前記個体領域に対応する前記個体の数量を計数する
ことを特徴とする個体計数システム。 The individual counting system according to claim 10.
The counting unit further counts the number of the individual corresponding to the individual area based on the ratio of the value indicating the size of the individual area to the preset value indicating the size of the individual. An individual counting system characterized by.
前記計数部は、更に、前記第一の画像における前記個体領域の大きさを示す値と、前記第二の画像における前記個体領域の大きさを示す値との比に基づいて、前記個体領域に対応する前記個体の数量を計数する
ことを特徴とする個体計数システム。 The individual counting system according to claim 10 or 11.
The counting unit further determines the individual region based on the ratio of the value indicating the size of the individual region in the first image to the value indicating the size of the individual region in the second image. An individual counting system characterized by counting the quantity of the corresponding individual.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2018037918A JP7069840B2 (en) | 2018-03-02 | 2018-03-02 | Individual counting device, individual counting method, individual counting program, and individual counting system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2018037918A JP7069840B2 (en) | 2018-03-02 | 2018-03-02 | Individual counting device, individual counting method, individual counting program, and individual counting system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2019153077A JP2019153077A (en) | 2019-09-12 |
| JP7069840B2 true JP7069840B2 (en) | 2022-05-18 |
Family
ID=67946528
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2018037918A Expired - Fee Related JP7069840B2 (en) | 2018-03-02 | 2018-03-02 | Individual counting device, individual counting method, individual counting program, and individual counting system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7069840B2 (en) |
Families Citing this family (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP7237789B2 (en) * | 2019-09-27 | 2023-03-13 | ヤンマーパワーテクノロジー株式会社 | Fish counting system, fish counting method and program |
| JP7243986B2 (en) * | 2019-10-24 | 2023-03-22 | 中央電子株式会社 | Seafood Identification Method, Seafood Identification Program, and Seafood Identification System |
| WO2021112798A1 (en) * | 2019-12-03 | 2021-06-10 | Yonga Teknoloji Mikroelektronik Arge Tic. Ltd. Sti. | Fish counting machine and system |
| KR102129698B1 (en) * | 2019-12-19 | 2020-07-02 | 김맹기 | Automatic fish counting system |
| JP6876310B1 (en) * | 2020-03-18 | 2021-05-26 | マルハニチロ株式会社 | Counting system |
| JP6818283B1 (en) * | 2020-03-18 | 2021-01-20 | マルハニチロ株式会社 | Counting system, counting device, counting method and program |
| US11854250B2 (en) | 2020-09-16 | 2023-12-26 | Fsx, Inc. | Portable terminal and oshibori management system |
| CN116051991A (en) * | 2023-01-04 | 2023-05-02 | 浙江托普云农科技股份有限公司 | Method, system and device for judging and correcting repeated counting of insect infestation |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2016110381A (en) | 2014-12-05 | 2016-06-20 | 古野電気株式会社 | Number-of-objects counting device, program, and method for counting number of objects |
| JP2016165238A (en) | 2015-03-09 | 2016-09-15 | Necソリューションイノベータ株式会社 | Same fish determination device, fish counting device, mobile terminal for fish counting, same fish determination method, fish counting method, number of fish estimation device, number of fish estimation method, same fish determination system, fish counting system and number of fish estimation system |
| JP2017097510A (en) | 2015-11-20 | 2017-06-01 | ソニー株式会社 | Image processing apparatus, image processing method, and program |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0823882B2 (en) * | 1990-11-29 | 1996-03-06 | 株式会社テレコスモ | Passerby counting device and sales processing device |
| JP3831112B2 (en) * | 1998-03-30 | 2006-10-11 | 東日本旅客鉄道株式会社 | Moving object measuring device |
-
2018
- 2018-03-02 JP JP2018037918A patent/JP7069840B2/en not_active Expired - Fee Related
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2016110381A (en) | 2014-12-05 | 2016-06-20 | 古野電気株式会社 | Number-of-objects counting device, program, and method for counting number of objects |
| JP2016165238A (en) | 2015-03-09 | 2016-09-15 | Necソリューションイノベータ株式会社 | Same fish determination device, fish counting device, mobile terminal for fish counting, same fish determination method, fish counting method, number of fish estimation device, number of fish estimation method, same fish determination system, fish counting system and number of fish estimation system |
| JP2017097510A (en) | 2015-11-20 | 2017-06-01 | ソニー株式会社 | Image processing apparatus, image processing method, and program |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2019153077A (en) | 2019-09-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP7069840B2 (en) | Individual counting device, individual counting method, individual counting program, and individual counting system | |
| JP6832504B2 (en) | Object tracking methods, object tracking devices and programs | |
| US9471889B2 (en) | Video tracking based method for automatic sequencing of vehicles in drive-thru applications | |
| Vojíř et al. | The enhanced flock of trackers | |
| Ren et al. | Tracking the soccer ball using multiple fixed cameras | |
| US10373320B2 (en) | Method for detecting moving objects in a video having non-stationary background | |
| CN109727275B (en) | Object detection method, device, system and computer readable storage medium | |
| US20180096209A1 (en) | Non-transitory computer-readable storage medium, event detection apparatus, and event detection method | |
| CN105512587A (en) | Systems and methods for tracing light codes | |
| Shuai et al. | Large scale real-world multi-person tracking | |
| KR102226372B1 (en) | System and method for object tracking through fusion of multiple cameras and lidar sensor | |
| WO2013012091A1 (en) | Information processing apparatus, object tracking method, and program storage medium | |
| US20160078323A1 (en) | Method and apparatus for counting person | |
| JP6776719B2 (en) | Mobile group detection program, mobile group detection device, and mobile group detection method | |
| JP7497223B2 (en) | Image processing device, image processing method, and program | |
| CN107273815A (en) | A kind of individual behavior recognition methods and system | |
| US20060276964A1 (en) | Behavior detector and behavior detection method for a vehicle | |
| CN105744223A (en) | Video data processing method and apparatus | |
| US20250014190A1 (en) | Method and non-transitory computer-readable storage medium for detecting one or more occluded areas of a scene | |
| CN112633496A (en) | Detection model processing method and device | |
| KR102882837B1 (en) | Method, system and non-transitory computer-readable media for prioritizing objects for feature extraction | |
| CN114550062A (en) | Method and device for determining moving object in image, electronic equipment and storage medium | |
| JP6930389B2 (en) | Image collectors, programs, and methods | |
| JP6972962B2 (en) | Object tracking device, object tracking method, and object tracking program | |
| WO2018030048A1 (en) | Object tracking method, object tracking device, and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20210204 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20211214 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20211221 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20220214 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20220405 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20220418 |
|
| R151 | Written notification of patent or utility model registration |
Ref document number: 7069840 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
| LAPS | Cancellation because of no payment of annual fees |