tanguyduval/imtool3D_td

Pretty Exemples

Closed this issue · 2 comments

Allen Mouse Brain
allen

from Allen Institute Website

[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)

Presentation
imtool3D