Main Content


Keep components with a given label ID


labeledDensity(phd,labelID) keeps components with the specified labelID and removes all other components in the density.

Input Arguments

collapse all

phd filter, specified as a ggiwphd filter object or a gmphd filter object.

Example: phd

Data Types: object

label ID of the components to be kept, specified as a nonnegative integer.

Example: 1

Data Types: double

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.

Version History

Introduced in R2019a