How to plot 3D image in MATLAB?

16 views (last 30 days)
moh mor
moh mor on 20 Mar 2024
Edited: Matt J on 21 Mar 2024
Hello, I have a matrix containing reflectivity of the 3D image of a Millimeter wave imaging system. I want to plot 3D image such that pixels having reflectivity lower than a threshold are not shown. The final image must be something like this:
How can I do this in MATLAB? Any help would be appreciated. Thank you

Answers (1)

Matt J
Matt J on 20 Mar 2024
Edited: Matt J on 20 Mar 2024
volshow(Image.*(Image>=threshold))
There are also a number of 3D viewers offered on the File Exchange.
  3 Comments
moh mor
moh mor on 21 Mar 2024
Is there any other function? It is not the same as the image shown in the question.
Matt J
Matt J on 21 Mar 2024
Edited: Matt J on 21 Mar 2024
The colume viewer doesn't seem to support a colorbar, but I'm not sure a colorbar makes sense for a 3D rendering. It is more than just the RGB color values that affect the appearance of a voxel. It's the transparency values as well.

Sign in to comment.

Products


Release

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!