<p>I am confronted with the problem to render 3D representations for objects marked on microscope slices.
So I have a set of aligned polygons in parallel planes from tracing the outline of the object in the slices. I want to turn this into a 3d mesh of an approximate surface of the object.
The curves can have vastly different point density per curve length and overall number of points.</p>

<p>I know that there is not a unique solution, but I wonder if there is a fast algorithm to find A solution that looks reasonable.</p>

<p>Unfortunately, this also has to be solved in MATLAB. Not expecting MATLAB code of course, I just want to say that use function X in Y, Y not being MATLAB, is not extremely helpful.</p>

CC BY-SA 4.0
2020-02-04T16:44:39.367Z
Well, question, have you considering adapting the marching cubes algorithm to your specific use case?
Makogan
CC BY-SA 4.0
2020-02-05T07:55:38.327Z
Tanks for the keywords, I will look into that.
mcandril
<3d><mesh><polygon>
Turning layered curves to polygon mesh?
mcandril
# Turning layered curves to polygon mesh?

(Asked by: username_0 on 2020-02-04)

I am confronted with the problem to render 3D representations for objects marked on microscope slices.
So I have a set of aligned polygons in parallel planes from tracing the outline of the object in the slices. I want to turn this into a 3d mesh of an approximate surface of the object.
The curves can have vastly different point density per curve length and overall number of points.

I know that there is not a unique solution, but I wonder if there is a fast algorithm to find A solution that looks reasonable.

Unfortunately, this also has to be solved in MATLAB. Not expecting MATLAB code of course, I just want to say that use function X in Y, Y not being MATLAB, is not extremely helpful.

**Tags:** 3d, mesh, polygon

> **Comments:**
> **username_1**: Well, question, have you considering adapting the marching cubes algorithm to your specific use case?  
> **username_0**: Tanks for the keywords, I will look into that.  

---

## 0 answers

