Convert following code in matlab to python

조회 수: 1 (최근 30일)
Priyam Pandey
Priyam Pandey 2021년 2월 24일
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