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
visualization updated, it can correctly visualize all modalities
update function returned error work for 1 modalityor 1 slice. Corrected !!!
visualization updated - if segmentation exist, it automatically navigates to the slice, where the segmentation is largest
Create scripts with code, output, and formatted text in a single executable document.