3D Slices smoothing

7 Ansichten (letzte 30 Tage)
Farhad
Farhad am 13 Jul. 2016
Kommentiert: Walter Roberson am 29 Jul. 2016
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 Kommentare
Farhad
Farhad am 29 Jul. 2016
Bearbeitet: Farhad am 29 Jul. 2016
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 am 29 Jul. 2016
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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by