Warning: The new value for the Matrix property may cause rendering problems.
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su MATLAB Support Package for USB Webcams in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!