Warning: The new value for the Matrix property may cause rendering problems.
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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.
> 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.
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu MATLAB Support Package for USB Webcams finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!