Convert following code in matlab to python

1 次查看(过去 30 天)
I have a 3D matrix of size 176*256*256.
To access it frame by frame I have written a code in matlab -
for i=20:25
aimage=Y(i,:,:);
bimage(:,:)=aimage(1,:,:);
imshow(bimage)
Where Y is my matrix. How to write this in python to access it frame by frame?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Call Python from MATLAB 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by