필터 지우기
필터 지우기

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

조회 수: 1 (최근 30일)
carlos Uribe
carlos Uribe 2016년 1월 13일
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.

답변 (0개)

카테고리

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