plot 2d image into cylindrical 3d image

조회 수: 8 (최근 30일)
Alina tom
Alina tom 2018년 5월 25일
답변: Caleb 2023년 7월 7일
I have multiple 2d images . I want to plot them into cylindrical coordinate such as each image is plot with a degree increment in circular form to make a 3d circle .
can anyone help me
  댓글 수: 1
Ignacio Alcala
Ignacio Alcala 2023년 6월 5일
Hello Alina, Did you solve your problem ? I would be really interested if you could share the solution please.
Cordially, Ignacio Alcala

댓글을 달려면 로그인하십시오.

답변 (2개)

Akira Agata
Akira Agata 2023년 6월 5일
How about the following?
% Image data
I = imread("sherlock.jpg");
% Create cylinder
[X, Y, Z] = cylinder;
% Mapping the image on the cylinder
figure
h = surface(X, Y, Z);
h.FaceColor = 'texturemap';
h.EdgeColor = 'none';
h.CData = flipud(I);
view(3)
box on
  댓글 수: 5
Akira Agata
Akira Agata 2023년 6월 16일
편집: Akira Agata 2023년 6월 16일
Good afternoon @Ignacio Alcala,
Sorry for my late response.
Based on the first half of your message, I assumed the expected image looks like the following image.
But the second half of your message might tell a different story.
Could you tell us how the expected output looks like?
Ignacio Alcala
Ignacio Alcala 2023년 6월 16일
Good Morning @Akira Agata,
I thank you for your response. Here a schema of what I ideally want to achieve.
One extra information, every image represents a thickness of 400 µm, is there a way that every image represents this thickness in the 3D rotation plan ?
Please let me know if you have further questions.
I thank you again for all your help and time.
Cordially,
Ignacio Alcala

댓글을 달려면 로그인하십시오.


Caleb
Caleb 2023년 7월 7일
Hey Ignacio,
Did you ever find a solution on how every image could represent the defined thickness in the 3D rotation plan of two images?

Community Treasure Hunt

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

Start Hunting!

Translated by