Plot image in 3D and ignore certain values
Ältere Kommentare anzeigen
I’d like to visualise the following image (see the image) in 3D without showing the blue part (see the 3D plot). The image is basically a plane where the white part has intensity values ranging from 247 to 252. The black part has intensity value 0. Please find the image in the attachment.
Image:

3D plot:

Here is the code I am using to visualize the image in 3D:
Img_8Bit = imread('Image-1.png');
figure
surf(Img_8Bit,'EdgeColor','none');
Any suggestions?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Images finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!