필터 지우기
필터 지우기

Resizing a stamp size 64X64 dicom image to 256X256

조회 수: 2 (최근 30일)
Med_Imager
Med_Imager 2012년 2월 6일
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!

채택된 답변

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

추가 답변 (1개)

Med_Imager
Med_Imager 2012년 2월 6일
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!

카테고리

Help CenterFile Exchange에서 Geometric Transformation and Image Registration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by