I was a little surprised that we were able to do the visualization, with interactivity in less that 15 lines of code.
d = flow; d = shiftdim(d,2);
x = 25;
y = 26;
z = 21.59561;
v = 3.22068;
h = slice(d,x,y,z)
d(:,:,z:end) = nan;
This video makes use of cell mode to get the interactivity. You can see how something like this could be done with a GUI to get the interactivity that you might want.
If you like this kind of thing, Slice-o-matic, will be good for you.
7 CommentsOldest to Newest
myFolder = 'C:\Users\shaffy\Desktop\Design 4\HEAD'; head = imread([myFolder, 'a_vm1001.png']); %read first one to get sizes V = zeros(size(head,1),size(head,2),377,class(head)); V(:,:,1) = head; for ii = 2:377 %loop through the rest file_name = ['a_vm1' num2str(ii,'%03i') '.png']; V(:,:,ii) = imread([myFolder file_name]); endBut when I run this I get errors such as : ??? Assignment has more non-singleton rhs dimensions than non-singleton subscripts Can you help me? Thanks man