Display 3D binary matrix on a high resolution rectangular grid

3 visualizaciones (últimos 30 días)
Rashi Mehrotra
Rashi Mehrotra el 25 de Ag. de 2020
Comentada: Walter Roberson el 3 de Sept. de 2020
I have 3D binary matrix on spherical coordinates. I have to convert them into rectangular coordinates and display the image in high resolution rectangular grid.
I used isosurface(M). it displays the image, but I want to display in the high resolution rectangular grid converting the points in cartesian coordinates.
  2 comentarios
KSSV
KSSV el 1 de Sept. de 2020
Read about sph2cart to convert spherical coordinates to cartesian corrdinates.

Iniciar sesión para comentar.

Respuestas (1)

Ayush Bansal
Ayush Bansal el 1 de Sept. de 2020
For getting image from 3D Binary matrix into a rectangular grid we can use ndgrid function.
For exporting the figure in high resolution you can use function exportgraphics and use ‘Resolution’ Property to set the dpi of the figure.
  2 comentarios
Rashi Mehrotra
Rashi Mehrotra el 2 de Sept. de 2020
I have a 3D spherical matrix and I have to display the object in rectangular coordinates. What will be the steps I should first use ndgrid on the matrix and then convert to rectangular coordinates to fit the data.?
Walter Roberson
Walter Roberson el 3 de Sept. de 2020
I recommend that you use imtransform()

Iniciar sesión para comentar.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by