Display 3D binary matrix on a high resolution rectangular grid

조회 수: 3 (최근 30일)
Rashi Mehrotra
Rashi Mehrotra 2020년 8월 25일
댓글: Walter Roberson 2020년 9월 3일
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
KSSV
KSSV 2020년 9월 1일
Read about sph2cart to convert spherical coordinates to cartesian corrdinates.

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

답변 (1개)

Ayush Bansal
Ayush Bansal 2020년 9월 1일
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
Rashi Mehrotra
Rashi Mehrotra 2020년 9월 2일
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 2020년 9월 3일
I recommend that you use imtransform()

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by