Warning: The new value for the Matrix property may cause rendering problems.

6 visualizaciones (últimos 30 días)
When I plot the camera pose, I get the following warning, this 4*4 flush conversion matrix should be valid, even if I force the type to single type? How can I avoid it?
load data.mat
plotCamera(camCurrPose)
Warning: The new value for the Matrix property may cause rendering problems.
Warning: The new value for the Matrix property may cause rendering problems.
> In vision.graphics/Camera/updateTransform (line 251)
In vision.graphics.Camera (line 231)
In vision.graphics.Camera.plotCameraImpl (line 63)
In plotCamera (line 112)
I suspect that perhaps the matrix is type sensitive and,then modified line 251 of the internal code camera.m
%------------------------------------------------------------------
function updateTransform(this)
S = makehgtform('scale', this.SizeInternal);
T = makehgtform('translate', this.LocationInternal);
T(1:3, 1:3) = this.RotationInternal';
this.Group.Matrix = T * S; % line 251
end
this.Group.Matrix = single(T * S);
However, a warning will still be given.

Respuestas (0)

Categorías

Más información sobre Computer Vision Toolbox en Help Center y File Exchange.

Productos


Versión

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by