3D Slices smoothing

조회 수: 7 (최근 30일)
Farhad
Farhad 2016년 7월 13일
댓글: Walter Roberson 2016년 7월 29일
Hi I want to create a 3D object out of the 2D slices I created. I am able to stack them all but not getting a smooth 3D object I am attaching the picture.Please let me know of a way to better demonstrate it and look inside the object. Currently I am doing it with
slice(3d, [], [], 1:0.1:size(3d,3));
This makes the edges pretty thick and I am not able to get it as one 3D object. Any suggestions will be highly helpful.
  댓글 수: 4
Farhad
Farhad 2016년 7월 29일
편집: Farhad 2016년 7월 29일
Hi sorry for replying late. Yes I am using NaN as shown in this example to visualize my data 3D Visualization.
Are you wanting to do the equivalent of anti-aliasing, where you leave the number of voxels the same but you want the gaps smoothed out by using shades of values? - Yes this defines what I would like to do.
Walter Roberson
Walter Roberson 2016년 7월 29일
I have not implemented anti-aliasing myself. On the Wikipedia article I find this that might be relevant:
"For more sophisticated shapes, the algorithm may be generalized as rendering the shape to a pixel grid with higher resolution than the target display surface (usually a multiple that is a power of 2 to reduce distortion), then using bicubic interpolation to determine the average intensity of each real pixel on the display surface."
However, this would be for the case where you have more data than you have available display resolution; I am not sure if that applies to you.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by