Borrar filtros
Borrar filtros

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

1 visualización (últimos 30 días)
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.

Respuestas (0)

Categorías

Más información sobre Geometric Transformation and Image Registration en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by