initcapf
Create constant acceleration tracking particle filter from detection report
Syntax
Description
initializes a constant acceleration particle filter for object tracking based on information
provided in an pf
= initcapf(detection
)objectDetection
object,
detection
.
The function initializes a constant acceleration state with the
same convention as constacc
and cameas
,
[x; vx;
ax; y;
vy;
ay; z;
vz;
az].
Examples
Input Arguments
Output Arguments
Algorithms
The function configures the filter with 1000 particles. In creating the filter, the function computes the process noise matrix assuming a unit standard deviation for the acceleration change rate.
You can use this function as the
FilterInitializationFcn
property oftrackerTOMHT
andtrackerGNN
System objects.