Resize specific dimensions of images

4 ビュー (過去 30 日間)
Mar
Mar 2018 年 11 月 16 日
編集済み: KSSV 2018 年 11 月 16 日
Hi,
I have 4D images with dimensions Data=[256,256, 36, 99]. I would like to downscale only the x- and y-dimension of this dataset (keeping the other two fix), i.e. Data = [128,128,36,99]. Can anyone help with that?

回答 (1 件)

KSSV
KSSV 2018 年 11 月 16 日
編集済み: KSSV 2018 年 11 月 16 日
Read about imresize
I = rand(256,256, 36, 99) ;
I = imresize(I,[100,100]) ;

カテゴリ

Help Center および File ExchangeRead, 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