If I take 10 points in a high resolution rectangular grid is there some code or some function in matlab that displays volumetric object.?

조회 수: 2 (최근 30일)
I have a 3D binary matrix in spherical coordinates. I have to from a high resolution rectangular grid .
Does Matlab itself has something that lets suppose if we give 5 or 10 points does it itself intelligently smooths it out and displays the object?

답변 (2개)

Walter Roberson
Walter Roberson 2020년 8월 18일
Do you mean something like, "given about 10 points on the surface of something that might be a sphere or rotated cuboid or conic section or polyhedron, figure out what shape it is and figure out its size and other key characteristics, and output a high resolution extrapolation of the shape"?
If so then the answer is NO, MATLAB does not have anything like that built in.
There are functions available in the file exchange to fit a sphere to a number of points, and I think I have seen fitting an ellipsoid as well.
Rotated cuboid could perhaps be done with a bit of pca to derive rotation angle.
  댓글 수: 8
Rashi Mehrotra
Rashi Mehrotra 2020년 9월 7일
I am not sure about imtransform()
how can i make high resolution rectangular grid from three vectors.
I have done
[X,Y] = meshgrid(x,y);
Z = griddata(x,y,z, X, Y,'linear');
figure;
surf(X,Y,Z);
Can u tell me how to make high resolution rectangular grid to display my object
Rashi Mehrotra
Rashi Mehrotra 2020년 9월 22일
Walter, can you please tell how the conformal mapping works in this case,
I have a poor resolution image and I want to smooth it out.

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


John D'Errico
John D'Errico 2020년 9월 7일
Is there some code that can automatically take some small set of points (worse, possibly with some noise? You did mention smoothing) and know what volumetric object they came from? Of course not.
Conside 8 points that form the vertices of a cube. Oh. Wait. Are these just 8 points in a specific configuration on the surface of a sphere? You cannot know which object they came from, as it is completely ambiguous.
You might consider computing the convex hull, or perhaps a delaunay tessellation, then ask if the triangulation is topologically equivelent to that of a dissection of a cube. (Note there are two distinct ways to dissect a 3-cube into simplexes, one with 6 pieces, one with 5., and then we would also have rotations thereof.) You could build in some pattern recognition intelligence that would recognize a tessellation as conformable to a cube/hyper-rectangle. But all of this would take some serious understanding of pattern recognition techniques. And it still would be unable to understand the points really just came from a sphere or ellipsoid anyway.
The human eye/brain is great at recognizing things from scattered data. In fact, we see this every night when we look at the night sky and see constellations. But must I point out that even those constellations are highly ambiguous? Two different people can look at the same configuarations and see totally different objects. And they both might be correct! Where is my MC Escher print when I need it?
  댓글 수: 1
Rashi Mehrotra
Rashi Mehrotra 2020년 10월 6일
how to include high resolution in x, y and z coordinates in this if the poor image has resolution of 2.5 cm in x direction.

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

카테고리

Help CenterFile Exchange에서 Point Cloud Processing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by