MATLAB: Change resolution of DICOM

dicomimageimresizeresize

i am trying to reduce the DICOM image resolution. i though of using imresize, but imresize does not determine a mean, it samples the nearest grid point. which is not the best way for DICOM. is there another way to do it ???
the code below i used in the first time and trying to find better way
clear
image_list=dir('MicroFinal*.dcm');
[slice_no,y]=size(image_list);
for i=1:slice_no
rph_ct=dicomread(image_list(i).name);
image_stuck(:,:,i)=dicomread(image_list(i).name); % this line to get the 3d matrix
imgHdr = dicominfo(image_list(i).name);
rph_ctd_hu = imresize(rph_ct,[41,41]);
rph_ctd_huu = int16(rph_ctd_hu);
dicomwrite(rph_ctd_huu, ['F' num2str(i) '.dcm'], imgHdr,'CreateMode','Copy')
end

Best Answer

imresize() does not normally sample the nearest grid point (but it can.) The default is bicubic interpolation. You can change the interpolation method; https://www.mathworks.com/help/images/ref/imresize.html#buxswkh-1-method
Related Question