initcagmphd
Create constant acceleration gmphd
filter
Description
initializes a constant acceleration phd
= initcagmphd(detections
)gmphd
filter based on information provided
in object detections, detections
. The data type of the filter is the
same as the data type of measurement in the detections.
The function initializes a constant acceleration state with the same convention as
constacc
and cameas
, [x
vx
ax
y
vy
ay
z
vz
az].
Note
This initialization function is not compatible with trackerGNN
,
trackerJPDA
, and trackerTOMHT
System objects.
Examples
Input Arguments
Output Arguments
Algorithms
You can use
initcagmphd
as theFilterInitializationFcn
property oftrackingSensorConfiguration
.When detections are provided as input, the function adds one component to the density, which reflects the mean of the detections. When the function is called without any inputs, a filter is initialized with no components in the density.
The function uses the spread of measurements to specify the positional covariance.
The function configures the process noise of the filter by assuming a unit standard deviation for the acceleration change rate.
The function specifies a maximum of 500 components in the filter.
The function sets the
HasExtent
property of the filter totrue
if the number of input detections are greater than one.