Pretty Exemples
Closed this issue · 2 comments
tanguyduval commented
tanguyduval commented
[AVGT, metaAVGT] = nrrdread('average_template_25.nrrd');
[ANO, metaANO] = nrrdread('annotation_25.nrrd');
tool = imtool3D(permute(AVGT(end:-1:1,:,:),[3 2 1]));
ic = unique(ANO(:));
for ii=1:length(ic)
ANO(ANO==ic(ii))=ii;
end
tool.setMask(permute(ANO(end:-1:1,:,:),[3 2 1]))
tool.setMaskColor(jet(length(ic)))
tool.setAlpha(.1)
tanguyduval commented