Clear Filters
Clear Filters

plot a 3D surfaces, please help me

4 views (last 30 days)
Saleh
Saleh on 14 Nov 2022
Answered: Gokul Nath S J on 26 May 2023
plot a 3D surfaces, i want to draw a block diagram describing the Machine Learning process
for this code:
clear
camera = webcam;
nnett=alexnet;
while true
picture =camera.snapshot;
picture= imresize(picture,[227,277]);
label = classify(nnet, picture);
image(picture);
title(char(label));
drawnow;
end
----------------------------------------------------------------------------- please guide me please i want help

Answers (1)

Gokul Nath S J
Gokul Nath S J on 26 May 2023
Hi Saleh,
It seems that you would like to plot a 3D plot out of the image. Please note that an image itself can be represented in 3D by assuming that the image is a function of x and y mapped to a 3rd dimension z. You can use surf plot or imagesc to view such a 3D plot.
For more information kindly go through the following link.
Further, if your objective is to create an image stack, please refer the following link.
https://in.mathworks.com/matlabcentral/answers/78009-create-an-image-stack-3-d-matrix
with regards,
Gokul Nath S J

Community Treasure Hunt

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

Start Hunting!