Visualization of multi-modal volume segmentation
It can visualize single- or multi-modal 2D or 3D images in a selected plane, which can be switched.
Modalities are switched by left slider, slices are changed by botom slider. Planes are switched by radiobutton group.
It can be used for visualization of the segmentation, where the segmentation has to be a binary matrix.
For the evaluation purposes, the manual segmentation can be input as the third argument. Both segmentation are depicted with different color (red and blue). In this case, the evaluation coefficients (Jaccard, Dice, Tanimoto, Accuracy, TPR, FNR, FPR and FNR) are computed and shown in table for particular slice and for the whole volume. This may require RoI definition, which can be input as the fourth argument, otherwise the whole image/volume is considered.
These coefficients may be obtained the output of the function.
Done button has to be pushed to properly exit.
Imoverlay function has to be downloaded from http://www.mathworks.com/matlabcentral/fileexchange/10502-image-overlay
Cite As
Pavel Dvorak (2024). Visualization of multi-modal volume segmentation (https://www.mathworks.com/matlabcentral/fileexchange/48277-visualization-of-multi-modal-volume-segmentation), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: Tools for NIfTI and ANALYZE image, Image overlay
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.
visualize_segmentation/
Version | Published | Release Notes | |
---|---|---|---|
1.11.0.0 | evaluation corrected |
||
1.10.0.0 | visualization updated, it can correctly visualize all modalities |
||
1.9.0.0 | visualizing updated |
||
1.8.0.0 | update function returned error work for 1 modalityor 1 slice. Corrected !!! |
||
1.7.0.0 | visualization updated - if segmentation exist, it automatically navigates to the slice, where the segmentation is largest |
||
1.6.0.0 | title changed |
||
1.5.0.0 | description updated |
||
1.4.0.0 | description updated |
||
1.3.0.0 | picture added |
||
1.2.0.0 | description changed |
||
1.1.0.0 | name changed |
||
1.0.0.0 |