imresize3D(x,f)

This function resize 3D image along the third diemnsion
197 Downloads
Updated 27 Aug 2015

View License

This function resize 3D image along the third diemnsion
it uses matlab imresize to resize slices along the third dimension
input: x: 3d matrix
f: resize factor , for more info use: help imresize
output: resized 3d matrix, type is double
Example:
x=rand(400,300,100);
y= imresize3D(x,0.5); % new height and width will be 200 and 150
whos x y

Cite As

Ibraheem Al-Dhamari (2024). imresize3D(x,f) (https://www.mathworks.com/matlabcentral/fileexchange/52695-imresize3d-x-f), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Read, Write, and Modify Image in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0