In the TOMHT tracker, what is exactly the difference between the parameters MaxNumHypotheses and MaxNumTrackBranches?

1 次查看(过去 30 天)
Hello,
I read the documentation on both parameters:
MaxNumHypotheses: Maximum number of hypotheses maintained by the tracks in cases of ambiguity, specified as a positive integer. Larger values increase the computational load.
MaxNumTrackBranches: Set the maximum number of track branches (hypotheses) allowed for each track. Larger values increase the computational load.
MaxNumTrackBranches seems pretty straightforward. However, I do not see how MaxNumHypotheses is different. What is exactly the difference between the two?
Thank you very much,
Joost

采纳的回答

Elad Kivelevitch
Elad Kivelevitch 2021-10-14
The main difference is that branches are hypotheses at the track level. They are formed based on the assignment results and maintained until we prune them.
The hypotheses overall are global across all the tracks. We keep the maximum number of hypotheses that have the overall best scores and discard the rest, which means that some branches are pruned with that discarding.
Here is a simple example. Suppose you have 2 tracks from the previous step: A and B (for simplicity, let's say they each have one branch). Furthermore, let's say that MaxNumTrackBranches is 3 and MaxNumHypotheses is 5.
In the current step, we compute new branches based on the assignments and get:
Track A is split to branches A1, A2, and A3
Track B is split to branches B1, and B2.
We additionally create new tracks C with 1 branch and D with two branches.
Each one of the branches has a score and each overall hypothesis is a collection of branches and their scores. Obviously, from the example above you can see that the total number of hypotheses is 3 (for A) x 2 (for B) x 1 (for C) x 2 (for D). For example, a hypothesis is A1, B2, C, D1.
We use the maximum number of hyptoheses to keep only the top score hypotheses. Then we prune the rest and remove track branches that are not suppored by any of the surviving hypotheses. For example, let's say that A3 was a branch that didn't make it to the top MaxNumHypotheses (5) hypotheses, we would eliminate it from the list of branches we maintain, so at the end of the step, track A has only two remaining branches (A1 and A2).
This process of branching and pruning is described in the paper we refer to in the doc, if you wish to read more details.
Werthmann, J. R.. "Step-by-Step Description of a Computationally Efficient Version of Multiple Hypothesis Tracking." In International Society for Optics and Photonics, Vol. 1698, pp. 228-301, 1992.
Obviously, you would want to carefully consider how many hypotheses you would like to keep so that you're still keeping enough track branches when tracking a large number of tracks. That being said, performance and memory usage play a big role when you need to prune the branches and it is a delicate tuning and tweaking to get the right result.
I hope this helps.
  2 个评论
Joost
Joost 2021-10-14
Thank you for the explanation, it is perfectly clear. I am aware of the concept of global and local hypotheses, but the descriptions of the parameters confused me, because in the description MaxNumTrackBranches, the branches are called hypotheses, just like in the description of MaxNumHypotheses. Maybe it would be more clear to call it MaxNumGlobalHypotheses?

请先登录,再进行评论。

更多回答(0 个)

产品


版本

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by