Volumetric slice plot of tomographic data
Mostra commenti meno recenti
I am trying to use the slice function to stack the following 79 slices and display a 3D representation of an object.
The problem is that the black regions in each image are obstructing the image of the previous slice. So, I'm only seeing the very last slice on top, rather than a meaningful volumetric presentation of the data. So, how can I include only the non-zero elements of each image in the plot?
Any suggestions would be greatly appreciated.
3 Commenti
Exactly. As you can see from the documentation of "slice" - it just makes solid planes. So either you reduce the number of planes to display (so not your 1:79 but just a few slices in different orientations).
If you really would like to get a 3d volume of your data ... that is a little bit more tricky. You could take a look at the MATLAB functions isosurface (that basically relies on a simple threshold that creates a surface) and related helper functions like smooth3 to clean up your data.
Hope this already helps a bit.
Edit: vol3d might be very useful for you. As an alpha map you can basically use a binary mask or even your inverted brightness level.
Sordin
il 21 Apr 2017
Philip G
il 24 Apr 2017
I found a nice way to use surf images ... see my anwer.
Risposta accettata
Più risposte (1)
Bjorn Gustavsson
il 21 Apr 2017
1 voto
If you change your colour-map from black-white to white-black then you might get some mileage out of experimentations with alpha-mapping, look at the help for alphamap and alim.
HTH
Categorie
Scopri di più su Image Processing Toolbox in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!