factorCameraSE3AndPointXYZ
Factor relating SE(3) camera pose, 3-D landmark point, and optional sensor transform
Since R2023a
Description
The factorCameraSE3AndPointXYZ
object contains visual projection factors that
each describe the relationship between the pose of a pinhole camera in the SE(3) state space
and a 3-D landmark point, or between the pose of a pinhole camera in the SE(3) state space, a
3-D landmark point, and a sensor transform. You can use this object to add one or more factors
to a factorGraph
object.
You can use factors connecting an SE(3) camera pose, a 3-D landmark point, and a sensor
transform to estimate sensor transform during extrinsic calibration between a camera and
another sensor. You can specify this sensor transform estimate as the
SensorTransform
property of a
factorCameraSE3AndPointXYZ
object, which you can then add to a factor graph
created from the trajectory data collected after calibration.
You can also use factors connecting an SE(3) camera pose, 3-D landmark point, and sensor
transform to refine sensor transform values during optimization. To perform this refinement,
free the sensor transform node by using the fixNode
function
with the flag
argument
specified as false
.
The factorCameraSE3AndPointXYZ
object requires a Computer Vision Toolbox™ license.
Creation
Syntax
Description
creates a F
= factorCameraSE3AndPointXYZ(nodeID
,cameraIntrinsicMatrix
)factorCameraSE3AndPointXYZ
object, F
, with the specified
node identification numbers nodeID
and camera intrinsic matrix
cameraIntrinsicMatrix
. You can create a
factorCameraSE3AndPointXYZ
object that contains multiple factors.
If
nodeID
is an N-by-2 matrix of nonnegative integers, then creates afactorCameraSE3AndPointXYZ
object that contains N factors, each of which relates a pose of a pinhole camera in the SE(3) state space and to a 3-D landmark point.If
nodeID
is an N-by-3 matrix of nonnegative integers, thenfactorCameraSE3AndPointXYZ(nodeID,cameraIntrinsicMatrix)
creates afactorCameraSE3AndPointXYZ
object that contain N factors, each of which relates a pose of a pinhole camera in the SE(3) state space, a 3-D landmark point, and a sensor transform. In this case,factorCameraSE3AndPointXYZ
ignores any specified value for theSensorTransform
property, and sets it to an SE(3) transformation representing an identity rotation with no translation.
specifies properties using one or more name-value arguments in addition to the arguments
from the previous syntax.F
= factorCameraSE3AndPointXYZ(___,Name=Value
)
Input Arguments
Name-Value Arguments
Output Arguments
Properties
Object Functions
nodeType | Get node type of node in factor graph |