how to resize image 3D

조회 수: 2 (최근 30일)
mohd akmal masud
mohd akmal masud 2022년 10월 18일
답변: Matt J 2022년 10월 18일
Dear all,
I have .mat file as attached. The dimension is 130x130x74. How to make it to 128x128x72?
I was write the command
scale = 128/130;
new = imresize(g, scale);
%i tried reduce this one but error
[x,y,z,g] = reducevolume(g,[(128/130),(128/130),(72/74)]);
Error using reducevolume
Reduction values must be integers greater than or equal to 2
Anypne can help me?

채택된 답변

Matt J
Matt J 2022년 10월 18일

추가 답변 (0개)

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by