objectDetection
Report for single object detection
描述
AnobjectDetection
对象包含一个对象检测报告,该报告是由传感器为单个对象获得的。您可以使用objectDetection
输出作为跟踪器的输入,例如multiObjectTracker
.
Creation
描述
creates an objectdetection
= objectDetection(time
,measurement
)detection
at the specifiedtime
from the specifiedmeasurement
.
creates adetection
= objectDetection(___,Name,Value
)detection
具有指定为一个或多个属性的对象Name,Value
pair arguments. Any unspecified properties have default values. You cannot specify theTime
或者Measurement
使用的属性Name,Value
pairs.
Input Arguments
time
—Detection time
nonnegative real scalar
检测时间,指定为非负实际标量。This argument sets theTime
property.
measurement
—Object measurement
真实价值N-element vector
Object measurement, specified as a real-valuedN- 元素矢量。Nis determined by the coordinate system used to report detections and other parameters that you specify in the测量参数
属性objectDetection
目的。
This argument sets theMeasurement
property.
Output Arguments
detection
- 检测报告
objectDetection
object
Detection report for a single object, returned as anobjectDetection
目的。AnobjectDetection
object contains these properties:
财产 | Definition |
---|---|
Time |
测量时间 |
Measurement |
Object measurements |
suberementNoise |
测量噪声协方差矩阵 |
SensorIndex |
Unique ID of the sensor |
ObjectClassID |
对象分类 |
objectattributes |
Additional information passed to tracker |
测量参数 |
Parameters used by initialization functions of nonlinear Kalman tracking filters |
Properties
Time
—Detection time
nonnegative real scalar
检测时间,指定为非负实际标量。您不能将此属性设置为名称值对。使用time
input argument instead.
例子:5.0
Data Types:double
Measurement
—Object measurement
真实价值N-element vector
Object measurement, specified as a real-valuedN- 元素矢量。您不能将此属性设置为名称值对。使用measurement
input argument instead.
例子:[1.0;-3.4]
Data Types:double
|single
suberementNoise
—Measurement noise covariance
scalar|real positive semi-definite symmetricN-经过-Nmatrix
Measurement noise covariance, specified as a scalar or a real positive semi-definite symmetricN-经过-Nmatrix.Nis the number of elements in the measurement vector. For the scalar case, the matrix is a square diagonalN-经过-Nmatrix having the same data interpretation as the measurement.
例子:[5.0,1.0; 1.0,10.0]
Data Types:double
|single
SensorIndex
—Sensor identifier
1
|positive integer
Sensor identifier, specified as a positive integer. The sensor identifier lets you distinguish between different sensors and must be unique to the sensor.
例子:5
Data Types:double
ObjectClassID
—对象类标识符
0
(default) |positive integer
对象类标识符, specified as a positive integer. Object class identifiers distinguish between different kinds of objects. The value0
表示未知的对象类型。如果类标识符非零,则multiObjectTracker
立即从检测中创建确认的轨道。
例子:1
Data Types:double
测量参数
—测量函数参数
{}
(default) |结构数组|cell containing structure array|单元阵列
测量函数参数,指定为结构阵列,包含结构阵列的单元格或单元格数组。该属性包含由测量功能指定的所有参数MeasurementFcn
非线性跟踪过滤器的属性,例如Trackingekf
或者Trackingingingkf
.
The table shows sample fields for the测量参数
structures.
Field | 描述 | Example |
---|---|---|
框架 |
框架used to report measurements, specified as one of these values:
|
'spherical' |
OriginPosition |
Position offset of the origin of the frame relative to the parent frame, specified as an[x y z] 实价矢量。 |
[0 0 0] |
OriginVelocity |
框架相对于父帧的起点的速度抵消,指定为[vx vy vz] 实价矢量。 |
[0 0 0] |
Orientation |
框架rotation matrix, specified as a 3-by-3 real-valued orthonormal matrix. | [1 0 0; 0 1 0; 0 0 1] |
HasAzimuth |
逻辑标量表示测量中是否包含方位角。 | 1 |
征服 |
逻辑标量表示测量中是否包括海拔。对于在矩形框架中报告的测量值,以及征服 is false, the reported measurements assume 0 degrees of elevation. |
1 |
hatrange |
Logical scalar indicating if range is included in the measurement. | 1 |
HasVelocity |
Logical scalar indicating if the reported detections include velocity measurements. For measurements reported in the rectangular frame, ifHasVelocity is false, the measurements are reported as[x y z] . IfHasVelocity is真的 , measurements are reported as[x y z vx vvz] . |
1 |
IsParentToChild |
Logical scalar indicating ifOrientation 执行从父坐标框架到子坐标框架的框架旋转。什么时候IsParentToChild isfalse , thenOrientation 执行从子坐标框架到父坐标框架的框架旋转。 |
0 |
objectattributes
—Object attributes
{}
(default) |单元阵列
Object attributes passed through the tracker, specified as a cell array. These attributes are added to the output of themultiObjectTracker
but not used by the tracker.
例子:{[[10,20,50,100],'radar1'}
例子
Create Detection from Position Measurement
从位置测量中创建检测。检测是在位置测量的一秒钟的时间戳进行的[100; 250; 10]
in Cartesian coordinates.
检测= objectDetection(1,[100; 250; 10])
检测=带有属性的对象进行:时间:1个测量:[3x1 double] sublementnoise:[3x3 double] sensorIndex:1 objectClassId:0 MeasurementParameters:{} objectAttributes:{}
Create Detection With Measurement Noise
Create anobjectDetection
从时间和位置测量。检测是在一秒钟的时间内进行对象位置测量[100; 250; 10]
. Add measurement noise and set other properties using Name-Value pairs.
检测= objectDetection(1,[100; 250; 10],,“ suberumentnoise',10,...'SensorIndex',1,'ObjectAttributes',{'Example object',5})
检测=带有属性的对象进行:时间:1测量:[3x1 double] smuesurementNoise:[3x3 double] sensorIndex:1 objectClassId:0 MeasurementParameters:{} objectAttributes:{'example Object object'[5] [5]} [5]}
Extended Capabilities
C/C ++代码生成
使用MATLAB®CODER™生成C和C ++代码。
Version History
MATLAB コマンド
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
选择一个网站
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:.
您还可以从以下列表中选择一个网站:
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.
美洲
- AméricaLatina(Español)
- Canada(English)
- 美国(English)
欧洲
- Belgium(English)
- 丹麦(English)
- Deutschland(德意志)
- españa(Español)
- Finland(English)
- 法国(Français)
- 爱尔兰(English)
- 意大利(Italiano)
- Luxembourg(English)
- Netherlands(English)
- 挪威(English)
- Österreich(德意志)
- Portugal(English)
- Sweden(English)
- 瑞士
- 英国(English)