plot a 3D surfaces, please help me

2 ビュー (過去 30 日間)
Saleh
Saleh 2022 年 11 月 14 日
回答済み: Gokul Nath S J 2023 年 5 月 26 日
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

回答 (1 件)

Gokul Nath S J
Gokul Nath S J 2023 年 5 月 26 日
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

カテゴリ

Help Center および File ExchangeLighting, Transparency, and Shading についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by