Revolve 2D binary matrix around axis of symmetry to create 3D binary matrix

3 Ansichten (letzte 30 Tage)
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.

Antworten (1)

Prajit T R
Prajit T R am 22 Feb. 2018
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

Community Treasure Hunt

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

Start Hunting!

Translated by