I am measuring the crystallites divergence in 3 teeth. Each tooth was physically sectioned into 4 slices and for each slice I created a mesh using Matlab. I represented the data as can be seen in the picture:
For each tooth, I would like to to stack these 4 slices into one 3-D model using matlab. I would like to be able to view the model from all 3-D directions. Can you please let me know if my idea is feasable and guide me towards the right direction.
Use
surf()
functionIf you hold each slice as an image you can use the
surf()
function to display one slice as flat plane colored with the image. If your slice image is stored in RGB format in arraysl
with dimensions [N,M,3] you can write the following:To add further slices above or below issue a
hold all
command and place other slices at differentz
positions and repeat the above for next slice.