Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- slice1obj1coords = find(modelslice==51); //this way I obtain the coordinates of the object in the model so that I can use it on the reconstruction image to get its values
- then I would like to have some way of saying
- reconslice1obj1 = reconslice1(slice1obj1coords); //this should output all the values for the corresponding coordinates.
- reconslice1obj1 [array of values];
- reconslice1obj2 [array of values];
- ...
- ..
- for i = 1:3 //loop over slices
- row=1;
- for j = 6:8 //loop over objects
- cellarray{row} = sprintf("reconslice%dobj%d",i,j) slice(coords);
- end
- row=row+1; //done this way as it is not always that the slice number starts from 1 sometimes its 100 and so on..
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement