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
clearimage_list=dir('MicroFinal*.dcm');[slice_no,y]=size(image_list);for i=1:slice_norph_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