Warning: The new value for the Matrix property may cause rendering problems.
조회 수: 4 (최근 30일)
이전 댓글 표시
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
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 MATLAB Support Package for USB Webcams에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!