plot a 3D surfaces, please help me

조회 수: 4 (최근 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 CenterFile Exchange에서 Display Point Clouds에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by