Help Center
Get copy of PHD filter
Since R2023a
filter = getPHDFilter(tracker)
filter = getPHDFilter(tracker) returns a copy of the probability hypothesis density (PHD) filter used in the tracker at the current time.
filter
tracker
Note
You must run the tracker object at least once before using this object function.
Changes applied to the returned filter do not affect the tracker object.
example
collapse all
trackerPHD
Create a trackingSensorConfiguration object and create a trackerPHD object based on the configuration settings.
trackingSensorConfiguration
config = trackingSensorConfiguration(1,IsValidTime=true); tracker = trackerPHD(SensorConfigurations=config);
Create a objectDetection object and update the tracker with the detection.
objectDetection
detection = objectDetection(0,[0 0 0],SensorIndex=1); tracker(detection,detection.Time);
Get a copy of the PHD filter object used in the tracker.
filter = ggiwphd with properties: States: [6x1 double] StateCovariances: [6x6 double] PositionIndex: [1 3 5] StateTransitionFcn: @constvel StateTransitionJacobianFcn: @constveljac ProcessNoise: [3x3 double] HasAdditiveProcessNoise: 0 Shapes: 1 Rates: 1 GammaForgettingFactors: 1.0300 DegreesOfFreedom: 101 ScaleMatrices: [3x3 double] ExtentRotationFcn: @(x,dT)eye(3,class(x)) TemporalDecay: 100 Weights: 2.2204e-19 Labels: 0 Detections: {[1x1 objectDetection]} MeasurementFcn: @cvmeas MeasurementJacobianFcn: @cvmeasjac HasAdditiveMeasurementNoise: 1
PHD tracker, specified as a trackerPHD object.
gmphd
ggiwphd
PHD filter, returned as a gmphd object or a ggiwphd object.
Introduced in R2023a
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.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
Europe
Asia Pacific
Contact your local office