Resizing a stamp size 64X64 dicom image to 256X256

5 visualizzazioni (ultimi 30 giorni)
Does anyone have any ideas on the best way to resize a 64X64 dicom to a 256X256 dicom. I need to do ROI analysis, hence I need an image with better resolution.
Thanks!

Risposta accettata

Sean de Wolski
Sean de Wolski il 6 Feb 2012
You will not be getting better resolution, you'll be getting a finer sampling density. A finer resolution would require camera adjustments.
doc imresize

Più risposte (1)

Med_Imager
Med_Imager il 6 Feb 2012
Thank you Sean and Anton! Anton, that was very useful info! I used the wrong word "resolution'. I just need to re-size the image that is all.
imresize is exactly what I did.
A=Matrix(:,:,1,3); %Matrix is my 4D Matrix with 64 X 64 X 128 X 16
B=imresize(A,4,'nearest');
imshow(B,[ ]);
However,
I need to re-size all the images in my 4D Matrix to 256 x 256 and I want to do this step in the loop where I seperate these images from a mosaic. Refer to http://www.mathworks.com/matlabcentral/answers/27973-seperating-a-montage-mosaic-of-dicom-images-in-to-individual-slices
when I type Matrix=imresize(Matrix,4,'nearest');
It says it is out of memory. Is there a way to do this. It is no fun typing the 3 commands for each slice for each image!
Thanks!

Categorie

Scopri di più su DICOM Format in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by