Effacer les filtres
Effacer les filtres

Resizing a stamp size 64X64 dicom image to 256X256

2 vues (au cours des 30 derniers jours)
Med_Imager
Med_Imager le 6 Fév 2012
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!

Réponse acceptée

Sean de Wolski
Sean de Wolski le 6 Fév 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

Plus de réponses (1)

Med_Imager
Med_Imager le 6 Fév 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!

Catégories

En savoir plus sur Geometric Transformation and Image Registration dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by