imshow update in realtime, colorbar causing it to slow down
Mostrar comentarios más antiguos
I am updating a display ~15 times a second using imshow. I want to display the colorbar on the side, but that seems to slow down the displaying greatly, causing other problems.
Here is my code, and how I am doing it. So this code is called multiple times over and over in a loop until the user stops something (it is taking data in from an acquisition card and displaying it). Can I make the colorbar more efficient somehow?
imshow(squeeze(sum( RawData((1:2:7),:,:,2)< ChannelD_Threshold ,1)),[],'Parent',imagePlot1, 'border','tight');
imshow(squeeze(sum( RawData((2:2:8),:,:,2)< ChannelD_Threshold ,1)),[],'Parent',imagePlot2, 'border','tight');
colormap cool
% colorbar('location','southoutside')
Respuesta aceptada
Más respuestas (1)
Shane
el 17 de Abr. de 2013
0 votos
Categorías
Más información sobre Red en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!