Main Content

showTransform

Visualize estimated camera-to-IMU transformation

Since R2024a

    Description

    showTransform(params) visualizes the estimated camera-to-IMU transformation.

    showTransform(___,Name=Value) specifies visualization options using one or more name-value arguments.

    ax = showTransform(___) returns the axes that the transformation is plotted on.

    Input Arguments

    collapse all

    Estimated camera-to-IMU calibration parameters, specified as a cameraIMUParameters object.

    Use the estimateCameraIMUTransform function to get the estimated camera-to-IMU calibration parameters.

    Name-Value Arguments

    Specify optional pairs of arguments as Name1=Value1,...,NameN=ValueN, where Name is the argument name and Value is the corresponding value. Name-value arguments must appear after other arguments, but the order of the pairs does not matter.

    Example: showTransform(params,ScaleFactor=0.5)

    Parent axes, specified as an Axes object in which to plot the camera-to-IMU transformation. By default, the showTransform function plots the transformation in a new figure.

    Scale factor for plotting the camera and IMU sensor, specified as a positive numeric scalar.

    Output Arguments

    collapse all

    Axes graphic handle, returned as an Axes object. This object contains the properties of the figure that you plot the transformation onto.

    Version History

    Introduced in R2024a