필터 지우기
필터 지우기

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개)

카테고리

Help CenterFile Exchange에서 Read, Write, and Modify Image에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by