Filter löschen
Filter löschen

How to display an image using the referencing obtained with imref3D?

1 Ansicht (letzte 30 Tage)
carlos Uribe
carlos Uribe am 13 Jan. 2016
Hello,
I'm trying to display some 3D DICOM images using the world reference frame. So I have read my volume and applied imref3D as follows for a case that contains 83 slices:
RI=imref3d(size(I),PixelSpacing(1),PixelSpacing(2),SliceThickness);
RI.ZWorldLimits=[inf{1}.ImagePositionPatient(3) inf{83}.ImagePositionPatient(3)];
The way I would usually display one of the slices is by
imagesc(I(:,:,10))
but this will display it in the intrinsic reference frame
and tried using
figure, imshow(I(:,:,1),RI);
but I get the error "Spatial referencing inputs to imshow must be 2-D."
Can someone help me with this? Also, is it possible to render the volume? and can I use imagesc instead of imshow?
Any help is appreciate it. Thank you in advance.

Antworten (0)

Kategorien

Mehr zu Geometric Transformation and Image Registration finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by