Viewer3D
Editor's Note:Popular File2016
This function can be used to interactively view any kind of 2D,3D and 4D image volumes like CT and MRI. Allowing segmentation and distance measurements or ROI selection in 2D slices.
It includes Maximum intensity projections (MIP), Volume Rendering (VR) , Slice render, and colored and Phong shaded Volume rendering.
Voxel opacity and color tables can be changed on the fly allowing also iso surface kind of renders.
The fast render algorithm which renders a 3D volume to a 2D image, is based on a Matlab coded implementation of the Shear-Warp transform, in which instead of rotating the viewer rays the slices are sheared.
There are two major Matlab files:
- viewer3d.m : The interactive GUI
——渲染。m:呈现dat体积的函数a with the shear-warp transform to an 2D image.
File-formats supported:
Matlab Files (.mat)
Dicom Files ( .dcm , .dicom )
V3D Philips Scanner ( .v3d )
GIPL Guys Image Processing Lab ( .gipl )
HDR/IMG Analyze ( .hdr )
ISI Files ( .isi )
NifTi ( .nii )
RAW files ( .raw , .* )
VMP BrainVoyager ( .vmp )
XIF HDllab/ATL ultrasound ( .xif )
VTK Visualization Toolkit ( .vtk )
Insight Meta-Image ( .mha, .mhd )
Micro CT ( .vff )
Note:
This version is 100% Matlab code, but to make it faster if you run "compile c-code" in the config menu. I also included an older version with the shearwarp algorithm in c-code / mex-code
Please report bugs, successes and if you know some possible code speedups.
Cite As
Dirk-Jan Kroon (2022).Viewer3D(//www.tianjin-qmedu.com/matlabcentral/fileexchange/21993-viewer3d), MATLAB Central File Exchange. Retrieved.
MATLAB发行有限公司mpatibility
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision>Image Processing Toolbox>3-D Volumetric Image Processing>
- Industries>Medical Devices>DICOM Format>
- MATLAB>Graphics>2-D and 3-D Plots>Surfaces, Volumes, and Polygons>Volume Visualization>Scalar Volume Data>
- MATLAB>Graphics>Images>Read, Write, and Modify Image>
- Sciences>Physics>Medical Physics>
- Engineering>Biomedical Engineering>Biomedical Imaging>
Tags
Acknowledgements
Inspired:pcolor3,max_in_place - example of multi-threaded MEX function,Microscopy Image Browser (MIB),Microscopy Image Browser 2 (MIB2)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.