plotCamera: ButtonDownFcn usage
15 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi,
I have plotted a point cloud and a camera pose using structure from motion using the below matlab documentation.
I want to show the image of input camera by clicking on the camera.
In my case I have 6 cameras
I think I am doing something wrong with the function itself, can someone help me with the solution?
Thank you,
Amarbold
camPoses = poses(vSet);
figure;
plotCamera(camPoses, 'Size', 0.2, 'ButtonDownFcn', @imshowOrig);
hold on
function imshowOrig(camPoses,~)
idx = camPoses.ViewId;
imshow(pics{idx});
end
3 comentarios
Amarbold Purev
el 3 de Feb. de 2021
Editada: Amarbold Purev
el 3 de Feb. de 2021
Mario Malic
el 3 de Feb. de 2021
It was unnecessary, I have edited my code in comment. Read, you'll need to do some things in order for it to work.
Respuestas (0)
Ver también
Categorías
Más información sobre Camera Calibration en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!