Revolve 2D binary matrix around axis of symmetry to create 3D binary matrix
Show older comments
Is there a way to revolve a 2D binary matrix (like a binary image file) around an axis to produce a 3D matrix?
For example, in the attached image, is there a way to revolve this around the vertical axis down the center of the circle in the center? The resulting 3D matrix would look somewhat like a spherical revolved version of the 2D image.
I'm looking to calculate the volume of this revolved 3D shape from the 2D cross section attached.
Thanks for the help.
1 Comment
Ainhoa Arriola
on 11 Dec 2019
Have you got any solution?
I would be very grateful to know how you have solved it!
Answers (1)
Prajit T R
on 22 Feb 2018
0 votes
Hey
I understand that you are looking to perform rotation of a matrix around an axis. I think this link can help you, although I'm not sure if this is the best method for your use-case: Rotation about shifted axis
Cheers
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!