How can I create a stack of 3D png images that are in grayscale?

1 回表示 (過去 30 日間)
Gaia Gbola
Gaia Gbola 2020 年 3 月 9 日
obj = VideoReader('IVUS 1.avi');
vid = read(obj);
frames = obj.NumberOfFrames;
for x = 1 : frames
imwrite(vid(:,:,:,x),strcat('frame-',num2str(x),'.png'));
end

回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by