confirmTrack
Description
Examples
Create a multiObjectTracker System object.
tracker = multiObjectTracker;
Create one objectDetection object and use it to update the tracker.
detection1 = objectDetection(0,[1;1;1]); [cofirmedTracks,tentativeTracks]=tracker(detection1,0)
cofirmedTracks =
0×1 objectTrack array with properties:
TrackID
BranchID
SourceIndex
UpdateTime
Age
State
StateCovariance
StateParameters
ObjectClassID
ObjectClassProbabilities
TrackLogic
TrackLogicState
IsConfirmed
IsCoasted
IsSelfReported
ObjectAttributes
tentativeTracks =
objectTrack with properties:
TrackID: 1
BranchID: 0
SourceIndex: 0
UpdateTime: 0
Age: 1
State: [6×1 double]
StateCovariance: [6×6 double]
StateParameters: [1×1 struct]
ObjectClassID: 0
ObjectClassProbabilities: 1
TrackLogic: 'History'
TrackLogicState: [1 0 0 0 0]
IsConfirmed: 0
IsCoasted: 0
IsSelfReported: 1
ObjectAttributes: [1×1 struct]
From the results, the tracker does not maintain any confirmed tracks and only maintains one tentative track.
Confirm the tentative track using the confirmTrack object function.
confirmed = confirmTrack(tracker,1)
confirmed = logical
1
Input Arguments
Multi-object tracker, specified as a multiObjectTracker System object.
Track identifier, specified as a positive integer.
Example: 21
Output Arguments
Indicate if the track is successfully confirmed, returned as a logical
1 (true) or 0
(false). If the tentative track specified by the
trackID input exists, the function confirms the track and returns
1. If the tentative track does not exist, the function issues a
warning and returns 0.
Extended Capabilities
C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.
Version History
Introduced in R2022b
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Web サイトの選択
Web サイトを選択すると、翻訳されたコンテンツにアクセスし、地域のイベントやサービスを確認できます。現在の位置情報に基づき、次のサイトの選択を推奨します:
また、以下のリストから Web サイトを選択することもできます。
最適なサイトパフォーマンスの取得方法
中国のサイト (中国語または英語) を選択することで、最適なサイトパフォーマンスが得られます。その他の国の MathWorks のサイトは、お客様の地域からのアクセスが最適化されていません。
南北アメリカ
- América Latina (Español)
- Canada (English)
- United States (English)
ヨーロッパ
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)