plot 2d image into cylindrical 3d image
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentario
Ignacio Alcala
el 5 de Jun. de 2023
Hello Alina, Did you solve your problem ? I would be really interested if you could share the solution please.
Cordially, Ignacio Alcala
Respuestas (2)
Akira Agata
el 5 de Jun. de 2023
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 comentarios
Akira Agata
el 16 de Jun. de 2023
Editada: Akira Agata
el 16 de Jun. de 2023
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?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1412249/image.png)
Ignacio Alcala
el 16 de Jun. de 2023
I thank you for your response. Here a schema of what I ideally want to achieve.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1412544/image.jpeg)
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
el 7 de Jul. de 2023
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?
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!