plot a 3D surfaces, please help me

1 Ansicht (letzte 30 Tage)
Saleh
Saleh am 14 Nov. 2022
Beantwortet: Gokul Nath S J am 26 Mai 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

Antworten (1)

Gokul Nath S J
Gokul Nath S J am 26 Mai 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!

Translated by