JP6340769B2 - Object position estimation apparatus, object position estimation method, and program - Google Patents
Object position estimation apparatus, object position estimation method, and program Download PDFInfo
- Publication number
- JP6340769B2 JP6340769B2 JP2013213940A JP2013213940A JP6340769B2 JP 6340769 B2 JP6340769 B2 JP 6340769B2 JP 2013213940 A JP2013213940 A JP 2013213940A JP 2013213940 A JP2013213940 A JP 2013213940A JP 6340769 B2 JP6340769 B2 JP 6340769B2
- Authority
- JP
- Japan
- Prior art keywords
- random number
- sample point
- number sequence
- temporary
- sample points
- 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
- Image Analysis (AREA)
Description
本発明は、物体位置推定装置、物体位置推定方法及びプログラムに関する。 The present invention relates to an object position estimation device, an object position estimation method, and a program.
現在、パーティクルフィルタ(粒子フィルタ)を用いて、動画像上における物体の位置を推定したり、動画像上における物体を追跡したりする技術が知られている。例えば、特許文献1には、パーティクルフィルタを用いて、撮像された画像の中から人物を検出し、検出された人物の頭部分の領域を追従する撮像装置等が開示されている。
Currently, a technique for estimating the position of an object on a moving image or tracking the object on a moving image using a particle filter (particle filter) is known. For example,
ここで、パーティクルフィルタを用いて、動画像上における物体の位置を推定する場合、処理の途中で非常に多くの個数の乱数を用いることになる。特許文献1に開示された撮像装置では、処理の途中で乱数が必要となる度に乱数を発生させる手法を採用している。
Here, when the position of the object on the moving image is estimated using the particle filter, a very large number of random numbers are used during the process. The imaging apparatus disclosed in
しかしながら、乱数を発生させるためには、複雑な計算をしなければならないことが一般的である。このため、特許文献1に開示されているように、処理の途中で乱数が必要となる度に乱数を発生させる手法を採用すると、乱数の発生のために大きな処理負荷がかかる。従って、特許文献1に開示された撮像装置では、動画像上における物体の位置を推定する処理を高速で実行することができなかった。このため、動画像上における物体の位置を推定する処理を高速で実行することが可能な技術が望まれている。
However, in order to generate random numbers, it is generally necessary to perform complicated calculations. For this reason, as disclosed in
本発明は、このような状況に鑑みてなされたものであり、動画像上における物体の位置を推定する処理を高速で実行するのに好適な物体位置推定装置、物体位置推定方法及びプログラムを提供することを目的とする。 The present invention has been made in view of such a situation, and provides an object position estimation device, an object position estimation method, and a program suitable for executing processing for estimating the position of an object on a moving image at high speed. The purpose is to do.
前記目的を達成するため、本発明の物体位置推定装置の一態様は、
サンプル数分の乱数を有する少なくとも2個の第1乱数列と、前記サンプル数分の乱数を有する少なくとも2個の第2乱数列と、少なくとも2個の一様乱数を有する第3乱数列と、を生成する乱数列生成手段と、
生成された少なくとも2個の前記第1乱数列と、生成された少なくとも2個の前記第2乱数列と、生成された前記第3乱数列と、を予め記憶する乱数列記憶手段と、
サンプル点に付与されている重みが大きいほど多くの個数だけ、サンプル点と同じ座標の仮サンプル点を設定する仮サンプル点設定手段と、
予め記憶されている前記第3乱数列に基づいて、予め記憶されている少なくとも2個の前記第1乱数列の中から1個の前記第1乱数列を選択し、選択された1個の前記第1乱数列に基づいて、設定された仮サンプル点の中から前記サンプル数分の仮サンプル点を選択する仮サンプル点選択手段と、
予め記憶されている前記第2乱数列に基づいて、選択された仮サンプル点を移動させる仮サンプル点移動手段と、
移動後の仮サンプル点と同じ座標のサンプル点を設定するサンプル点設定手段と、
移動後のサンプル点における色と移動前のサンプル点における色との類似度が高いほど大きな重みを新たに付与する重み付与手段と、
設定されたサンプル点の座標と新たに付与された重みとに基づいて物体の位置を推定する物体位置推定手段と、
を備える、
ことを特徴とする。
また、前記目的を達成するため、本発明の物体位置推定装置の一態様は、
サンプル数分の乱数を有する少なくとも2個の第1乱数列と、前記サンプル数分の乱数を有する少なくとも2個の第2乱数列と、少なくとも2個の一様乱数を有する第4乱数列と、を生成する乱数列生成手段と、
生成された少なくとも2個の前記第1乱数列と、生成された少なくとも2個の前記第2乱数列と、生成された前記第4乱数列と、を予め記憶する乱数列記憶手段と、
サンプル点に付与されている重みが大きいほど多くの個数だけ、サンプル点と同じ座標の仮サンプル点を設定する仮サンプル点設定手段と、
予め記憶されている前記第1乱数列に基づいて、設定された仮サンプル点の中から、前記サンプル数分の仮サンプル点を選択する仮サンプル点選択手段と、
予め記憶されている前記第4乱数列に基づいて、予め記憶されている少なくとも2個の前記第2乱数列の中から2個の前記第2乱数列を選択し、選択された2個の前記第2乱数列に基づいて、選択された仮サンプル点を移動させる仮サンプル点移動手段と、
移動後の仮サンプル点と同じ座標のサンプル点を設定するサンプル点設定手段と、
移動後のサンプル点における色と移動前のサンプル点における色との類似度が高いほど大きな重みを新たに付与する重み付与手段と、
設定されたサンプル点の座標と新たに付与された重みとに基づいて物体の位置を推定する物体位置推定手段と、
を備える、
ことを特徴とする。
また、前記目的を達成するため、本発明の物体位置推定方法の一態様は、
サンプル数分の乱数を有する少なくとも2個の第1乱数列と、前記サンプル数分の乱数を有する少なくとも2個の第2乱数列と、少なくとも2個の一様乱数を有する第3乱数列と、を生成する乱数列生成ステップと、
生成された少なくとも2個の前記第1乱数列と、生成された少なくとも2個の前記第2乱数列と、生成された前記第3乱数列と、を予め記憶する乱数列記憶ステップと、
サンプル点に付与されている重みが大きいほど多くの個数だけ、サンプル点と同じ座標の仮サンプル点を設定する仮サンプル点設定ステップと、
予め記憶されている前記第3乱数列に基づいて、予め記憶されている少なくとも2個の前記第1乱数列の中から1個の前記第1乱数列を選択し、選択された1個の前記第1乱数列に基づいて、設定された仮サンプル点の中から前記サンプル数分の仮サンプル点を選択する仮サンプル点選択ステップと、
予め記憶された前記第2乱数列に基づいて、選択された仮サンプル点を移動させる仮サンプル点移動ステップと、
移動後の仮サンプル点と同じ座標のサンプル点を設定するサンプル点設定ステップと、
移動後のサンプル点における色と移動前のサンプル点における色との類似度が高いほど大きな重みを新たに付与する重み付与ステップと、
設定されたサンプル点の座標と新たに付与された重みとに基づいて物体の位置を推定する物体位置推定ステップと、
を含む、
ことを特徴とする。
また、前記目的を達成するため、本発明の物体位置推定方法の一態様は、
サンプル数分の乱数を有する少なくとも2個の第1乱数列と、前記サンプル数分の乱数を有する少なくとも2個の第2乱数列と、少なくとも2個の一様乱数を有する第4乱数列と、を生成する乱数列生成ステップと、
生成された少なくとも2個の前記第1乱数列と、生成された少なくとも2個の前記第2乱数列と、生成された前記第4乱数列と、を予め記憶する乱数列記憶ステップと、
サンプル点に付与されている重みが大きいほど多くの個数だけ、サンプル点と同じ座標の仮サンプル点を設定する仮サンプル点設定ステップと、
予め記憶された前記第1乱数列に基づいて、設定された仮サンプル点の中から前記サンプル数分の仮サンプル点を選択する仮サンプル点選択ステップと、
予め記憶されている前記第4乱数列に基づいて、予め記憶されている少なくとも2個の前記第2乱数列の中から2個の前記第2乱数列を選択し、選択された2個の前記第2乱数列に基づいて、選択された仮サンプル点を移動させる仮サンプル点移動ステップと、
移動後の仮サンプル点と同じ座標のサンプル点を設定するサンプル点設定ステップと、
移動後のサンプル点における色と移動前のサンプル点における色との類似度が高いほど大きな重みを新たに付与する重み付与ステップと、
設定されたサンプル点の座標と新たに付与された重みとに基づいて物体の位置を推定する物体位置推定ステップと、
を含む、
ことを特徴とする。
また、前記目的を達成するため、本発明のプログラムの一態様は、
コンピュータを、
サンプル数分の乱数を有する少なくとも2個の第1乱数列と、前記サンプル数分の乱数を有する少なくとも2個の第2乱数列と、少なくとも2個の一様乱数を有する第3乱数列と、を生成する乱数列生成手段、
生成された少なくとも2個の前記第1乱数列と、生成された少なくとも2個の前記第2乱数列と、生成された前記第3乱数列と、を予め記憶する乱数列記憶手段、
サンプル点に付与されている重みが大きいほど多くの個数だけ、サンプル点と同じ座標の仮サンプル点を設定する仮サンプル点設定手段、
予め記憶されている前記第3乱数列に基づいて、予め記憶されている少なくとも2個の前記第1乱数列の中から1個の前記第1乱数列を選択し、選択された1個の前記第1乱数列に基づいて、設定された仮サンプル点の中から前記サンプル数分の仮サンプル点を選択する仮サンプル点選択手段、
予め記憶されている前記第2乱数列に基づいて、選択された仮サンプル点を移動させる仮サンプル点移動手段、
移動後の仮サンプル点と同じ座標のサンプル点を設定するサンプル点設定手段、
移動後のサンプル点における色と移動前のサンプル点における色との類似度が高いほど大きな重みを新たに付与する重み付与手段、
設定されたサンプル点の座標と新たに付与された重みとに基づいて物体の位置を推定する物体位置推定手段、
として機能させる、
ことを特徴とする。
また、前記目的を達成するため、本発明のプログラムの一態様は、
コンピュータを、
サンプル数分の乱数を有する少なくとも2個の第1乱数列と、前記サンプル数分の乱数を有する少なくとも2個の第2乱数列と、少なくとも2個の一様乱数を有する第4乱数列と、を生成する乱数列生成手段、
生成された少なくとも2個の前記第1乱数列と、生成された少なくとも2個の前記第2乱数列と、生成された前記第4乱数列と、を予め記憶する乱数列記憶手段、
サンプル点に付与されている重みが大きいほど多くの個数だけ、サンプル点と同じ座標の仮サンプル点を設定する仮サンプル点設定手段、
予め記憶されている前記第1乱数列に基づいて、設定された仮サンプル点の中から前記サンプル数分の仮サンプル点を選択する仮サンプル点選択手段、
予め記憶されている前記第4乱数列に基づいて、予め記憶されている少なくとも2個の前記第2乱数列の中から2個の前記第2乱数列を選択し、選択された2個の前記第2乱数列に基づいて、選択された仮サンプル点を移動させる仮サンプル点移動手段、
移動後の仮サンプル点と同じ座標のサンプル点を設定するサンプル点設定手段、
移動後のサンプル点における色と移動前のサンプル点における色との類似度が高いほど大きな重みを新たに付与する重み付与手段、
設定されたサンプル点の座標と新たに付与された重みとに基づいて物体の位置を推定する物体位置推定手段、
として機能させる、
ことを特徴とする。
In order to achieve the above object, one aspect of the object position estimation apparatus of the present invention is:
And at least two first random number sequence having a number of samples of the random number, and at least two second random number sequence has a random number of the number of samples, and the third random number sequence having at least two uniform random numbers, A random number sequence generating means for generating
At least the two of the first random number sequence is generated, at least the two of the second random number sequence is generated, and the generated third random number sequence, a random number sequence storing means for storing in advance,
A temporary sample point setting means for setting a temporary sample point having the same coordinates as the sample point as the weight assigned to the sample point increases,
Based on the third random number sequence stored in advance, the first random number sequence is selected from at least two first random number sequences stored in advance, and the selected one random number Temporary sample point selection means for selecting temporary sample points for the number of samples from the set temporary sample points based on the first random number sequence;
Temporary sample point moving means for moving a selected temporary sample point based on the second random number sequence stored in advance;
Sample point setting means for setting a sample point having the same coordinates as the temporary sample point after movement;
Weight giving means for newly giving a larger weight as the degree of similarity between the color at the sample point after movement and the color at the sample point before movement is higher;
An object position estimating means for estimating the position of the object based on the coordinates of the set sample points and the newly assigned weight;
Equipped with a,
And wherein a call.
In order to achieve the above object, one aspect of the object position estimation apparatus of the present invention includes:
At least two first random number sequences having random numbers for the number of samples, at least two second random number sequences having random numbers for the number of samples, and a fourth random number sequence having at least two uniform random numbers; A random number sequence generating means for generating
Random number sequence storage means for storing in advance the generated at least two first random number sequences, the generated at least two second random number sequences, and the generated fourth random number sequence;
A temporary sample point setting means for setting a temporary sample point having the same coordinates as the sample point as the weight assigned to the sample point increases,
Temporary sample point selection means for selecting temporary sample points for the number of samples from the set temporary sample points based on the first random number sequence stored in advance;
Based on the fourth random number sequence stored in advance, two second random number sequences are selected from at least two second random number sequences stored in advance, and the two selected two random number sequences are selected. Temporary sample point moving means for moving the selected temporary sample point based on the second random number sequence;
Sample point setting means for setting a sample point having the same coordinates as the temporary sample point after movement;
Weight giving means for newly giving a larger weight as the degree of similarity between the color at the sample point after movement and the color at the sample point before movement is higher;
An object position estimating means for estimating the position of the object based on the coordinates of the set sample points and the newly assigned weight;
Comprising
It is characterized by that.
In order to achieve the above object, one aspect of the object position estimation method of the present invention includes:
And at least two first random number sequence having a number of samples of the random number, and at least two second random number sequence has a random number of the number of samples, and the third random number sequence having at least two uniform random numbers, A random number sequence generation step for generating
At least the two of the first random number sequence is generated, at least the two of the second random number sequence is generated, and the random number sequence storing step of storing the generated third random number sequence, previously,
A temporary sample point setting step for setting a larger number of temporary sample points having the same coordinates as the sample points as the weight given to the sample points is larger;
Based on the third random number sequence stored in advance, the first random number sequence is selected from at least two first random number sequences stored in advance, and the selected one random number A temporary sample point selection step of selecting temporary sample points corresponding to the number of samples from the set temporary sample points based on the first random number sequence;
A temporary sample point moving step of moving the selected temporary sample point based on the second random number sequence stored in advance;
A sample point setting step for setting a sample point having the same coordinates as the temporary sample point after movement;
A weighting step for newly giving a larger weight as the degree of similarity between the color at the sample point after movement and the color at the sample point before movement is higher;
An object position estimation step for estimating the position of the object based on the coordinates of the set sample points and the newly assigned weights;
Including,
And wherein a call.
In order to achieve the above object, one aspect of the object position estimation method of the present invention includes:
At least two first random number sequences having random numbers for the number of samples, at least two second random number sequences having random numbers for the number of samples, and a fourth random number sequence having at least two uniform random numbers; A random number sequence generation step for generating
A random number sequence storage step for storing in advance the generated at least two first random number sequences, the generated at least two second random number sequences, and the generated fourth random number sequence;
A temporary sample point setting step for setting a larger number of temporary sample points having the same coordinates as the sample points as the weight given to the sample points is larger;
A temporary sample point selecting step for selecting temporary sample points for the number of samples from the set temporary sample points based on the first random number sequence stored in advance;
Based on the fourth random number sequence stored in advance, two second random number sequences are selected from at least two second random number sequences stored in advance, and the two selected two random number sequences are selected. A temporary sample point moving step of moving the selected temporary sample point based on the second random number sequence;
A sample point setting step for setting a sample point having the same coordinates as the temporary sample point after movement;
A weighting step for newly giving a larger weight as the degree of similarity between the color at the sample point after movement and the color at the sample point before movement is higher;
An object position estimation step for estimating the position of the object based on the coordinates of the set sample points and the newly assigned weights;
including,
It is characterized by that.
In order to achieve the above object, one aspect of the program of the present invention is:
Computer
And at least two first random number sequence having a number of samples of the random number, and at least two second random number sequence has a random number of the number of samples, and the third random number sequence having at least two uniform random numbers, Random number sequence generation means for generating
At least two of the first random number sequence is generated, at least the two of the second random number sequence is generated, the generated third random number sequence and the random number sequence storing means for storing in advance,
Temporary sample point setting means for setting a larger number of temporary sample points having the same coordinates as the sample points as the weight given to the sample points is larger,
Based on the third random number sequence stored in advance, the first random number sequence is selected from at least two first random number sequences stored in advance, and the selected one random number Temporary sample point selection means for selecting temporary sample points corresponding to the number of samples from the set temporary sample points based on the first random number sequence;
Temporary sample point moving means for moving the selected temporary sample point based on the second random number sequence stored in advance;
Sample point setting means for setting a sample point having the same coordinates as the temporary sample point after movement,
Weight giving means for newly giving a larger weight as the degree of similarity between the color at the sample point after movement and the color at the sample point before movement is higher;
Object position estimating means for estimating the position of the object based on the coordinates of the set sample points and the newly assigned weights;
To function as a,
And wherein a call.
In order to achieve the above object, one aspect of the program of the present invention is:
Computer
At least two first random number sequences having random numbers for the number of samples, at least two second random number sequences having random numbers for the number of samples, and a fourth random number sequence having at least two uniform random numbers; Random number sequence generation means for generating
Random number sequence storage means for storing in advance the generated at least two first random number sequences, the generated at least two second random number sequences, and the generated fourth random number sequence;
Temporary sample point setting means for setting a larger number of temporary sample points having the same coordinates as the sample points as the weight given to the sample points is larger,
Temporary sample point selection means for selecting temporary sample points for the number of samples from the set temporary sample points based on the first random number sequence stored in advance;
Based on the fourth random number sequence stored in advance, two second random number sequences are selected from at least two second random number sequences stored in advance, and the two selected two random number sequences are selected. Temporary sample point moving means for moving the selected temporary sample point based on the second random number sequence;
Sample point setting means for setting a sample point having the same coordinates as the temporary sample point after movement,
Weight giving means for newly giving a larger weight as the degree of similarity between the color at the sample point after movement and the color at the sample point before movement is higher;
Object position estimating means for estimating the position of the object based on the coordinates of the set sample points and the newly assigned weights;
Function as
It is characterized by that.
本発明によれば、動画像上における物体の位置を推定する処理を高速で実行することができる。 According to the present invention, processing for estimating the position of an object on a moving image can be executed at high speed.
以下、図面を参照して、本発明の実施形態に係る物体位置推定装置100について説明する。
Hereinafter, an object
物体位置推定装置100は、撮像装置200から取得された動画像上において、追跡対象の物体の位置を推定する装置である。図1に示すように、物体位置推定装置100は、物理的には、CPU(Central Processing Unit)11、ROM(Read Only Memory)12、RAM(Random Access Memory)13、フラッシュメモリ14、RTC(Real Time Clock)15、タッチスクリーン16、インターフェース17、を備える。物体位置推定装置100が備える各構成要素は、バスを介して相互に接続される。
The object
CPU11は、物体位置推定装置100の全体の動作を制御する。なお、CPU11は、ROM12に格納されているプログラムに従って動作し、RAM13をワークエリアとして使用する。
The
ROM12には、物体位置推定装置100の全体の動作を制御するためのプログラムやデータが記憶される。
The
RAM13は、CPU11のワークエリアとして機能する。つまり、CPU11は、RAM13にプログラムやデータを一時的に書き込み、これらのプログラムやデータを適宜参照する。
The
フラッシュメモリ14は、各種の情報を記憶する不揮発性メモリである。例えば、フラッシュメモリ14は、各種の乱数列や動画像を記憶する。なお、物体位置推定装置100は、フラッシュメモリ14に代えて、ハードディスクなどを備えていてもよい。
The
RTC15は、計時用のデバイスである。RTC15は、例えば、電池を内蔵し、物体位置推定装置100の電源がオフの間も計時を継続する。RTC15は、例えば、水晶発振子を備える発振回路を備える。
The
タッチスクリーン16は、利用者によりなされたタッチ操作を検知し、検知の結果を示す信号をCPU11に供給する。また、タッチスクリーン16は、CPU11などから供給された画像信号に基づく画像を表示する。このように、タッチスクリーン16は、物体位置推定装置100のユーザインターフェースとして機能する。
The
インターフェース17は、アドホック通信やネットワーク通信により、撮像装置200と通信する。インターフェース17は、CPU11による指示に従って、撮像装置200の動作を制御する。また、インターフェース17は、撮像装置200から動画像を取得し、フラッシュメモリ14やタッチスクリーン16に供給する。インターフェース17は、USB(Universal Serial Bus)やIEEE(Institute of Electrical and Electronic Engineers)1394などのシリアル通信用のインターフェースであってもよいし、NIC(Network Interface Card)などのLAN(Local Area Network)インターフェースであってもよい。
The
撮像装置200は、追跡対象の物体を撮像し、動画像を生成する。なお、追跡対象の物体は、飛行機、車、ボールなどの人工物であってもよいし、星、動物、人、昆虫などの自然のものであってもよい。撮像装置200は、物体位置推定装置100と通信するためのインターフェースを備える。撮像装置200は、物体位置推定装置100による指示に従って動画像を生成する。撮像装置200は、生成した動画像を物体位置推定装置100に供給する。撮像装置200は、例えば、デジタルカメラ、ビデオカメラ、スマートフォンである。
The
次に、図2を参照して、物体位置推定装置100が備える基本的な機能について説明する。図2に示すように、物体位置推定装置100は、乱数列生成部101、乱数列記憶部102、仮サンプル点設定部103、仮サンプル点選択部104、仮サンプル点移動部105、サンプル点設定部106、重み付与部107、物体位置推定部108、動画像取得部109を備える。
Next, basic functions of the object
乱数列生成部101は、選択用乱数列(第1乱数列)と移動用乱数列(第2乱数列)とを生成する。選択用乱数列は、設定された仮サンプル点から、サンプル数(サンプル点の個数)分の仮サンプル点を選択するための乱数列である。従って、選択用乱数列は、サンプル数分の乱数を有する。なお、本実施形態では、乱数は、擬似乱数であるものとする。移動用乱数列は、選択された仮サンプル点を移動させるための乱数である。従って、移動用乱数列は、サンプル数分の乱数を有する。
The random number
ここで、一般的に、乱数を生成するためには、複雑な演算を実行する必要がある。このため、乱数を生成するためには、長い処理時間が必要となる。このため、例えば、物体位置推定装置100は、乱数を用いる直前に、随時、乱数を発生させると、物体位置推定処理を高速に実行できなくなる。そこで、本実施形態では、物体位置推定装置100は、物体位置推定処理の処理速度を低下させないタイミングで、乱数を発生させる。具体的には、例えば、物体位置推定装置100の電源が投入された直後に、前もって、乱数列生成部101が選択用乱数列や移動用乱数列を生成する。なお、乱数列生成部101は、サンプル数分の乱数を高速に発生させるために、連続して乱数を発生させることが好適である。乱数列生成部101は、例えば、CPU11、RTC15を備える。
Here, generally, in order to generate a random number, it is necessary to perform a complicated operation. For this reason, in order to generate a random number, a long processing time is required. For this reason, for example, if the object
乱数列記憶部102は、乱数列生成部101により生成された選択用乱数列と移動用乱数列とを記憶する。乱数列記憶部102は、例えば、CPU11、フラッシュメモリ14を備える。そして、CPU11は、生成した選択用乱数列や移動用乱数列を、フラッシュメモリ14などに記憶する。
The random number
仮サンプル点設定部103は、設定済フレーム画像に設定されている、サンプル数分のサンプル点のそれぞれについて、サンプル点と同じ座標の仮サンプル点を設定する。ここで、サンプル点は、動画像、もしくは、動画像を構成するフレーム画像上において、推定される物体の位置を示す点である。ここで、設定済フレーム画像は、動画像を構成するフレーム画像のうち、サンプル点が設定済みのフレーム画像である。なお、サンプル点には、重みが付与される。本実施形態では、サンプル点に付与されている重みは、このサンプル点の物体の位置を示す点としての尤もらしさを示す尤度であるものとする。
The temporary sample
ここで、仮サンプル点設定部103は、サンプル点に付与されている重みが大きいほど多くの個数、仮サンプル点を設定する。なお、仮サンプル点は、設定対象フレーム画像に新たなサンプル点を設定するための仮のサンプル点である。サンプル点や仮サンプル点は、例えば、フレーム画像上における座標(X軸座標、Y軸座標)により表される。仮サンプル点設定部103は、例えば、CPU11を備える。
Here, the temporary sample
仮サンプル点選択部104は、乱数列記憶部102に記憶されている選択用乱数列に基づいて、仮サンプル点設定部103により設定された仮サンプル点の中から、サンプル数分の仮サンプル点を選択する。なお、仮サンプル点選択部104は、選択用乱数列に含まれる1個の乱数に基づいて、1個の仮サンプル点を選択することができる。また、仮サンプル点選択部104は、重複を許して、仮サンプル点を選択することができる。つまり、仮サンプル点選択部104は、仮サンプル点設定部103により設定された仮サンプル点の中から、1個の仮サンプル点を、複数回、選択することができる。仮サンプル点選択部104は、例えば、CPU11を備える。
The temporary sample
仮サンプル点移動部105は、乱数列記憶部102に記憶されている移動用乱数列に基づいて、仮サンプル点選択部104により選択された仮サンプル点のそれぞれを移動させる。例えば、仮サンプル点移動部105は、移動用乱数列に含まれる1個の乱数に基づいて、1個の仮サンプル点を移動させることができる。なお、仮サンプル点を移動させることは、仮サンプル点の座標を、乱数の値に応じて、変化させることである。また、仮サンプル点移動部105は、乱数の値のみに従って仮サンプル点を移動させてもよいし、乱数の値と予測される運動方程式とに従って仮サンプル点を移動させてもよい。
The temporary sample
この運動方程式は、物体のフレーム画像上における位置を予測する運動方程式である。この運動方程式は、物体位置推定処理が実行される前に、予測された運動方程式であってもよいし、物体位置推定処理の実行中に、推定された物体の位置の軌跡などに基づいて予測された運動方程式であってもよい。仮サンプル点移動部105は、例えば、CPU11を備える。
This equation of motion is an equation of motion for predicting the position of the object on the frame image. This equation of motion may be a predicted equation of motion before the object position estimation process is executed, or is predicted based on the estimated locus of the object position during the execution of the object position estimation process. The equation of motion may be The temporary sample
サンプル点設定部106は、仮サンプル点移動部105による移動後の仮サンプル点とそれぞれ同じサンプル点を、設定対象フレーム画像に設定する。なお、設定対象フレーム画像は、動画像を構成するフレーム画像のうち、サンプル点の設定対象となるフレーム画像であって、これからサンプル点を設定しようとしているフレーム画像である。なお、設定済フレーム画像に設定されているサンプル点に基づいて、設定対象フレーム画像にサンプル点を設定することを、リサンプリングという。
The sample point setting unit 106 sets the same sample points as the temporary sample points after being moved by the temporary sample
本実施形態では、設定対象フレーム画像は、動画像を構成するフレーム画像のうち、最新の設定済フレーム画像の次のフレーム画像であり、サンプル点が設定されると最新の設定済フレーム画像となるものとする。つまり、本実施形態では、動画像を構成する全てのフレーム画像にサンプル点が設定されるものとする。なお、リサンプリングにより、フレーム画像の集合体である動画像上において時間の経過とともに移動する物体を、動画像上(フレーム画像上)においてサンプル点が追従することになる。サンプル点設定部106は、例えば、CPU11を備える。
In the present embodiment, the setting target frame image is a frame image next to the latest set frame image among the frame images constituting the moving image, and becomes the latest set frame image when the sample point is set. Shall. That is, in this embodiment, sample points are set for all the frame images constituting the moving image. Note that, by resampling, a sample point follows an object that moves over time on a moving image that is an aggregate of frame images on the moving image (on the frame image). The sample point setting unit 106 includes, for example, a
重み付与部107は、サンプル点設定部106により設定されたサンプル点のそれぞれに、重みを付与する。サンプル点に付与される重みは、例えば、サンプル点の物体の位置を示す点としての確からしさ(尤度)に応じて付与される。例えば、重み付与部107は、設定対象フレーム画像に設定されたサンプル点に、設定済フレーム画像に設定されている、このサンプル点に対応するサンプル点における色と、設定対象フレーム画像に設定されたサンプル点における色と、の類似度が高いほど大きな重みを付与する。なお、設定対象フレーム画像に設定されたサンプル点に対応するサンプル点とは、設定済フレーム画像に設定されているサンプル点のうち、設定対象フレーム画像に設定されたサンプル点と同じ座標の仮サンプル点の移動前の座標に設定されているサンプル点である。
The
ここで、物体(もしくは、物体の一部)を表す画素の集合体は、輝度値に差がない(色の類似度が高い)確率が高いと予測される。従って、設定済フレーム画像に設定されているサンプル点が、物体の位置を適切に示していたと仮定すると、設定対象フレーム画像に設定された対応するサンプル点が、物体の位置を適切に示す場合、色の類似度が高くなるものと考えられる。つまり、上述した色の類似度が高いことは、リサンプリングの仕方が、物体の移動に応じた適切なものであった確率が高いことを意味する。 Here, an aggregate of pixels representing an object (or a part of the object) is predicted to have a high probability that there is no difference in luminance value (high color similarity). Therefore, assuming that the sample point set in the set frame image appropriately indicates the position of the object, when the corresponding sample point set in the setting target frame image appropriately indicates the position of the object, It is considered that the color similarity is increased. In other words, the above-described high degree of color similarity means that there is a high probability that the resampling method is appropriate according to the movement of the object.
従って、重み付与部107は、この色の類似度が高いほど、サンプル点に大きな重みを付与する。一方、仮サンプル点設定部103は、サンプル点に付与されている重みが大きいほど、多くの個数、このサンプル点と同じ座標の仮サンプル点を設定する。このような処理を繰り返すうちに、物体の位置を適切に示しているサンプル点が増加し、物体の位置を適切に示していないサンプル点が減少する。結果として、動画像上(フレーム画像上)に設定されているサンプル点は、高い確率で、物体の位置を適切に示すことになる。つまり、サンプル点は、動画像上(フレーム画像上)において、物体の位置を適切に追従するように更新される。重み付与部107は、例えば、CPU11を備える。
Therefore, the
物体位置推定部108は、設定対象フレーム画像に設定されたサンプル点のそれぞれの座標と、重み付与部107により、設定対象フレーム画像に設定されたサンプル点のそれぞれに付与された重みと、に基づいて、動画像上における物体の位置を推定する。例えば、物体位置推定部108は、サンプル点に付与された重みを加重して、全てのサンプル点の座標の平均値を求めることにより、全てのサンプル点の重心の座標を求める。そして、物体位置推定部108は、全てのサンプル点の重心の座標を、物体の中心の座標であると推定する。物体位置推定部108は、例えば、CPU11を備える。
The object
動画像取得部109は、撮像装置200から動画像を取得する。動画像取得部109は、重み付与部107などに、取得した動画像を構成するフレーム画像を1個ずつ供給することができる。動画像取得部109は、例えば、フラッシュメモリ14やインターフェース17を備える。
The moving image acquisition unit 109 acquires a moving image from the
ここで、選択用乱数列は、サンプル数分の一様乱数を有してもよい。なお、一様乱数は、有限の区間内に存在する全ての実数が、同じ確率で現れるような乱数である。ここで、選択用乱数列は、設定された仮サンプル点の中から、サンプル数分の仮サンプル点を選択するために用いられる。従って、選択用乱数列が有する一様乱数は、例えば、設定される仮サンプル点の個数の上限値以下の自然数である。 Here, the selection random number sequence may have a uniform random number corresponding to the number of samples. The uniform random number is a random number such that all real numbers existing within a finite interval appear with the same probability. Here, the selection random number sequence is used to select temporary sample points corresponding to the number of samples from the set temporary sample points. Therefore, the uniform random number included in the selection random number sequence is, for example, a natural number equal to or less than the upper limit value of the number of provisional sample points to be set.
また、移動用乱数列は、サンプル数分の正規乱数を有してもよい。なお、正規乱数は、有限の区間内に存在する全ての実数が、正規分布に従った確率で現れるような乱数である。実際に物体の位置を推定する場合、物体が想定される最大距離を移動する、すなわち物体が想定される最大の速度で運動を常時続けることは考えづらく、次のフレームでは最大距離より短い距離を移動している可能性が高い。そのため、期待値0の正規乱数を用いると、0に近い値が出る確率が増加し「想定される一番遠い位置に移動する可能性は低く、より近い位置に移動する可能性が高い」という状況を反映することができる。また、このような確率分布であるならば他の乱数を用いてもよい。ここで、移動用乱数列は、選択された仮サンプル点を移動させるために用いられる。従って、移動用乱数列が有する正規乱数は、例えば、仮サンプル点の移動量(画素数)の上限値以下の絶対値を有する自然数である。 Further, the moving random number sequence may have normal random numbers corresponding to the number of samples. The normal random number is a random number such that all real numbers existing within a finite interval appear with a probability according to a normal distribution. When actually estimating the position of an object, it is difficult to consider that the object moves the maximum distance assumed, that is, the object always keeps moving at the maximum speed assumed, and in the next frame, a distance shorter than the maximum distance is assumed. There is a high possibility of moving. Therefore, if a normal random number with an expected value of 0 is used, the probability that a value close to 0 will be increased, and “the possibility of moving to the assumed farthest position is low and the possibility of moving to a closer position is high” is said. The situation can be reflected. Also, other random numbers may be used as long as such a probability distribution. Here, the random number sequence for movement is used to move the selected temporary sample point. Accordingly, the normal random number included in the moving random number sequence is, for example, a natural number having an absolute value equal to or less than the upper limit value of the moving amount (number of pixels) of the temporary sample point.
ここで、乱数列生成部101は、少なくとも2個の選択用乱数列と、少なくとも2個の移動用乱数列と、少なくとも2個の一様乱数を有する選択用乱数列選択用乱数列(第3乱数列)と、少なくとも2個の一様乱数を有する移動用乱数列選択用乱数列(第4乱数列)とを生成することができる。
Here, the random number
なお、少なくとも2個の選択用乱数列のそれぞれは、サンプル数分の乱数を有する。また、少なくとも2個の移動用乱数列のそれぞれは、サンプル数分の乱数を有する。ここで、選択用乱数列選択用乱数列が有する少なくとも2個の一様乱数のそれぞれは、例えば、選択用乱数列の個数を上限とする自然数である。また、移動用乱数列選択用乱数列が有する少なくとも2個の一様乱数のそれぞれは、例えば、移動用乱数列の個数を上限とする自然数である。 Each of the at least two selection random number sequences has a random number corresponding to the number of samples. Each of the at least two moving random number sequences has a random number corresponding to the number of samples. Here, each of the at least two uniform random numbers included in the selection random number sequence selection random number sequence is, for example, a natural number whose upper limit is the number of selection random number sequences. Each of the at least two uniform random numbers included in the moving random number sequence selection random number sequence is, for example, a natural number whose upper limit is the number of moving random number sequences.
一方、乱数列記憶部102は、乱数列生成部101により生成された少なくとも2個の選択用乱数列と少なくとも2個の移動用乱数列と選択用乱数列選択用乱数列と移動用乱数列選択用乱数列とを記憶することができる。
On the other hand, the random number
ここで、仮サンプル点選択部104は、乱数列記憶部102に記憶されている選択用乱数列選択用乱数列に基づいて、乱数列記憶部102に記憶されている少なくとも2個の選択用乱数列の中から1個の選択用乱数列を選択することができる。そして、仮サンプル点選択部104は、選択された1個の選択用乱数列に基づいて、仮サンプル点設定部103により設定された仮サンプル点の中から、サンプル数分の仮サンプル点を選択することができる。
Here, the temporary sample
また、仮サンプル点移動部105は、乱数列記憶部102に記憶されている移動用乱数列選択用乱数列に基づいて、乱数列記憶部102に記憶されている少なくとも2個の移動用乱数列の中から2個の移動用乱数列を選択することができる。そして、仮サンプル点移動部105は、選択された2個の移動用乱数列に基づいて、仮サンプル点選択部104により選択された仮サンプル点のそれぞれを移動させることができる。ここで、仮サンプル点移動部105は、例えば、選択された2個の移動用乱数列のうち一方の移動用乱数列に基づいて、仮サンプル点のそれぞれをX軸方向に移動させ、他方の移動用乱数列に基づいて、仮サンプル点のそれぞれをY軸方向に移動させることができる。
The temporary sample
次に、図3を参照して、選択用乱数列について説明する。なお、上述したように、選択用乱数列は、設定された仮サンプル点の中から、サンプル数分の仮サンプル点を選択するために用いられる。 Next, the random number sequence for selection will be described with reference to FIG. As described above, the selection random number sequence is used to select temporary sample points corresponding to the number of samples from the set temporary sample points.
図3は、選択用乱数列の個数がM個であり、選択用乱数列が有する乱数の個数がN個である例を示している。ここで、Mは、予め用意する乱数列の個数(パターン数)であり、自然数である。また、Nは、サンプル数(1個のフレーム画像に設定するサンプル点の個数)であり、自然数である。ここで、Rs[m,n]は、m番目の選択用乱数列のうちのn番目の乱数を示す。なお、Rs[m,n]は、例えば、設定される仮サンプル点の個数の上限値を、上限値とする自然数である。また、mは、M以下の自然数であり、nは、N以下の自然数である。 FIG. 3 shows an example in which the number of selection random number sequences is M and the number of random numbers included in the selection random number sequence is N. Here, M is the number (number of patterns) of a random number sequence prepared in advance, and is a natural number. N is the number of samples (the number of sample points set in one frame image), which is a natural number. Here, Rs [m, n] represents the nth random number in the mth selection random number sequence. Note that Rs [m, n] is a natural number having, for example, the upper limit value of the number of provisional sample points to be set. Further, m is a natural number equal to or less than M, and n is a natural number equal to or less than N.
次に、図4を参照して、移動用乱数列について説明する。なお、図4(A)は、横軸移動用乱数列を示し、図4(B)は、縦軸移動用乱数列を示している。横軸移動用乱数列は、選択された仮サンプル点の横軸方向(X軸方向)の移動量のそれぞれを決定するために用いられる。一方、縦軸移動用乱数列は、選択された仮サンプル点の縦軸方向(Y軸方向)の移動量のそれぞれを決定するために用いられる。 Next, the moving random number sequence will be described with reference to FIG. 4A shows a random number sequence for horizontal axis movement, and FIG. 4B shows a random number sequence for vertical axis movement. The random number sequence for horizontal axis movement is used to determine the amount of movement of the selected temporary sample point in the horizontal axis direction (X-axis direction). On the other hand, the random number sequence for vertical axis movement is used to determine each movement amount of the selected temporary sample point in the vertical axis direction (Y-axis direction).
図4(A)は、横軸移動用乱数列の個数がM個であり、横軸移動用乱数列が有する乱数の個数がN個である例を示している。ここで、Rmx[m,n]は、m番目の横軸移動用乱数列のうちのn番目の乱数を示す。なお、Rmx[m,n]は、例えば、横軸方向に移動可能な画素数の上限値を、絶対値の上限値とする整数である。 FIG. 4A shows an example in which the number of random number sequences for horizontal axis movement is M and the number of random numbers included in the random number sequence for horizontal axis movement is N. Here, Rmx [m, n] represents the nth random number in the mth horizontal axis moving random number sequence. Note that Rmx [m, n] is an integer whose upper limit value is the upper limit value of the number of pixels that can be moved in the horizontal axis direction, for example.
図4(B)は、縦軸移動用乱数列の個数がM個であり、縦軸移動用乱数列が有する乱数の個数がN個である例を示している。ここで、Rmy[m,n]は、m番目の縦軸移動用乱数列のうちのn番目の乱数を示す。なお、Rmy[m,n]は、例えば、縦軸方向に移動可能な画素数の上限値を、絶対値の上限値とする整数である。 FIG. 4B shows an example in which the number of random number sequences for vertical axis movement is M, and the number of random numbers included in the random number sequence for vertical axis movement is N. Here, Rmy [m, n] represents the nth random number in the mth vertical axis moving random number sequence. Note that Rmy [m, n] is an integer whose upper limit value is the upper limit value of the number of pixels movable in the vertical axis direction, for example.
次に、図5を参照して、乱数列選択用乱数列について説明する。なお、図5(A)は、選択用乱数列選択用乱数列を示し、図5(B)は、横軸移動用乱数列選択用乱数列を示し、図5(C)は、縦軸移動用乱数列選択用乱数列を示している。選択用乱数列選択用乱数列は、M個の選択用乱数列の中から、1個の選択用乱数列を選択するために用いられる。横軸移動用乱数列選択用乱数列は、M個の横軸移動用乱数列の中から、1個の横軸移動用乱数列を選択するために用いられる。縦軸移動用乱数列選択用乱数列は、M個の縦軸移動用乱数列の中から、1個の縦軸移動用乱数列を選択するために用いられる。 Next, a random number sequence selection random number sequence will be described with reference to FIG. 5A shows a selection random number sequence selection random number sequence, FIG. 5B shows a horizontal axis movement random number sequence selection random number sequence, and FIG. 5C shows a vertical axis movement. The random number sequence for random number is shown. The selection random number sequence is used to select one selection random number sequence from among the M selection random number sequences. The horizontal axis movement random number sequence selection random number sequence is used to select one horizontal axis movement random number sequence from among the M horizontal axis movement random number sequences. The vertical axis moving random number sequence selection random number sequence is used to select one vertical axis moving random number sequence from among the M vertical axis moving random number sequences.
図5(A)は、選択用乱数列選択用乱数列が有する乱数の個数がG個である例を示している。ここで、Gは、自然数である。また、Rss[g]は、選択用乱数列選択用乱数列のうちのg番目の乱数を示す。ここで、Rss[g]は、例えば、Mを上限値とする自然数である。なお、gは、G以下の自然数である。 FIG. 5A illustrates an example in which the number of random numbers included in the selection random number sequence selection random number sequence is G. Here, G is a natural number. Rss [g] represents the g-th random number in the selection random number sequence selection random number sequence. Here, Rss [g] is, for example, a natural number having M as an upper limit value. Note that g is a natural number equal to or less than G.
図5(B)は、横軸移動用乱数列選択用乱数列が有する乱数の個数がG個である例を示している。また、Rmxs[g]は、横軸移動用乱数列選択用乱数列のうちのg番目の乱数を示す。ここで、Rmxs[g]は、例えば、Mを上限値とする自然数である。 FIG. 5B shows an example in which the number of random numbers included in the random number sequence for selecting a random number sequence for moving on the horizontal axis is G. Rmxs [g] indicates the g-th random number in the random number sequence for selecting a horizontal axis moving random number sequence. Here, Rmxs [g] is, for example, a natural number with M as an upper limit value.
図5(C)は、縦軸移動用乱数列選択用乱数列が有する乱数の個数がG個である例を示している。また、Rmys[g]は、縦軸移動用乱数列選択用乱数列のうちのg番目の乱数を示す。ここで、Rmys[g]は、例えば、Mを上限値とする自然数である。 FIG. 5C illustrates an example in which the number of random numbers included in the random number sequence for selecting a vertical axis moving random number sequence is G. Rmys [g] represents the g-th random number in the random number sequence for selecting a vertical axis moving random number sequence. Here, Rmys [g] is, for example, a natural number with M as an upper limit value.
なお、CPU11は、物体位置推定処理の本処理を開始する前に、物体位置推定処理の前処理において、それぞれがN個の乱数を備えるM個の選択用乱数列、それぞれがN個の乱数を備えるM個の横軸移動用乱数列、それぞれがN個の乱数を備えるM個の縦軸移動用乱数列、G個の乱数を備える選択用乱数列選択用乱数列、G個の乱数を備える横軸移動用乱数列選択用乱数列、G個の乱数を備える縦軸移動用乱数列選択用乱数列を生成し、フラッシュメモリ14などに記憶する。
In addition, before starting the main process of the object position estimation process, the
次に、図6を参照して、設定済フレーム画像に設定されているサンプル点について説明する。 Next, the sample points set in the set frame image will be described with reference to FIG.
サンプル点は、動画像上において、追従すべき物体の推定位置を示す点である。ただし、物体位置推定装置100は、物体位置推定処理が開始された直後や、物体位置推定処理の途中で物体を見失った直後は、動画像上のどのあたりに物体が存在しているのかを正確に推定できない場合がある。このような場合、図6に示すように、設定済フレーム画像には、物体の位置に依存しない位置にサンプル点が設定されることになる。
The sample point is a point indicating the estimated position of the object to be followed on the moving image. However, whether the object
図6において、Ps[1]、Ps[2]、・・・、Ps[10]は、それぞれ、1番目、2番目、・・・、10番目のサンプル点を示す。なお、図6においては、理解を容易にするため、サンプル点の個数が10個である例(N=10である例)を示している。図6に示すサンプル点は、物体600の位置を正確に示していない。しかしながら、後述するように、リサンプリングされる毎に、サンプル点の位置が適切に更新されることにより、徐々に、サンプル点が物体600の位置を示すようになる。なお、サンプル数は、リサンプリングされても不変である。
In FIG. 6, Ps [1], Ps [2],..., Ps [10] indicate the first, second,. FIG. 6 shows an example in which the number of sample points is 10 (an example where N = 10) for easy understanding. The sample points shown in FIG. 6 do not accurately indicate the position of the
ここで、設定済フレーム画像に設定されているサンプル点のそれぞれに設定される仮サンプル点について説明する。図7は、設定済フレーム画像に設定されているサンプル点のそれぞれに対して、サンプル点に付与されている尤度に応じた個数の仮サンプル点が設定される様子を示す図である。なお、サンプル点に付与されている尤度は、このサンプル点が設定済フレーム画像上において物体の位置を示す点としての尤もらしさを示す概念である。このように、本実施形態では、サンプル点に付与される重みとして、尤度を採用する。 Here, the temporary sample points set for each of the sample points set in the set frame image will be described. FIG. 7 is a diagram illustrating a state in which the number of temporary sample points corresponding to the likelihood given to the sample points is set for each of the sample points set in the set frame image. The likelihood given to the sample point is a concept indicating the likelihood that the sample point is a point indicating the position of the object on the set frame image. Thus, in this embodiment, likelihood is adopted as the weight given to the sample points.
図7は、サンプル点に付与されている尤度が高いほど、このサンプル点に対して設定される仮サンプル点の個数が多くなる様子を示している。このように、物体の位置を示す点としての尤度が高いサンプル点と同じ座標の仮サンプル点の個数が多いと、これらの仮サンプル点は、後述する選択処理により選ばれやすくなる。その結果、サンプル点に付与される尤度が全体的に高くなり、サンプル点により物体の位置が正確に示されるようになることが期待される。 FIG. 7 shows that the number of temporary sample points set for a sample point increases as the likelihood assigned to the sample point increases. As described above, when the number of temporary sample points having the same coordinates as the sample points having a high likelihood as a point indicating the position of the object is large, these temporary sample points are easily selected by a selection process described later. As a result, it is expected that the likelihood given to the sample points increases as a whole, and the position of the object is accurately indicated by the sample points.
本実施形態では、理解を容易にするため、尤度が自然数であり、尤度により示される個数の仮サンプル点が設定されるものとする。例えば、1番目のサンプル点(Ps[1])に付与されている尤度は1であるため、1番目のサンプル点に対しては、1個の仮サンプル点(Psp[1])が設定される。一方、10番目のサンプル点(Ps[10])に付与されている尤度は6であるため、10番目のサンプル点に対しては、6個の仮サンプル点(Psp[15]−Psp[20])が設定される。 In the present embodiment, in order to facilitate understanding, the likelihood is a natural number, and the number of temporary sample points indicated by the likelihood is set. For example, since the likelihood given to the first sample point (Ps [1]) is 1, one temporary sample point (Psp [1]) is set for the first sample point. Is done. On the other hand, since the likelihood given to the 10th sample point (Ps [10]) is 6, for the 10th sample point, 6 temporary sample points (Psp [15] −Psp [ 20]) is set.
なお、Psp[1]、Psp[2]、・・・、Psp[20]のそれぞれは、仮サンプル点を示す。ここで、サンプル点に対して設定される仮サンプル点の座標は、このサンプル点の座標と同じである。例えば、Ps[1]の座標とPsp[1]の座標とは同じである。また、Ps[10]の座標とPsp[15]−Psp[20]のそれぞれの座標とは同じである。 Each of Psp [1], Psp [2],..., Psp [20] represents a temporary sample point. Here, the coordinates of the temporary sample points set for the sample points are the same as the coordinates of the sample points. For example, the coordinates of Ps [1] and Psp [1] are the same. Further, the coordinates of Ps [10] and the coordinates of Psp [15] -Psp [20] are the same.
図8は、サンプル点毎に設定された仮サンプル点を示す図である。なお、図8は、理解を容易にするため、サンプル点毎に設定された仮サンプル点が、設定対象フレーム画像に設定されている様子を示している。また、図8では、理解を容易にするため、同じ座標の仮サンプル点を、重ねずに隣接させて表示している。例えば、3番目の仮サンプル点であるPsp[3]と、4番目の仮サンプル点であるPsp[4]とは、同じ座標であるが、見やすいように重ねずに表示されている。 FIG. 8 is a diagram showing temporary sample points set for each sample point. FIG. 8 shows a state where temporary sample points set for each sample point are set in a setting target frame image for easy understanding. Further, in FIG. 8, temporary sample points having the same coordinates are displayed adjacent to each other without being overlapped for easy understanding. For example, Psp [3], which is the third temporary sample point, and Psp [4], which is the fourth temporary sample point, have the same coordinates but are displayed without being overlapped so that they can be easily seen.
次に、設定された仮サンプル点から、サンプル数分の仮サンプル点を選択する手法について説明する。図9は、設定された仮サンプル点から、サンプル数分の仮サンプル点が選択された様子を示している。図9では、20個の仮サンプル点(Psp[1]−Psp[20])から、10個の仮サンプル点(Psp[3]、Psp[5]、Psp[6]、Psp[10]、Psp[11]、Psp[13]、Psp[14]、Psp[15]、Psp[16]、Psp[17])が選択された例を示している。 Next, a method for selecting temporary sample points for the number of samples from the set temporary sample points will be described. FIG. 9 shows a state where temporary sample points for the number of samples are selected from the set temporary sample points. In FIG. 9, 20 temporary sample points (Psp [1] -Psp [20]) to 10 temporary sample points (Psp [3], Psp [5], Psp [6], Psp [10], In this example, Psp [11], Psp [13], Psp [14], Psp [15], Psp [16], and Psp [17] are selected.
ここで、仮サンプル点は、選択用乱数列と選択用乱数列選択用乱数列とに基づいて、選択される。まず、選択用乱数列選択用乱数列に含まれるG個の乱数の中から1個の乱数が選択される。本実施形態では、乱数を選択するためのカウンタ変数により示される要素番号の乱数が、選択用乱数列選択用乱数列から選択されるものとする。なお、このカウンタ変数として、例えば、初期値が1であり、乱数の選択の度に1ずつ増加し、Gの次は1に設定される変数を採用することができる。 Here, the temporary sample points are selected based on the selection random number sequence and the selection random number sequence selection random number sequence. First, one random number is selected from the G random numbers included in the selection random number sequence. In this embodiment, it is assumed that a random number having an element number indicated by a counter variable for selecting a random number is selected from a random number sequence for selecting a random number sequence for selection. As the counter variable, for example, an initial value is 1, which is incremented by 1 each time a random number is selected, and a variable set to 1 after G can be adopted.
なお、選択用乱数列選択用乱数列から選択される1個の乱数は、M以下の自然数である。従って、選択用乱数列選択用乱数列から選択される1個の乱数に基づいて、M個の選択用乱数列の中から1個の選択用乱数列が選択される。次に、選択された選択用乱数列に含まれるN個の乱数のそれぞれに基づいて、1個の仮サンプル点が選択され、合計N個の仮サンプル点が選択される。なお、本実施形態では、N=10である。 One random number selected from the random number sequence for selection random number sequence is a natural number of M or less. Accordingly, one selection random number sequence is selected from the M selection random number sequences based on one random number selected from the selection random number sequence selection random number sequence. Next, one temporary sample point is selected based on each of the N random numbers included in the selected selection random number sequence, and a total of N temporary sample points are selected. In this embodiment, N = 10.
ここで、選択用乱数列に含まれる乱数は、設定される仮サンプル点の個数の上限値以下の自然数である。一方、設定される仮サンプル点の個数は、尤度に応じて変化する場合がある。そこで、1個の乱数から1個の仮サンプル点が適切に選択されるようにする。例えば、選択された1個の乱数をRs[m,n]、設定された仮サンプル点の個数をNspとしたとき、選択される1個の仮サンプル点はPsp[(Rs[m,n]−1)%Nsp+1]として表される。ここで、「%」は、剰余演算子である。 Here, the random number included in the selection random number sequence is a natural number equal to or less than the upper limit value of the number of temporary sample points to be set. On the other hand, the number of temporary sample points to be set may change depending on the likelihood. Therefore, one temporary sample point is appropriately selected from one random number. For example, assuming that one selected random number is Rs [m, n] and the number of set temporary sample points is Nsp, one selected temporary sample point is Psp [(Rs [m, n]. −1)% Nsp + 1]. Here, “%” is a remainder operator.
例えば、選択された1個の乱数であるRs[m,n]が25、設定された仮サンプル点の個数であるNspが20である場合、5番目の仮サンプル点であるPsp[5]が選択される。上述した処理により、サンプル数分の仮サンプル点が選択される。 For example, when Rs [m, n] that is one selected random number is 25 and Nsp that is the number of set temporary sample points is 20, Psp [5] that is the fifth temporary sample point is Selected. As a result of the processing described above, temporary sample points corresponding to the number of samples are selected.
次に、選択された仮サンプル点のそれぞれを移動させる手法について説明する。 Next, a method for moving each of the selected temporary sample points will be described.
仮サンプル点は、横軸移動用乱数列と縦軸移動用乱数列と横軸移動用乱数列選択用乱数列と縦軸移動用乱数列選択用乱数列とに基づいて移動する。まず、横軸移動用乱数列選択用乱数列に含まれるG個の乱数の中から1個の乱数が選択され、縦軸移動用乱数列選択用乱数列に含まれるG個の乱数の中から1個の乱数が選択される。本実施形態では、上述したカウンタ変数により示される要素番号の乱数が、横軸移動用乱数列選択用乱数列と縦軸移動用乱数列選択用乱数列とから選択されるものとする。つまり、本実施形態では、選択用乱数列選択用乱数列から乱数を選択するためのカウンタ変数と、横軸移動用乱数列選択用乱数列から乱数を選択するためのカウンタ変数と、縦軸移動用乱数列選択用乱数列から乱数を選択するためのカウンタ変数と、は共用される。 The temporary sample point moves based on the random number sequence for moving the horizontal axis, the random number sequence for moving the vertical axis, the random number sequence for selecting the horizontal axis moving random number sequence, and the random number sequence for selecting the vertical axis moving random number sequence. First, one random number is selected from the G random numbers included in the random number sequence for selecting the horizontal axis movement random number sequence, and from among the G random numbers included in the random number sequence for selecting the random number sequence for moving the vertical axis. One random number is selected. In the present embodiment, it is assumed that the random number of the element number indicated by the counter variable described above is selected from the random number sequence for selecting the horizontal axis moving random number sequence and the random number sequence for selecting the vertical axis moving random number sequence. That is, in this embodiment, a counter variable for selecting a random number from the random number sequence for selection random number sequence, a counter variable for selecting a random number from the random number sequence for moving the horizontal axis, and a vertical axis movement The counter variable for selecting a random number from the random number sequence for random number selection is shared.
なお、横軸移動用乱数列選択用乱数列から選択される1個の乱数は、M以下の自然数であり、縦軸移動用乱数列選択用乱数列から選択される1個の乱数は、M以下の自然数である。従って、移動用乱数列選択用乱数列から選択される1個の乱数に基づいて、M個の横軸移動用乱数列の中から1個の横軸移動用乱数列が選択され、また、M個の縦軸移動用乱数列の中から1個の縦軸移動用乱数列が選択される。次に、選択された横軸移動用乱数列に含まれるN個の乱数のそれぞれに基づいて、1個の仮サンプル点が横軸方向に移動し、選択された縦軸移動用乱数列に含まれるN個の乱数のそれぞれに基づいて、1個の仮サンプル点が縦軸方向に移動する。結果として、N個の仮サンプル点のそれぞれが、横軸方向と縦軸方向とに移動する。 Note that one random number selected from the random number sequence for selecting the horizontal axis moving random number sequence is a natural number equal to or less than M, and one random number selected from the random number sequence for selecting the vertical axis moving random number sequence is M The following natural numbers. Accordingly, one horizontal axis moving random number sequence is selected from among the M horizontal axis moving random number sequences based on one random number selected from the moving random number sequence selecting random number sequence, and M One vertical axis moving random number sequence is selected from among the vertical axis moving random number sequences. Next, based on each of the N random numbers included in the selected horizontal axis movement random number sequence, one temporary sample point moves in the horizontal axis direction and is included in the selected vertical axis movement random number sequence. On the basis of each of the N random numbers, one temporary sample point moves in the vertical axis direction. As a result, each of the N temporary sample points moves in the horizontal axis direction and the vertical axis direction.
なお、仮サンプル点の移動量は、例えば、横軸方向に何画素、縦軸方向に何画素というように定められる。従って、横軸移動用乱数列に含まれる乱数は、横軸方向の最大移動可能画素数をNxとしたとき、−Nxから+Nxまでの範囲の数であることが好適である。また、縦軸移動用乱数列に含まれる乱数は、縦軸方向の最大移動可能画素数をNyとしたとき、−Nyから+Nyまでの範囲の数であることが好適である。 Note that the amount of movement of the temporary sample points is determined such as how many pixels in the horizontal axis direction and how many pixels in the vertical axis direction. Accordingly, the random number included in the random number sequence for horizontal axis movement is preferably a number in the range from -Nx to + Nx, where Nx is the maximum number of pixels that can be moved in the horizontal axis direction. Further, the random number included in the vertical axis moving random number sequence is preferably a number in the range from -Ny to + Ny, where Ny is the maximum number of pixels that can be moved in the vertical axis direction.
ここで、追跡対象の物体の運動方程式は、予測可能な場合と予測可能でない場合とが考えられる。運動方程式が予測可能な場合として、例えば、物体位置推定処理が開始される前から、物体の動きが予測できる場合のほか、物体位置推定処理の途中で、物体の位置の軌跡に基づいて物体の動きが予測できる場合が考えられる。一方、運動方程式が予測可能でない場合として、例えば、物体位置推定処理が開始直後に、物体の動きが予測できない場合のほか、物体位置推定処理の途中で、物体の位置を見失って物体の動きが予測できなくなった場合が考えられる。 Here, the motion equation of the tracking target object may be predictable or not predictable. As a case where the equation of motion can be predicted, for example, in addition to the case where the motion of the object can be predicted before the object position estimation process is started, the object position is estimated based on the locus of the object position during the object position estimation process. A case where motion can be predicted is conceivable. On the other hand, as a case where the equation of motion is not predictable, for example, when the object movement cannot be predicted immediately after the start of the object position estimation process, or the object position is lost during the object position estimation process, The case where it becomes impossible to predict is considered.
ここで、運動方程式が予測可能な場合、仮サンプル点は、この運動方程式に従って横軸方向と縦軸方向とに移動した上で、乱数に従って横軸方向と縦軸方向とに移動する。この場合、例えば、背景の位置に存在するサンプル点に付与される尤度が低下することになり、結果として、物体の近傍にサンプル点が集まることが期待できる。 Here, when the equation of motion can be predicted, the temporary sample point moves in the horizontal axis direction and the vertical axis direction according to the equation of motion, and then moves in the horizontal axis direction and the vertical axis direction according to a random number. In this case, for example, the likelihood given to the sample points existing in the background position is reduced, and as a result, it can be expected that the sample points are gathered near the object.
一方、運動方程式が予測可能でない場合、仮サンプル点は、乱数に従って横軸方向と縦軸方向とに移動する。この場合であっても、動画像上において物体と共に移動したサンプル点に付与される尤度は高いため、物体と共に移動したサンプル点が生き残ることが期待できる。特に、背景部分において注目する画素の位置をずらしたときの輝度値の変化(例えば、背景部分において隣り合う画素の輝度値の差分)が、物体部分において注目する画素の位置をずらしたときの輝度値の変化(例えば、物体部分において隣り合う画素の輝度値の差分)よりも相対的に高い場合、物体の近傍にサンプル点が集まることが期待できる。つまり、物体部分の色のばらつきが、背景部分の色のばらつきよりも小さい場合、運動方程式が予測可能でなくとも、物体の近傍にサンプル点が集まることが期待できる。 On the other hand, when the equation of motion is not predictable, the temporary sample point moves in the horizontal axis direction and the vertical axis direction according to a random number. Even in this case, since the likelihood given to the sample point moved together with the object on the moving image is high, it can be expected that the sample point moved together with the object survives. In particular, the luminance when the position of the pixel of interest in the background portion is shifted (for example, the difference between the luminance values of adjacent pixels in the background portion) shifts the position of the pixel of interest in the object portion. When the value is relatively higher than the change in the value (for example, the difference between the luminance values of adjacent pixels in the object portion), it can be expected that the sample points gather near the object. That is, when the color variation of the object portion is smaller than the color variation of the background portion, it can be expected that sample points gather near the object even if the equation of motion is not predictable.
ここで、移動後の仮サンプル点のそれぞれは、設定対象フレーム画像に対するサンプル点として設定される。図10は、10個の移動後の仮サンプル点(Psp[3]、Psp[5]、Psp[6]、Psp[10]、Psp[11]、Psp[13]、Psp[14]、Psp[15]、Psp[16]、Psp[17])のそれぞれが、設定対象フレーム画像に対する10個のサンプル点(Ps[1]、Ps[2]、Ps[3]、Ps[4]、Ps[5]、Ps[6]、Ps[7]、Ps[8]、Ps[9]、Ps[10])として設定された様子を示している。 Here, each of the temporary sample points after movement is set as a sample point for the setting target frame image. FIG. 10 shows ten temporary sample points after movement (Psp [3], Psp [5], Psp [6], Psp [10], Psp [11], Psp [13], Psp [14], Psp. [15], Psp [16], Psp [17]) are 10 sample points (Ps [1], Ps [2], Ps [3], Ps [4], Ps) for the setting target frame image. [5], Ps [6], Ps [7], Ps [8], Ps [9], Ps [10]).
図6と図10との比較からも明らかなように、付与されている尤度が高いサンプル点に基づくサンプル点が生き残りやすくなるようにリサンプリング処理が実行されると、物体の近傍にサンプル点が集まることが期待される。従って、このようなリサンプリング処理が繰り返して実行される物体位置推定処理によれば、物体の位置を正確に把握することが期待できる。 As is clear from the comparison between FIG. 6 and FIG. 10, when the resampling process is executed so that the sample points based on the assigned sample points having a high likelihood are likely to survive, the sample points are located near the object. Is expected to gather. Therefore, according to the object position estimation process in which such resampling process is repeatedly performed, it can be expected to accurately grasp the position of the object.
ここで、設定対象フレーム画像に設定されたサンプル点のそれぞれには、重みが付与される。例えば、設定対象フレーム画像に設定されたあるサンプル点に付与される重みは、このサンプル点の設定済フレーム画像における色と、このサンプル点に対応する設定済フレーム画像上のサンプル点の設定済フレーム画像における色と、の類似度が高いほど高く設定される。 Here, a weight is given to each of the sample points set in the setting target frame image. For example, the weight given to a certain sample point set in the setting target frame image includes the color in the set frame image of this sample point and the set frame of the sample point on the set frame image corresponding to this sample point. The higher the degree of similarity with the color in the image, the higher the setting.
なお、上記類似度を定義する手法は、適宜、調整することができる。例えば、フレーム画像がR(Red)、G(Green)、B(Blue)の3つの成分により表されている場合、3つの成分のそれぞれについて求められた輝度値の差の平均値が小さいほど、類似度が高くなるようにしてもよい。もしくは、3つの成分のうち、最も輝度値の差が大きい成分の輝度値の差が小さいほど、類似度が高くなるようにしてもよい。もしくは、3つの成分のうち、注目する成分の輝度値の差が小さいほど、類似度が高くなるようにしてもよい。 Note that the method for defining the similarity can be adjusted as appropriate. For example, when the frame image is represented by three components of R (Red), G (Green), and B (Blue), the smaller the average value of the luminance values obtained for each of the three components, The degree of similarity may be increased. Alternatively, among the three components, the similarity may be higher as the difference in the luminance value of the component having the largest luminance value difference is smaller. Or you may make it a similarity become high, so that the difference of the luminance value of the component to notice is small among three components.
次に、図11に示すフローチャートを用いて、物体位置推定装置100が実行する物体位置推定処理について説明する。物体位置推定装置100は、電源が投入されると、図11に示す物体位置推定処理を実行する。
Next, the object position estimation process executed by the object
まず、CPU11は、初期化処理を実行する(ステップS101)。具体的には、CPU11は、N個のサンプル点のそれぞれについて、座標と尤度とを初期化する。例えば、CPU11は、N個のサンプル点が、動画像上の全領域に亘って、横軸方向及び縦軸方向に等間隔で配置されるように、N個のサンプル点のそれぞれの座標を決定する。また、CPU11は、N個のサンプル点のそれぞれに、同一の尤度を付与する。CPU11は、N個のサンプル点のそれぞれの座標や尤度を、RAM13に記憶する。
First, the
また、CPU11は、RAM13に記憶されているカウンタ変数を1に初期化する。また、CPU11は、インターフェース17を介して、撮像装置200に撮像を開始させる。一方、撮像装置200は、CPU11による指示に従って撮像を開始する。以後、撮像装置200は、撮像により生成される動画像を、インターフェース17に供給する。ここで、インターフェース17は、供給された動画像を、フラッシュメモリ14に供給し、記憶させる。
Further, the
CPU11は、ステップS101の処理を完了すると、乱数列を生成する(ステップS102)。より詳細には、CPU11は、種々の演算により、もしくは、RTC15から取得される値などを用いて、M個の選択用乱数列と、M個の横軸移動用乱数列と、M個の縦軸移動用乱数列と、選択用乱数列選択用乱数列と、横軸移動用乱数列選択用乱数列と、縦軸移動用乱数列選択用乱数列と、を生成する。なお、CPU11は、ボックス=ミューラー法を用いて、一様乱数から正規乱数を生成することができる。
When completing the process in step S101, the
CPU11は、ステップS102の処理を完了すると、ステップS102において生成した乱数列を記憶する(ステップS103)。具体的には、CPU11は、M個の選択用乱数列と、M個の横軸移動用乱数列と、M個の縦軸移動用乱数列と、選択用乱数列選択用乱数列と、横軸移動用乱数列選択用乱数列と、縦軸移動用乱数列選択用乱数列と、を、フラッシュメモリ14に記憶させる。
When completing the process in step S102, the
CPU11は、ステップS103の処理を完了すると、設定対象フレーム画像を取得する(ステップS104)。具体的には、CPU11は、フラッシュメモリ14に記憶されている動画像を構成するフレーム画像のうち、最新のフレーム画像を取得する。つまり、本実施形態では、設定対象フレーム画像は、最新のフレーム画像である。CPU11は、取得した設定対象フレーム画像を、適宜、RAM13に記憶する。
When completing the process in step S103, the
CPU11は、ステップS104の処理を完了すると、仮サンプル点を設定する(ステップS105)。例えば、CPU11は、設定済フレーム画像(最新の設定済フレーム画像)に設定されているN個のサンプル点のそれぞれに対して、サンプル点に付与されている尤度が高いほど多くの個数、サンプル点と同じ座標の仮サンプル点を設定する。なお、設定済フレーム画像が存在しない場合、CPU11は、ステップS101における初期化処理で設定されたサンプル点の座標や尤度に基づいて、仮サンプル点を設定する。
When completing the process in step S104, the
CPU11は、ステップS105の処理を完了すると、仮サンプル点を選択する(ステップS106)。具体的には、まず、CPU11は、選択用乱数列選択用乱数列に含まれる乱数のうち、カウンタ変数により示される要素番号の乱数を取得する。そして、CPU11は、M個の選択用乱数列の中から、取得した乱数により示される選択用乱数列を取得する。ここで、CPU11は、取得した選択用乱数列に含まれるN個の乱数のそれぞれに基づいて、設定された仮サンプル点の中から、1個の仮サンプル点を選択する。つまり、CPU11は、N個の乱数に基づいて、重複を許して、N個の仮サンプル点を選択する。
When completing the process of step S105, the
CPU11は、ステップS106の処理を完了すると、仮サンプル点を移動する(ステップS107)。具体的には、まず、CPU11は、横軸移動用乱数列選択用乱数列に含まれる乱数のうち、カウンタ変数により示される要素番号の乱数を取得する。そして、CPU11は、M個の横軸移動用乱数列の中から、取得した乱数により示される横軸移動用乱数列を取得する。また、CPU11は、縦軸移動用乱数列選択用乱数列に含まれる乱数のうち、カウンタ変数により示される要素番号の乱数を取得する。そして、CPU11は、M個の縦軸移動用乱数列の中から、取得した乱数により示される縦軸移動用乱数列を取得する。
When completing the process of step S106, the
ここで、CPU11は、取得した横軸移動用乱数列に含まれるN個の乱数に基づいて、選択されたN個の仮サンプル点をそれぞれ横軸方向に移動する。また、CPU11は、取得した縦軸移動用乱数列に含まれるN個の乱数に基づいて、選択されたN個の仮サンプル点をそれぞれ縦軸方向に移動する。なお、物体の運動方程式が予測可能な場合、CPU11は、選択されたN個の仮サンプル点のそれぞれを、さらに、運動方程式に従った移動量、横軸方向及び縦軸方向に移動する。
Here, the
CPU11は、ステップS107の処理を完了すると、移動後の仮サンプル点をサンプル点に設定する(ステップS108)。具体的には、CPU11は、N個の移動後の仮サンプル点のそれぞれを、設定対象フレーム画像に対して設定する。
CPU11 will set the temporary sample point after a movement to a sample point, if the process of step S107 is completed (step S108). Specifically, the
CPU11は、ステップS108の処理を完了すると、サンプル点に尤度を付与する(ステップS109)。具体的には、CPU11は、設定対象フレーム画像に設定されたN個のサンプル点のそれぞれに対して、設定対象フレーム画像に設定されたサンプル点における色と、設定済フレーム画像(最新の設定済フレーム画像)に設定されている、設定対象フレーム画像に設定されたサンプル点に対応するサンプル点における色と、の類似度が高いほど高い尤度を付与する。
CPU11 will give likelihood to a sample point, if the process of step S108 is completed (step S109). Specifically, the
CPU11は、ステップS109の処理を完了すると、カウンタ変数をインクリメントする(ステップS110)。具体的には、CPU11は、RAM13に記憶されているカウンタ変数の値がMでない場合、カウンタ変数の値を1増加させ、カウンタ変数の値がMである場合、カウンタ変数の値を1に設定する。
When completing the process of step S109, the
CPU11は、ステップS110の処理を完了すると、サンプル点が適切であるか否かを判別する(ステップS111)。サンプル点が適切であるか否かを判別する手法は、適宜、調整することができる。例えば、CPU11は、設定対象フレーム画像に設定されたN個のサンプル点に付与されたN個の尤度に基づいて、サンプル点が適切であるか否かを判別することができる。例えば、CPU11は、N個の尤度の平均値が閾値よりも低い場合、N個の尤度のうちの最高の尤度が閾値よりも低い場合、もしくは、N個の尤度のうち閾値よりも高い尤度の個数が閾値よりも少ない場合、サンプル点が適切でないと判別し、それ以外の場合、サンプル点が適切であると判別することができる。
When completing the process in step S110, the
CPU11は、サンプル点が適切であると判別すると(ステップS111:YES)、物体の位置を推定する(ステップS112)。なお、物体の位置を推定する手法は、適宜、調整することができる。例えば、CPU11は、設定対象フレーム画像に設定されたN個のサンプル点の座標の加重平均を求め、求められた座標をN個のサンプル点の重心とする。なお、加重平均の計算時、サンプル点に付与されている尤度に基づいて、サンプル点の座標が重み付けされる。そして、CPU11は、求められたN個のサンプル点の重心を、物体の位置(典型的には、物体の中心位置)と推定することができる。
When determining that the sample point is appropriate (step S111: YES), the
また、CPU11は、物体の位置の履歴をRAM13などに記憶することができる。この場合、CPU11は、RAM13に記憶されている物体の位置の履歴に基づいて、物体の動きを示す運動方程式を推定することができる。
Further, the
一方、CPU11は、サンプル点が適切でないと判別すると(ステップS111:NO)、サンプル点と尤度とを初期化する(ステップS113)。例えば、CPU11は、ステップS101の初期化処理と同様に、N個のサンプル点のそれぞれの座標と、N個のサンプル点のそれぞれの尤度とを、初期化することができる。そして、CPU11は、設定対象フレーム画像に、座標と尤度とが初期化されたN個のサンプル点を設定する。なお、サンプル点が適切でないと判別される典型的な例として、物体が予測外の動きをした場合、物体が正常に撮像できず正常な動画像が生成されない場合などが考えられる。
On the other hand, when determining that the sample point is not appropriate (step S111: NO), the
CPU11は、ステップS112又はステップS113の処理を完了すると、ステップS104に処理を戻し、最新のフレーム画像を新たな設定対象フレーム画像としてリサンプリングを継続する。以降、CPU11は、ステップS104からステップS113までの処理を繰り返し実行する。
When completing the process of step S112 or step S113, the
本実施形態によれば、物体位置推定処理の前処理(例えば、ステップS101〜ステップS103の処理)において各種の乱数列が生成され、物体位置推定処理の本処理(例えば、ステップS104〜ステップS113の処理)において各種の乱数列が生成されない。従って、物体位置推定処理の本処理における処理速度の向上が期待できる。 According to the present embodiment, various random number sequences are generated in the preprocessing of the object position estimation process (for example, the processes in steps S101 to S103), and the main process of the object position estimation process (for example, in steps S104 to S113). In the processing, various random number sequences are not generated. Therefore, an improvement in processing speed in the main processing of the object position estimation processing can be expected.
また、本実施形態によれば、選択用乱数列、横軸移動用乱数列、縦軸移動用乱数列などが複数個用意され、これらの乱数列を選択するための乱数列が用意される。従って、比較的少ない個数の乱数列に基づいて、バリエーションに富んだ乱数が提供される。 Further, according to the present embodiment, a plurality of selection random number sequences, a horizontal axis movement random number sequence, a vertical axis movement random number sequence, and the like are prepared, and a random number sequence for selecting these random number sequences is prepared. Therefore, random numbers rich in variations are provided based on a relatively small number of random number sequences.
なお、選択用乱数列に基づいて選択される仮サンプル点は、サンプル点に付与された尤度に応じて合計の個数が変化する仮サンプル点から選択される。このため、選択用乱数列により提供される乱数がある程度固定化されていたとしても、選択される仮サンプル点に偏りが生じる可能性は低いと考えられる。 The temporary sample points selected based on the selection random number sequence are selected from temporary sample points whose total number changes according to the likelihood given to the sample points. For this reason, even if the random number provided by the selection random number sequence is fixed to some extent, it is considered that the possibility that the selected temporary sample points are biased is low.
また、横軸移動用乱数列や縦軸移動用乱数列に基づいて移動する仮サンプル点は、設定された仮サンプル点の中からランダムに選択された仮サンプル点である。このため、横軸移動用乱数列や縦軸移動用乱数列により提供される乱数がある程度固定化され、移動量に偏りがあるとしても、移動対象となる仮サンプル点の座標が変化することで、仮サンプル点の位置に依存した移動量となる可能性は低いと考えられる。 Further, the temporary sample points that move based on the horizontal axis movement random number sequence or the vertical axis movement random number sequence are temporary sample points that are randomly selected from the set temporary sample points. For this reason, the random number provided by the horizontal axis movement random number sequence or the vertical axis movement random number sequence is fixed to some extent, and even if the movement amount is biased, the coordinates of the temporary sample points to be moved change. It is considered that there is a low possibility that the amount of movement depends on the position of the temporary sample point.
(変形例)
本発明は、上記実施形態に開示したものに限られない。
(Modification)
The present invention is not limited to the one disclosed in the above embodiment.
本発明において、上記実施形態において説明した構成、機能、動作のどの部分を採用するのかは任意である。また、本発明において、上述した構成、機能、動作のほか、更なる構成、機能、動作が採用されてもよい。 In the present invention, which part of the configuration, function, and operation described in the above embodiment is adopted is arbitrary. Further, in the present invention, in addition to the configuration, function, and operation described above, further configuration, function, and operation may be employed.
上記実施形態では、点同士の色の比較により求められた類似度に基づいて、サンプル点に付与される重みが決定される例について説明した。本発明において、領域同士の色の比較により求められた類似度に基づいて、サンプル点に付与される重みが決定されてもよい。 In the above-described embodiment, the example in which the weight given to the sample point is determined based on the similarity obtained by comparing the colors of the points has been described. In the present invention, the weight to be given to the sample points may be determined based on the similarity obtained by comparing the colors of the regions.
この場合、例えば、重み付与部107は、サンプル点設定部106により設定対象フレーム画像に設定されたサンプル点のそれぞれに、設定対象フレーム画像に設定されたサンプル点を中心とする特定領域における色と、設定済フレーム画像に設定されている、設定対象フレーム画像に設定されたサンプル点に対応するサンプル点を中心とする特定領域における色と、の類似度が高いほど大きな重みを付与する。このように領域単位で色を比較することにより、ノイズなどの影響を減少させることが期待できる。なお、領域単位で色を比較することは、例えば、原色毎に、各領域に含まれる画素の輝度値の平均値(単純平均値もしくは加重平均値)を比較することである。
In this case, for example, the
また、特定領域は、サンプル数が少ないほど広く設定されてもよい。ここで、サンプル数が多いほど、物体の位置を正確に推定することが期待できる。一方、サンプル数が少ないほど、物体位置推定処理を高速で実行することが期待できる。また、特定領域が広いほど、少ないサンプル数でも、物体の位置を推定しやすくなることが期待される。一方、特定領域が狭いほど、物体位置推定処理を高速で実行することが期待できる。そこで、サンプル数が少ないほど特定領域が広く設定されることにより、物体の位置を適切に推定することが可能な範囲で、物体位置推定処理の実行速度を高めることが期待できる。なお、特定領域は、例えば、サンプル点との座標(X座標およびY座標)の差が、所定の値以下である点の集合体とすることができる。 The specific area may be set wider as the number of samples is smaller. Here, it can be expected that the position of the object is accurately estimated as the number of samples increases. On the other hand, the smaller the number of samples, the higher the object position estimation process can be expected. In addition, it is expected that the larger the specific area, the easier it is to estimate the position of the object even with a small number of samples. On the other hand, the narrower the specific area, the higher the object position estimation process can be expected. Therefore, it is expected that the execution speed of the object position estimation process can be increased within a range in which the position of the object can be appropriately estimated by setting the specific region wider as the number of samples is smaller. Note that the specific region can be, for example, an aggregate of points whose difference in coordinates (X coordinate and Y coordinate) with a sample point is a predetermined value or less.
なお、フレーム画像がRGB形式やHSV(Hue Saturation Lightness)形式などである場合、1画素単位で画素情報を有している。従って、フレーム画像がRGB形式やHSV形式などである場合、特定領域を1画素単位で自由に設定可能である。一方、フレーム画像がYUV形式などである場合、隣接する2画素で画素情報を共有している。従って、フレーム画像がYUV形式などである場合、特定領域を2画素単位で設定することが好適である。 Note that when the frame image is in RGB format, HSV (Hue Saturation Lightness) format, or the like, pixel information is provided in units of one pixel. Therefore, when the frame image is in the RGB format, HSV format, or the like, the specific area can be freely set in units of one pixel. On the other hand, when the frame image is in YUV format or the like, pixel information is shared by two adjacent pixels. Therefore, when the frame image is in YUV format or the like, it is preferable to set the specific area in units of two pixels.
上記実施形態では、初期化の際、又は、サンプル点が適切でないことが判別された際、フレーム画像全体に、格子状にサンプル点を配置する例について説明した。本発明において、初期化などの際、サンプル点を配置する手法は、この例に限定されない。 In the above-described embodiment, an example has been described in which sample points are arranged in a grid pattern on the entire frame image when initialization is performed or when it is determined that the sample points are not appropriate. In the present invention, the method of arranging sample points at the time of initialization or the like is not limited to this example.
例えば、乱数列生成部101などにより予め生成され、乱数列記憶部102などに記憶されている、サンプル数分の一様乱数を有する、横軸用一様乱数列と縦軸用一様乱数列とに基づいて、フレーム画像全体に、ランダムにサンプル点が配置されてもよい。なお、このような横軸用一様乱数列(縦軸用一様乱数列)は、複数個用意されてもよい。この場合、例えば、複数個の横軸用一様乱数列(縦軸用一様乱数列)の中から1個の横軸用一様乱数列(縦軸用一様乱数列)を選択するための一様乱数列選択用乱数列が、乱数列生成部101などにより生成され、乱数列記憶部102に記憶されてもよい。また、例えば、フレーム画像上のどの辺りに物体が存在しているのかが予測可能な場合、物体が存在していると予測される領域に、ランダムに、又は、格子状に、サンプル点が配置されてもよい。
For example, the uniform random number sequence for the horizontal axis and the uniform random number sequence for the vertical axis, which are generated in advance by the random number
上記実施形態では、選択用乱数列の選択のために選択用乱数列選択用乱数列が使用され、横軸移動用乱数列の選択のために横軸移動用乱数列選択用乱数列が使用され、縦軸移動用乱数列の選択のために縦軸移動用乱数列選択用乱数列が使用される例について説明した。本発明において、乱数列の選択のために使用される選択用乱数列が共用されてもよい。また、乱数列の選択のために、選択用乱数列に代えて、インクリメント又はデクリメントされるカウンタ変数が用いられてもよい。 In the above embodiment, the selection random number sequence is used to select the selection random number sequence, and the horizontal axis movement random number sequence selection random number sequence is used to select the horizontal axis movement random number sequence. The example in which the random number sequence for selecting the vertical axis moving random number sequence is used for selecting the random number sequence for moving the vertical axis has been described. In the present invention, a selection random number sequence used for selection of a random number sequence may be shared. For selection of a random number sequence, a counter variable that is incremented or decremented may be used instead of the random number sequence for selection.
また、上記実施形態では、選択用乱数列選択用乱数列から乱数を選択するためのカウンタ変数と、横軸移動用乱数列選択用乱数列から乱数を選択するためのカウンタ変数と、縦軸移動用乱数列選択用乱数列から乱数を選択するためのカウンタ変数と、が共用される例について説明した。本発明において、このカウンタ変数は、選択用乱数列毎に、別々に用意されてもよい。 In the above embodiment, a counter variable for selecting a random number from the random number sequence for selection random number sequence, a counter variable for selecting a random number from the random number sequence for horizontal axis movement, and a vertical axis movement The example in which the counter variable for selecting a random number from the random number sequence for selecting a random number sequence is shared has been described. In the present invention, this counter variable may be prepared separately for each selection random number sequence.
上記実施形態では、設定された仮サンプル点から、サンプル数分の仮サンプル点が選択される際、剰余演算により、1個の乱数から1個の仮サンプル点が選択される例について説明した。本発明において、設定された仮サンプル点から、サンプル数分の仮サンプル点が選択される際、1個の乱数から1個の仮サンプル点を選択する手法は、この例に限定されない。例えば、サンプル数分のサンプル点のそれぞれに付与された重みの合計値が一定の値になるように、各サンプル点に付与する重みを調整することができる。かかる構成によれば、選択用乱数列が有する乱数の上限値を上記一定の値に設定することにより、剰余演算を用いずに、サンプル数分の仮サンプル点が選択される。 In the above embodiment, an example has been described in which one temporary sample point is selected from one random number by a remainder calculation when the number of temporary sample points corresponding to the number of samples is selected from the set temporary sample points. In the present invention, when temporary sample points corresponding to the number of samples are selected from the set temporary sample points, the method of selecting one temporary sample point from one random number is not limited to this example. For example, the weight given to each sample point can be adjusted so that the total value of the weights given to each of the sample points for the number of samples becomes a constant value. According to such a configuration, by setting the upper limit value of the random number included in the selection random number sequence to the above-described constant value, provisional sample points corresponding to the number of samples are selected without using the remainder calculation.
また、各種の乱数列が有する要素数や、各種の乱数列の個数が上記実施形態で示したものに限定されないことは勿論である。 Further, it goes without saying that the number of elements included in various random number sequences and the number of various random number sequences are not limited to those shown in the above embodiment.
上記実施形態では、電源投入時に、各種の乱数列が生成及び記憶される例について説明した。本発明において、各種の乱数列が生成及び記憶されるタイミングは、この例に限定されない。例えば、物体位置推定処理中の処理負荷が軽い時期に、各種の乱数列が生成(再生成)及び記憶(更新)されてもよい。 In the above embodiment, an example in which various random number sequences are generated and stored when the power is turned on has been described. In the present invention, the timing at which various random number sequences are generated and stored is not limited to this example. For example, various random number sequences may be generated (regenerated) and stored (updated) when the processing load during the object position estimation process is light.
上記実施形態では、物体位置推定装置と撮像装置とが別の装置である例について説明した。本発明において、物体位置推定装置が撮像装置の機能を有していてもよい。 In the above-described embodiment, an example in which the object position estimation device and the imaging device are different devices has been described. In the present invention, the object position estimation device may have the function of an imaging device.
上記実施形態では、動画像を構成する全てのフレーム画像に対して、サンプル点が設定される例について説明した。本発明において、例えば、物体位置推定装置の処理能力に応じて、適宜、動画像を構成するフレーム画像のうち、所定の間隔で間引かれるフレーム画像に対して、サンプル点が設定されてもよい。 In the above-described embodiment, an example in which sample points are set for all frame images constituting a moving image has been described. In the present invention, for example, according to the processing capability of the object position estimation apparatus, sample points may be set as appropriate for frame images that are thinned out at a predetermined interval from among frame images constituting a moving image. .
なお、本発明に係る物体位置推定装置は、専用のシステムによらず、通常のコンピュータシステムを用いても実現可能である。例えば、コンピュータに、上記動作を実行するためのプログラムを、フレキシブルディスク、CD−ROM(Compact Disc Read−Only Memory)、DVD(Digital Versatile Disc)、MO(Magneto Optical Disc)などのコンピュータ読み取り可能な記録媒体に記憶して配布し、これをコンピュータシステムにインストールすることにより、上述の処理を実行する物体位置推定装置を構成しても良い。 Note that the object position estimation apparatus according to the present invention can be realized by using a normal computer system without using a dedicated system. For example, a computer-readable recording medium such as a flexible disk, a CD-ROM (Compact Disc Read-Only Memory), a DVD (Digital Versatile Disc), or an MO (Magneto Optical Disc) is recorded on a computer. An object position estimation device that performs the above-described processing may be configured by storing and distributing the program in a medium and installing the program in a computer system.
さらに、インターネット上のサーバ装置が有するディスク装置等にプログラムを記憶しておき、例えば、搬送波に重畳させて、コンピュータにダウンロード等するものとしてもよい。 Furthermore, the program may be stored in a disk device or the like included in a server device on the Internet, and may be downloaded onto a computer by being superimposed on a carrier wave, for example.
以上、本発明の実施形態について説明したが、この実施形態は、例示に過ぎず、本発明の技術的範囲を限定するものではない。本発明はその他の様々な実施形態をとることが可能であり、さらに、本発明の要旨を逸脱しない範囲で、省略や置換等種々の変更を行うことができる。これら実施形態やその変形は、特許請求の範囲に記載された発明とその均等の範囲に含まれる。以下に、本願出願当初の特許請求の範囲に記載された発明を付記する。 As mentioned above, although embodiment of this invention was described, this embodiment is only an illustration and does not limit the technical scope of this invention. The present invention can take various other embodiments, and various modifications such as omission and replacement can be made without departing from the gist of the present invention. These embodiments and modifications thereof are included in the scope of the invention described in the claims and equivalents thereof. The invention described in the scope of claims at the beginning of the present application will be appended.
(付記1)
サンプル数分の乱数を有する第1乱数列と、前記サンプル数分の乱数を有する第2乱数列と、を生成する乱数列生成手段と、
前記乱数列生成手段により生成された第1乱数列と第2乱数列とを記憶する乱数列記憶手段と、
動画像を構成するフレーム画像のうちの設定済フレーム画像に設定されている、前記サンプル数分のサンプル点のそれぞれについて、前記サンプル点に付与されている重みが大きいほど多くの個数、前記サンプル点と同じ座標の仮サンプル点を設定する仮サンプル点設定手段と、
前記乱数列記憶手段に記憶されている第1乱数列に基づいて、前記仮サンプル点設定手段により設定された仮サンプル点の中から、前記サンプル数分の仮サンプル点を選択する仮サンプル点選択手段と、
前記乱数列記憶手段に記憶されている第2乱数列に基づいて、前記仮サンプル点選択手段により選択された仮サンプル点のそれぞれを移動させる仮サンプル点移動手段と、
前記仮サンプル点移動手段による移動後の仮サンプル点とそれぞれ同じ座標の前記サンプル数分のサンプル点を、前記動画像を構成するフレーム画像のうちの設定対象フレーム画像に設定するサンプル点設定手段と、
前記サンプル点設定手段により前記設定対象フレーム画像に設定されたサンプル点のそれぞれに、前記設定対象フレーム画像に設定されたサンプル点における色と、前記設定済フレーム画像に設定されている、前記設定対象フレーム画像に設定されたサンプル点に対応するサンプル点における色と、の類似度が高いほど大きな重みを付与する重み付与手段と、
前記設定対象フレーム画像に設定されたサンプル点のそれぞれの座標と、前記重み付与手段により、前記設定対象フレーム画像に設定されたサンプル点のそれぞれに付与された重みと、に基づいて、前記動画像上における物体の位置を推定する物体位置推定手段と、を備える、
ことを特徴とする物体位置推定装置。
(Appendix 1)
Random number sequence generating means for generating a first random number sequence having random numbers for the number of samples and a second random number sequence having random numbers for the number of samples;
Random number sequence storage means for storing the first random number sequence and the second random number sequence generated by the random number sequence generation means;
For each of the sample points for the number of samples set in the set frame image of the frame images constituting the moving image, the larger the number of sample points, the greater the weight assigned to the sample points. A temporary sample point setting means for setting a temporary sample point of the same coordinates as
Temporary sample point selection for selecting temporary sample points corresponding to the number of samples from the temporary sample points set by the temporary sample point setting unit based on the first random number sequence stored in the random number sequence storage unit Means,
Temporary sample point moving means for moving each of the temporary sample points selected by the temporary sample point selecting means based on the second random number sequence stored in the random number sequence storage means;
Sample point setting means for setting the sample points for the number of samples having the same coordinates as the temporary sample points after being moved by the temporary sample point moving means, in a setting target frame image among the frame images constituting the moving image; ,
The setting target set in the set frame image and the color at the sample point set in the setting target frame image for each of the sample points set in the setting target frame image by the sample point setting means Weight giving means for giving a higher weight as the similarity between the color at the sample point corresponding to the sample point set in the frame image is higher;
The moving image based on the coordinates of the sample points set in the setting target frame image and the weights given to the sample points set in the setting target frame image by the weight assigning unit. Object position estimating means for estimating the position of the object on the top,
An object position estimation apparatus characterized by the above.
(付記2)
前記第1乱数列は、前記サンプル数分の一様乱数を有し、
前記第2乱数列は、前記サンプル数分の正規乱数を有する、
ことを特徴とする付記1に記載の物体位置推定装置。
(Appendix 2)
The first random number sequence has uniform random numbers corresponding to the number of samples,
The second random number sequence has normal random numbers corresponding to the number of samples.
The object position estimation apparatus according to
(付記3)
前記乱数列生成手段は、少なくとも2個の前記第1乱数列と、少なくとも2個の前記第2乱数列と、少なくとも2個の一様乱数を有する第3乱数列と、少なくとも2個の一様乱数を有する第4乱数列と、を生成し、
前記乱数列記憶手段は、前記乱数列生成手段により生成された、少なくとも2個の第1乱数列と少なくとも2個の第2乱数列と第3乱数列と第4乱数列と、を記憶し、
前記仮サンプル点選択手段は、前記乱数列記憶手段に記憶されている第3乱数列に基づいて、前記乱数列記憶手段に記憶されている少なくとも2個の第1乱数列の中から1個の第1乱数列を選択し、選択された1個の第1乱数列に基づいて、前記仮サンプル点設定手段により設定された仮サンプル点の中から、前記サンプル数分の仮サンプル点を選択し、
前記仮サンプル点移動手段は、前記乱数列記憶手段に記憶されている第4乱数列に基づいて、前記乱数列記憶手段に記憶されている少なくとも2個の第2乱数列の中から2個の第2乱数列を選択し、選択された2個の第2乱数列に基づいて、前記仮サンプル点選択手段により選択された仮サンプル点のそれぞれを移動させる、
ことを特徴とする付記1又は2に記載の物体位置推定装置。
(Appendix 3)
The random number sequence generation means includes at least two first random number sequences, at least two second random number sequences, a third random number sequence having at least two uniform random numbers, and at least two uniform numbers. Generating a fourth random number sequence having random numbers;
The random number sequence storage means stores at least two first random number sequences, at least two second random number sequences, a third random number sequence, and a fourth random number sequence generated by the random number sequence generation means,
The temporary sample point selection unit is configured to select one of at least two first random number sequences stored in the random number sequence storage unit based on the third random number sequence stored in the random number sequence storage unit. A first random number sequence is selected, and temporary sample points corresponding to the number of samples are selected from the temporary sample points set by the temporary sample point setting means based on the selected first random number sequence. ,
Based on the fourth random number sequence stored in the random number sequence storage unit, the temporary sample point moving unit is configured to select two out of at least two second random number sequences stored in the random number sequence storage unit. Selecting a second random number sequence, and moving each of the temporary sample points selected by the temporary sample point selection means based on the two selected second random number sequences,
The object position estimation apparatus according to
(付記4)
前記重み付与手段は、前記サンプル点設定手段により前記設定対象フレーム画像に設定されたサンプル点のそれぞれに、前記設定対象フレーム画像に設定されたサンプル点を中心とする特定領域における色と、前記設定済フレーム画像に設定されている、前記設定対象フレーム画像に設定されたサンプル点に対応するサンプル点を中心とする特定領域における色と、の類似度が高いほど大きな重みを付与する、
ことを特徴とする付記1乃至3のいずれか1項に記載の物体位置推定装置。
(Appendix 4)
The weighting unit includes a color in a specific region centered on the sample point set in the setting target frame image, and the setting for each of the sample points set in the setting target frame image by the sample point setting unit. A higher weight is assigned to a higher similarity with a color in a specific area centered on a sample point corresponding to the sample point set in the set target frame image, which is set in the completed frame image;
The object position estimation apparatus according to any one of
(付記5)
前記特定領域は、前記サンプル数が少ないほど広く設定される、
ことを特徴とする付記4に記載の物体位置推定装置。
(Appendix 5)
The specific area is set wider as the number of samples is smaller.
The object position estimation apparatus according to
(付記6)
サンプル数分の乱数を有する第1乱数列と、前記サンプル数分の乱数を有する第2乱数列と、を生成する乱数列生成ステップと、
前記乱数列生成ステップにより生成された第1乱数列と第2乱数列とを記憶する乱数列記憶ステップと、
動画像を構成するフレーム画像のうちの設定済フレーム画像に設定されている、前記サンプル数分のサンプル点のそれぞれについて、前記サンプル点に付与されている重みが大きいほど多くの個数、前記サンプル点と同じ座標の仮サンプル点を設定する仮サンプル点設定ステップと、
前記乱数列記憶ステップにより記憶された第1乱数列に基づいて、前記仮サンプル点設定ステップにより設定された仮サンプル点の中から、前記サンプル数分の仮サンプル点を選択する仮サンプル点選択ステップと、
前記乱数列記憶ステップにより記憶された第2乱数列に基づいて、前記仮サンプル点選択ステップにより選択された仮サンプル点のそれぞれを移動させる仮サンプル点移動ステップと、
前記仮サンプル点移動ステップによる移動後の仮サンプル点とそれぞれ同じ座標の前記サンプル数分のサンプル点を、前記動画像を構成するフレーム画像のうちの設定対象フレーム画像に設定するサンプル点設定ステップと、
前記サンプル点設定ステップにより前記設定対象フレーム画像に設定されたサンプル点のそれぞれに、前記設定対象フレーム画像に設定されたサンプル点における色と、前記設定済フレーム画像に設定されている、前記設定対象フレーム画像に設定されたサンプル点に対応するサンプル点における色と、の類似度が高いほど大きな重みを付与する重み付与ステップと、
前記設定対象フレーム画像に設定されたサンプル点のそれぞれの座標と、前記重み付与ステップにより、前記設定対象フレーム画像に設定されたサンプル点のそれぞれに付与された重みと、に基づいて、前記動画像上における物体の位置を推定する物体位置推定ステップと、を含む、
ことを特徴とする物体位置推定方法。
(Appendix 6)
A random number sequence generating step for generating a first random number sequence having random numbers for the number of samples and a second random number sequence having random numbers for the number of samples;
A random number sequence storage step for storing the first random number sequence and the second random number sequence generated by the random number sequence generation step;
For each of the sample points for the number of samples set in the set frame image of the frame images constituting the moving image, the larger the number of sample points, the greater the weight assigned to the sample points. A temporary sample point setting step for setting a temporary sample point of the same coordinates as
Temporary sample point selection step for selecting temporary sample points for the number of samples from the temporary sample points set by the temporary sample point setting step based on the first random number sequence stored by the random number sequence storage step When,
A temporary sample point moving step of moving each of the temporary sample points selected by the temporary sample point selecting step based on the second random number sequence stored by the random number sequence storing step;
A sample point setting step for setting the sample points for the number of samples having the same coordinates as the temporary sample points after being moved by the temporary sample point moving step in a setting target frame image among the frame images constituting the moving image; ,
The setting target set in the set frame image and the color at the sample point set in the setting target frame image for each of the sample points set in the setting target frame image by the sample point setting step A weighting step of giving a greater weight to the color at the sample point corresponding to the sample point set in the frame image, as the similarity is higher;
The moving image based on the coordinates of the sample points set in the setting target frame image and the weights assigned to the sample points set in the setting target frame image by the weighting step. An object position estimating step for estimating the position of the object above,
An object position estimation method characterized by the above.
(付記7)
コンピュータを、
サンプル数分の乱数を有する第1乱数列と、前記サンプル数分の乱数を有する第2乱数列と、を生成する乱数列生成手段、
前記乱数列生成手段により生成された第1乱数列と第2乱数列とを記憶する乱数列記憶手段、
動画像を構成するフレーム画像のうちの設定済フレーム画像に設定されている、前記サンプル数分のサンプル点のそれぞれについて、前記サンプル点に付与されている重みが大きいほど多くの個数、前記サンプル点と同じ座標の仮サンプル点を設定する仮サンプル点設定手段、
前記乱数列記憶手段に記憶されている第1乱数列に基づいて、前記仮サンプル点設定手段により設定された仮サンプル点の中から、前記サンプル数分の仮サンプル点を選択する仮サンプル点選択手段、
前記乱数列記憶手段に記憶されている第2乱数列に基づいて、前記仮サンプル点選択手段により選択された仮サンプル点のそれぞれを移動させる仮サンプル点移動手段、
前記仮サンプル点移動手段による移動後の仮サンプル点とそれぞれ同じ座標の前記サンプル数分のサンプル点を、前記動画像を構成するフレーム画像のうちの設定対象フレーム画像に設定するサンプル点設定手段、
前記サンプル点設定手段により前記設定対象フレーム画像に設定されたサンプル点のそれぞれに、前記設定対象フレーム画像に設定されたサンプル点における色と、前記設定済フレーム画像に設定されている、前記設定対象フレーム画像に設定されたサンプル点に対応するサンプル点における色と、の類似度が高いほど大きな重みを付与する重み付与手段、
前記設定対象フレーム画像に設定されたサンプル点のそれぞれの座標と、前記重み付与手段により、前記設定対象フレーム画像に設定されたサンプル点のそれぞれに付与された重みと、に基づいて、前記動画像上における物体の位置を推定する物体位置推定手段、として機能させる、
ことを特徴とするプログラム。
(Appendix 7)
Computer
Random number sequence generation means for generating a first random number sequence having random numbers for the number of samples and a second random number sequence having random numbers for the number of samples;
Random number sequence storage means for storing the first random number sequence and the second random number sequence generated by the random number sequence generation means;
For each of the sample points for the number of samples set in the set frame image of the frame images constituting the moving image, the larger the number of sample points, the greater the weight assigned to the sample points. A temporary sample point setting means for setting a temporary sample point of the same coordinates as
Temporary sample point selection for selecting temporary sample points corresponding to the number of samples from the temporary sample points set by the temporary sample point setting unit based on the first random number sequence stored in the random number sequence storage unit means,
Temporary sample point moving means for moving each of the temporary sample points selected by the temporary sample point selecting means based on the second random number sequence stored in the random number sequence storage means;
Sample point setting means for setting the sample points for the number of samples having the same coordinates as the temporary sample points after being moved by the temporary sample point moving means, in setting frame images among the frame images constituting the moving image,
The setting target set in the set frame image and the color at the sample point set in the setting target frame image for each of the sample points set in the setting target frame image by the sample point setting means Weight giving means for giving a higher weight as the degree of similarity between the color at the sample point corresponding to the sample point set in the frame image is higher;
The moving image based on the coordinates of the sample points set in the setting target frame image and the weights given to the sample points set in the setting target frame image by the weight assigning unit. Function as object position estimation means for estimating the position of an object on
A program characterized by that.
11・・・CPU、12・・・ROM、13・・・RAM、14・・・フラッシュメモリ、15・・・RTC、16・・・タッチスクリーン、17・・・インターフェース、100・・・物体位置推定装置、101・・・乱数列生成部、102・・・乱数列記憶部、103・・・仮サンプル点設定部、104・・・仮サンプル点選択部、105・・・仮サンプル点移動部、106・・・サンプル点設定部、107・・・重み付与部、108・・・物体位置推定部、109・・・動画像取得部、200・・・撮像装置、600・・・物体
11 ... CPU, 12 ... ROM, 13 ... RAM, 14 ... flash memory, 15 ... RTC, 16 ... touch screen, 17 ... interface, 100 ... object
Claims (15)
生成された少なくとも2個の前記第1乱数列と、生成された少なくとも2個の前記第2乱数列と、生成された前記第3乱数列と、を予め記憶する乱数列記憶手段と、
サンプル点に付与されている重みが大きいほど多くの個数だけ、サンプル点と同じ座標の仮サンプル点を設定する仮サンプル点設定手段と、
予め記憶されている前記第3乱数列に基づいて、予め記憶されている少なくとも2個の前記第1乱数列の中から1個の前記第1乱数列を選択し、選択された1個の前記第1乱数列に基づいて、設定された仮サンプル点の中から前記サンプル数分の仮サンプル点を選択する仮サンプル点選択手段と、
予め記憶されている前記第2乱数列に基づいて、選択された仮サンプル点を移動させる仮サンプル点移動手段と、
移動後の仮サンプル点と同じ座標のサンプル点を設定するサンプル点設定手段と、
移動後のサンプル点における色と移動前のサンプル点における色との類似度が高いほど大きな重みを新たに付与する重み付与手段と、
設定されたサンプル点の座標と新たに付与された重みとに基づいて物体の位置を推定する物体位置推定手段と、
を備える、
ことを特徴とする物体位置推定装置。 And at least two first random number sequence having a number of samples of the random number, and at least two second random number sequence has a random number of the number of samples, and the third random number sequence having at least two uniform random numbers, A random number sequence generating means for generating
At least the two of the first random number sequence is generated, at least the two of the second random number sequence is generated, and the generated third random number sequence, a random number sequence storing means for storing in advance,
A temporary sample point setting means for setting a temporary sample point having the same coordinates as the sample point as the weight assigned to the sample point increases,
Based on the third random number sequence stored in advance, the first random number sequence is selected from at least two first random number sequences stored in advance, and the selected one random number Temporary sample point selection means for selecting temporary sample points for the number of samples from the set temporary sample points based on the first random number sequence;
Temporary sample point moving means for moving a selected temporary sample point based on the second random number sequence stored in advance;
Sample point setting means for setting a sample point having the same coordinates as the temporary sample point after movement;
Weight giving means for newly giving a larger weight as the degree of similarity between the color at the sample point after movement and the color at the sample point before movement is higher;
An object position estimating means for estimating the position of the object based on the coordinates of the set sample points and the newly assigned weight;
Comprising
An object position estimation apparatus characterized by the above.
生成された少なくとも2個の前記第1乱数列と、生成された少なくとも2個の前記第2乱数列と、生成された前記第4乱数列と、を予め記憶する乱数列記憶手段と、Random number sequence storage means for storing in advance the generated at least two first random number sequences, the generated at least two second random number sequences, and the generated fourth random number sequence;
サンプル点に付与されている重みが大きいほど多くの個数だけ、サンプル点と同じ座標の仮サンプル点を設定する仮サンプル点設定手段と、A temporary sample point setting means for setting a temporary sample point having the same coordinates as the sample point as the weight assigned to the sample point increases,
予め記憶されている前記第1乱数列に基づいて、設定された仮サンプル点の中から、前記サンプル数分の仮サンプル点を選択する仮サンプル点選択手段と、Temporary sample point selection means for selecting temporary sample points for the number of samples from the set temporary sample points based on the first random number sequence stored in advance;
予め記憶されている前記第4乱数列に基づいて、予め記憶されている少なくとも2個の前記第2乱数列の中から2個の前記第2乱数列を選択し、選択された2個の前記第2乱数列に基づいて、選択された仮サンプル点を移動させる仮サンプル点移動手段と、Based on the fourth random number sequence stored in advance, two second random number sequences are selected from at least two second random number sequences stored in advance, and the two selected two random number sequences are selected. Temporary sample point moving means for moving the selected temporary sample point based on the second random number sequence;
移動後の仮サンプル点と同じ座標のサンプル点を設定するサンプル点設定手段と、Sample point setting means for setting a sample point having the same coordinates as the temporary sample point after movement;
移動後のサンプル点における色と移動前のサンプル点における色との類似度が高いほど大きな重みを新たに付与する重み付与手段と、Weight giving means for newly giving a larger weight as the degree of similarity between the color at the sample point after movement and the color at the sample point before movement is higher;
設定されたサンプル点の座標と新たに付与された重みとに基づいて物体の位置を推定する物体位置推定手段と、An object position estimating means for estimating the position of the object based on the coordinates of the set sample points and the newly assigned weight;
を備える、Comprising
ことを特徴とする物体位置推定装置。An object position estimation apparatus characterized by the above.
ことを特徴とする請求項1又は2に記載の物体位置推定装置。 The provisional sample point setting means sets a larger weight for a sample point for each of the sample points for the number of samples set in a set frame image of frame images constituting a moving image. Set as many temporary sample points with the same coordinates as the sample points.
Object position estimation apparatus according to claim 1 or 2, characterized in that.
ことを特徴とする請求項3に記載の物体位置推定装置。 The temporary sample point selection means is based on the first random number sequence stored in advance in the random number sequence storage means, out of the temporary sample points set by the temporary sample point setting means, for the number of samples. Select a temporary sample point,
The object position estimating apparatus according to claim 3 .
ことを特徴とする請求項4に記載の物体位置推定装置。 The temporary sample point moving means moves each of the temporary sample points selected by the temporary sample point selecting means based on the second random number sequence stored in advance in the random number sequence storage means.
The object position estimating apparatus according to claim 4 .
ことを特徴とする請求項5に記載の物体位置推定装置。 The sample point setting means sets the sample points for the number of samples having the same coordinates as the temporary sample points after being moved by the temporary sample point moving means to the setting target frame images of the frame images constituting the moving image. Set,
The object position estimating apparatus according to claim 5 .
ことを特徴とする請求項6に記載の物体位置推定装置。 The weight assigning unit is set in each of the sample points set in the setting target frame image by the sample point setting unit and the color at the sample point set in the setting target frame image and the set frame image. A higher weight is newly given as the degree of similarity is higher with the color at the sample point corresponding to the sample point set in the setting target frame image.
The object position estimating apparatus according to claim 6 .
ことを特徴とする請求項7に記載の物体位置推定装置。 The object position estimating means includes the coordinates of the sample points set in the setting target frame image and the newly assigned weights to the sample points set in the setting target frame image by the weight assigning means. And estimating the position of the object on the moving image based on
The object position estimating apparatus according to claim 7 .
前記第2乱数列は、前記サンプル数分の正規乱数を有する、
ことを特徴とする請求項1乃至8のいずれか1項に記載の物体位置推定装置。 The first random number sequence has uniform random numbers corresponding to the number of samples,
The second random number sequence has normal random numbers corresponding to the number of samples.
Object position estimation apparatus according to any one of claims 1 to 8, characterized in that.
ことを特徴とする請求項6乃至8のいずれか1項に記載の物体位置推定装置。 The weighting unit includes a color in a specific region centered on the sample point set in the setting target frame image, and the setting for each of the sample points set in the setting target frame image by the sample point setting unit. A higher weight is newly assigned to the color in a specific area centered on a sample point corresponding to the sample point set in the set target frame image, which is set in the completed frame image,
Object position estimation apparatus according to any one of claims 6 to 8, characterized in that.
ことを特徴とする請求項10に記載の物体位置推定装置。 The specific area is set wider as the number of samples is smaller.
The object position estimation apparatus according to claim 10 .
生成された少なくとも2個の前記第1乱数列と、生成された少なくとも2個の前記第2乱数列と、生成された前記第3乱数列と、を予め記憶する乱数列記憶ステップと、
サンプル点に付与されている重みが大きいほど多くの個数だけ、サンプル点と同じ座標の仮サンプル点を設定する仮サンプル点設定ステップと、
予め記憶されている前記第3乱数列に基づいて、予め記憶されている少なくとも2個の前記第1乱数列の中から1個の前記第1乱数列を選択し、選択された1個の前記第1乱数列に基づいて、設定された仮サンプル点の中から前記サンプル数分の仮サンプル点を選択する仮サンプル点選択ステップと、
予め記憶された前記第2乱数列に基づいて、選択された仮サンプル点を移動させる仮サンプル点移動ステップと、
移動後の仮サンプル点と同じ座標のサンプル点を設定するサンプル点設定ステップと、
移動後のサンプル点における色と移動前のサンプル点における色との類似度が高いほど大きな重みを新たに付与する重み付与ステップと、
設定されたサンプル点の座標と新たに付与された重みとに基づいて物体の位置を推定する物体位置推定ステップと、
を含む、
ことを特徴とする物体位置推定方法。 And at least two first random number sequence having a number of samples of the random number, and at least two second random number sequence has a random number of the number of samples, and the third random number sequence having at least two uniform random numbers, A random number sequence generation step for generating
At least the two of the first random number sequence is generated, at least the two of the second random number sequence is generated, and the random number sequence storing step of storing the generated third random number sequence, previously,
A temporary sample point setting step for setting a larger number of temporary sample points having the same coordinates as the sample points as the weight given to the sample points is larger;
Based on the third random number sequence stored in advance, the first random number sequence is selected from at least two first random number sequences stored in advance, and the selected one random number A temporary sample point selection step of selecting temporary sample points corresponding to the number of samples from the set temporary sample points based on the first random number sequence;
A temporary sample point moving step of moving the selected temporary sample point based on the second random number sequence stored in advance;
A sample point setting step for setting a sample point having the same coordinates as the temporary sample point after movement;
A weighting step for newly giving a larger weight as the degree of similarity between the color at the sample point after movement and the color at the sample point before movement is higher;
An object position estimation step for estimating the position of the object based on the coordinates of the set sample points and the newly assigned weights;
including,
An object position estimation method characterized by the above.
生成された少なくとも2個の前記第1乱数列と、生成された少なくとも2個の前記第2乱数列と、生成された前記第4乱数列と、を予め記憶する乱数列記憶ステップと、A random number sequence storage step for storing in advance the generated at least two first random number sequences, the generated at least two second random number sequences, and the generated fourth random number sequence;
サンプル点に付与されている重みが大きいほど多くの個数だけ、サンプル点と同じ座標の仮サンプル点を設定する仮サンプル点設定ステップと、A temporary sample point setting step for setting a larger number of temporary sample points having the same coordinates as the sample points as the weight given to the sample points is larger;
予め記憶された前記第1乱数列に基づいて、設定された仮サンプル点の中から前記サンプル数分の仮サンプル点を選択する仮サンプル点選択ステップと、A temporary sample point selecting step for selecting temporary sample points for the number of samples from the set temporary sample points based on the first random number sequence stored in advance;
予め記憶されている前記第4乱数列に基づいて、予め記憶されている少なくとも2個の前記第2乱数列の中から2個の前記第2乱数列を選択し、選択された2個の前記第2乱数列に基づいて、選択された仮サンプル点を移動させる仮サンプル点移動ステップと、Based on the fourth random number sequence stored in advance, two second random number sequences are selected from at least two second random number sequences stored in advance, and the two selected two random number sequences are selected. A temporary sample point moving step of moving the selected temporary sample point based on the second random number sequence;
移動後の仮サンプル点と同じ座標のサンプル点を設定するサンプル点設定ステップと、A sample point setting step for setting a sample point having the same coordinates as the temporary sample point after movement;
移動後のサンプル点における色と移動前のサンプル点における色との類似度が高いほど大きな重みを新たに付与する重み付与ステップと、A weighting step for newly giving a larger weight as the degree of similarity between the color at the sample point after movement and the color at the sample point before movement is higher;
設定されたサンプル点の座標と新たに付与された重みとに基づいて物体の位置を推定する物体位置推定ステップと、An object position estimation step for estimating the position of the object based on the coordinates of the set sample points and the newly assigned weights;
を含む、including,
ことを特徴とする物体位置推定方法。An object position estimation method characterized by the above.
サンプル数分の乱数を有する少なくとも2個の第1乱数列と、前記サンプル数分の乱数を有する少なくとも2個の第2乱数列と、少なくとも2個の一様乱数を有する第3乱数列と、を生成する乱数列生成手段、
生成された少なくとも2個の前記第1乱数列と、生成された少なくとも2個の前記第2乱数列と、生成された前記第3乱数列と、を予め記憶する乱数列記憶手段、
サンプル点に付与されている重みが大きいほど多くの個数だけ、サンプル点と同じ座標の仮サンプル点を設定する仮サンプル点設定手段、
予め記憶されている前記第3乱数列に基づいて、予め記憶されている少なくとも2個の前記第1乱数列の中から1個の前記第1乱数列を選択し、選択された1個の前記第1乱数列に基づいて、設定された仮サンプル点の中から前記サンプル数分の仮サンプル点を選択する仮サンプル点選択手段、
予め記憶されている前記第2乱数列に基づいて、選択された仮サンプル点を移動させる仮サンプル点移動手段、
移動後の仮サンプル点と同じ座標のサンプル点を設定するサンプル点設定手段、
移動後のサンプル点における色と移動前のサンプル点における色との類似度が高いほど大きな重みを新たに付与する重み付与手段、
設定されたサンプル点の座標と新たに付与された重みとに基づいて物体の位置を推定する物体位置推定手段、
として機能させる、
ことを特徴とするプログラム。 Computer
And at least two first random number sequence having a number of samples of the random number, and at least two second random number sequence has a random number of the number of samples, and the third random number sequence having at least two uniform random numbers, Random number sequence generation means for generating
At least two of the first random number sequence is generated, at least the two of the second random number sequence is generated, the generated third random number sequence and the random number sequence storing means for storing in advance,
Temporary sample point setting means for setting a larger number of temporary sample points having the same coordinates as the sample points as the weight given to the sample points is larger,
Based on the third random number sequence stored in advance, the first random number sequence is selected from at least two first random number sequences stored in advance, and the selected one random number Temporary sample point selection means for selecting temporary sample points corresponding to the number of samples from the set temporary sample points based on the first random number sequence;
Temporary sample point moving means for moving the selected temporary sample point based on the second random number sequence stored in advance;
Sample point setting means for setting a sample point having the same coordinates as the temporary sample point after movement,
Weight giving means for newly giving a larger weight as the degree of similarity between the color at the sample point after movement and the color at the sample point before movement is higher;
Object position estimating means for estimating the position of the object based on the coordinates of the set sample points and the newly assigned weights;
Function as
A program characterized by that.
サンプル数分の乱数を有する少なくとも2個の第1乱数列と、前記サンプル数分の乱数を有する少なくとも2個の第2乱数列と、少なくとも2個の一様乱数を有する第4乱数列と、を生成する乱数列生成手段、At least two first random number sequences having random numbers for the number of samples, at least two second random number sequences having random numbers for the number of samples, and a fourth random number sequence having at least two uniform random numbers; Random number sequence generation means for generating
生成された少なくとも2個の前記第1乱数列と、生成された少なくとも2個の前記第2乱数列と、生成された前記第4乱数列と、を予め記憶する乱数列記憶手段、Random number sequence storage means for storing in advance the generated at least two first random number sequences, the generated at least two second random number sequences, and the generated fourth random number sequence;
サンプル点に付与されている重みが大きいほど多くの個数だけ、サンプル点と同じ座標の仮サンプル点を設定する仮サンプル点設定手段、Temporary sample point setting means for setting a larger number of temporary sample points having the same coordinates as the sample points as the weight given to the sample points is larger,
予め記憶されている前記第1乱数列に基づいて、設定された仮サンプル点の中から前記サンプル数分の仮サンプル点を選択する仮サンプル点選択手段、Temporary sample point selection means for selecting temporary sample points for the number of samples from the set temporary sample points based on the first random number sequence stored in advance;
予め記憶されている前記第4乱数列に基づいて、予め記憶されている少なくとも2個の前記第2乱数列の中から2個の前記第2乱数列を選択し、選択された2個の前記第2乱数列に基づいて、選択された仮サンプル点を移動させる仮サンプル点移動手段、Based on the fourth random number sequence stored in advance, two second random number sequences are selected from at least two second random number sequences stored in advance, and the two selected two random number sequences are selected. Temporary sample point moving means for moving the selected temporary sample point based on the second random number sequence;
移動後の仮サンプル点と同じ座標のサンプル点を設定するサンプル点設定手段、Sample point setting means for setting a sample point having the same coordinates as the temporary sample point after movement,
移動後のサンプル点における色と移動前のサンプル点における色との類似度が高いほど大きな重みを新たに付与する重み付与手段、Weight giving means for newly giving a larger weight as the degree of similarity between the color at the sample point after movement and the color at the sample point before movement is higher;
設定されたサンプル点の座標と新たに付与された重みとに基づいて物体の位置を推定する物体位置推定手段、Object position estimating means for estimating the position of the object based on the coordinates of the set sample point and the newly assigned weight;
として機能させる、Function as
ことを特徴とするプログラム。A program characterized by that.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2013213940A JP6340769B2 (en) | 2013-10-11 | 2013-10-11 | Object position estimation apparatus, object position estimation method, and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2013213940A JP6340769B2 (en) | 2013-10-11 | 2013-10-11 | Object position estimation apparatus, object position estimation method, and program |
Publications (3)
| Publication Number | Publication Date |
|---|---|
| JP2015076056A JP2015076056A (en) | 2015-04-20 |
| JP2015076056A5 JP2015076056A5 (en) | 2016-11-24 |
| JP6340769B2 true JP6340769B2 (en) | 2018-06-13 |
Family
ID=53000826
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2013213940A Expired - Fee Related JP6340769B2 (en) | 2013-10-11 | 2013-10-11 | Object position estimation apparatus, object position estimation method, and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6340769B2 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2017057157A1 (en) * | 2015-09-30 | 2017-04-06 | 株式会社ニコン | Flight device, movement device, server, and program |
| JP7272024B2 (en) * | 2019-03-15 | 2023-05-12 | オムロン株式会社 | Object tracking device, monitoring system and object tracking method |
| CN114254836B (en) * | 2021-12-28 | 2025-05-06 | 四创科技有限公司 | A water bloom disaster early warning method and terminal based on similarity analysis |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2002082715A1 (en) * | 2001-04-03 | 2002-10-17 | Mitsubishi Denki Kabushiki Kaisha | Encrypting device |
| JP3875225B2 (en) * | 2003-10-09 | 2007-01-31 | 日本電信電話株式会社 | Communication control system, communication control method, and communication control program |
| JP4568223B2 (en) * | 2005-12-21 | 2010-10-27 | 株式会社デンソー | Estimator |
| JP5088279B2 (en) * | 2008-01-07 | 2012-12-05 | 株式会社Jvcケンウッド | Target tracking device |
| JP4780205B2 (en) * | 2009-02-23 | 2011-09-28 | カシオ計算機株式会社 | Imaging device, angle of view adjustment method, and program |
| JP5552069B2 (en) * | 2011-01-31 | 2014-07-16 | セコム株式会社 | Moving object tracking device |
-
2013
- 2013-10-11 JP JP2013213940A patent/JP6340769B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2015076056A (en) | 2015-04-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11232593B2 (en) | Calibration apparatus, calibration system, and calibration method | |
| TWI621101B (en) | Image processing device, electronic device, image processing method and non-transitory computer readable recording medium | |
| CN108156450B (en) | Method, calibration device, calibration system, and machine-readable storage medium for calibrating a camera | |
| JP2019160298A (en) | Image processing apparatus and method for object boundary stabilization in image of sequence of images | |
| JP6793151B2 (en) | Object tracking device, object tracking method and object tracking program | |
| US11328473B2 (en) | Information processing apparatus, information processing method, and non-transitory computer-readable storage medium | |
| CN109937393B (en) | Supporting augmented reality software applications | |
| JPWO2018139461A1 (en) | Moving object detection apparatus, moving object detection method, and storage medium | |
| EP3299937B1 (en) | Information processing device and information processing method | |
| JP2018113021A5 (en) | ||
| CN106210699B (en) | Information processing unit, the control method of information processing unit and image processing system | |
| JP6340769B2 (en) | Object position estimation apparatus, object position estimation method, and program | |
| JP2013175003A (en) | Psf estimation method, restoration method of deteriorated image by using method, program recording them, and computer device executing program | |
| US11361448B2 (en) | Image processing apparatus, method of controlling image processing apparatus, and storage medium | |
| US11457158B2 (en) | Location estimation device, location estimation method, and program recording medium | |
| WO2010052874A1 (en) | Object position estimation system, object position estimation device, object position estimation method, and object position estimation program | |
| AU2018416431A1 (en) | Head-mounted display and method to reduce visually induced motion sickness in a connected remote display | |
| WO2018227580A1 (en) | Camera calibration method and terminal | |
| US10242479B2 (en) | Information processing device and information processing method | |
| US9842260B2 (en) | Image processing apparatus and image processing method of performing image segmentation | |
| JP2019121069A (en) | Image processing device, image processing method, and program | |
| CN111625101B (en) | Display control method and device | |
| JP2004252748A (en) | Image processing method and image processing device | |
| US20210150723A1 (en) | Image processing device, image processing method, and program | |
| JP7662969B2 (en) | Learning model construction device, estimation device, learning model construction method, estimation method, and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20161006 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20161006 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20170809 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170926 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20171127 |
|
| 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: 20180417 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20180430 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6340769 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| LAPS | Cancellation because of no payment of annual fees |