A vectorized implementation of the STAPLE algorithm (Warfield et al., 2004) for binary segmentations/labels.
adhusch (2021). STAPLE(D) (https://www.mathworks.com/matlabcentral/fileexchange/56789-staple-d), MATLAB Central File Exchange. Retrieved .
@RUI XIA: As STAPLE is based on an i.i.d. assumption, you could simple "reshape" your 3D data as it is done in for the 2D example too: D = [s1(:), s2(:), s3(:), s4(:), s5(:)]; is putting segmentations from five different raters (s1 to s5) into one "voxel x rater" matrix D, which is the input for STAPLE. This will work equivalently for s1 to s5 being 3D.
Sir, how to use it for 3D labels
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!