フィルターのクリア

How can I resize a mat file that contains images

3 ビュー (過去 30 日間)
Amira Youssef
Amira Youssef 2022 年 9 月 14 日
回答済み: Walter Roberson 2022 年 9 月 14 日
I have this code
https://www.mathworks.com/matlabcentral/fileexchange/71521-3-d-deep-learning-lung-tumor-segmentation
and my data is 40x40x40
I need it to be 64x64x64 for the code to work is that possible

回答 (2 件)

Chunru
Chunru 2022 年 9 月 14 日
V =rand(40, 40, 40);
q = (0:59)/59*39+1;
qqq = meshgrid(q, q, q);
% 3d interpolation
V1 = interp3(V, qqq, qqq, qqq);
whos
Name Size Bytes Class Attributes V 40x40x40 512000 double V1 60x60x60 1728000 double cmdout 1x33 66 char q 1x60 480 double qqq 60x60x60 1728000 double

Walter Roberson
Walter Roberson 2022 年 9 月 14 日
imresize3() for r2017b or later.

カテゴリ

Help Center および File ExchangeImage Data Workflows についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by