The function's input is just a 3D image. 3 orthogonal slice objects are created in a 3D space. You can grasp one image slice and move your mouse to see the changing image data on the slice. Their motions are confined to translations along the 3rd axis only. Thanks Anders Brun's contribution of moveit2 function on the motion.
While it is moving, the slice object's 'CData' member continuously updated with the image data overlapping with its current position.
Run the following codes to see how it works:
load mri;
D=double(squeeze(D));
slidingviewer(D);
All feedbacks are welcomed to dnrwangg@nus.edu.sg.
引用格式
Gang Wang (2024). 3D CT/MRI images interactive sliding viewer (https://www.mathworks.com/matlabcentral/fileexchange/29134-3d-ct-mri-images-interactive-sliding-viewer), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
- Image Processing and Computer Vision > Image Processing Toolbox > Import, Export, and Conversion >
- Sciences > Physics > Medical Physics >
- Sciences > Biological and Health Sciences > Biomedical Imaging > X-Ray CT >
标签
致谢
参考作品: Moveit2 - Move a graphical object with the mouse.
启发作品: Move a 3D object with mouse in a traditional 4-view window
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!