<p>Some terminology: Intersection of a polyhedron with a plane.
<hr />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<img src="https://i.sstatic.net/KileD.png" width="260" />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<sup>
<a href="http://demonstrations.wolfram.com/IntersectionOfAConvexPolyhedronAndAPlane/" rel="nofollow noreferrer">Wolfram Demo</a>.
</sup></p>

<hr />

CC BY-SA 4.0
2019-04-21T13:19:28.003Z
2019-04-21T13:19:28.003Z
Joseph O'Rourke
<p>A way to create the image (texture) of just a slice can be done by positioning the camera orthogonal above the slice you want to create.
The second step is to add two clipping planes very close to each other slightly above and below the slice and render the geometry (mesh) into a Frame Buffer Object (FBO).
From the FBO you can load the texture to CPU side and save it as PNG file.</p>
<p>The result you'll get is the silhouette of your 3D model of the slice.
The result is of cause not perfect, because there is a small distance between the two clipping planes... But it is an very easy way to generate it.</p>

CC BY-SA 4.0
2020-09-18T07:52:13.190Z
2020-09-18T07:52:13.190Z
Thomas
<p>The terminology you are looking for is &quot;Volume Renderig&quot;</p>
<p>A MRI scan scans a &quot;volume&quot; (object). You get a point cloude, with different density of different matter, for example skin/blood har different density. The you can use the point cloud to do volune rendering.</p>
<p>So what you want to do is go make your mest Into a point cloud, with density, density depending on what matter the volume contains. Then you want to har that data for volume rendering.</p>
<p>Then you can yourself decide how/what to render, slice through the data or whatever</p>

CC BY-SA 4.0
2020-09-17T18:28:50.277Z
2020-09-17T19:57:54.240Z
2020-09-17T19:57:54.240Z
the1bird
<p>I just answered the question: <a href="https://computergraphics.stackexchange.com/questions/4919/how-to-build-a-3d-model-from-2d-pictures/8798#8798">How to build a 3d model from 2d pictures</a></p>

<p>and the answer is applicable here. In short, to build wiremesh from the 2d slice, you can take a look marching cube method. In this case you need to assume (or provide) the thickness of each pixel (hence a voxel) so that the MC algorithm can work.
ITK/VTK should have some implementation for that.</p>

<p>The term could be called: 3d mesh reconstruction from volumetric data</p>

CC BY-SA 4.0
2019-04-26T05:08:35.027Z
2019-04-26T05:08:35.027Z
Karsun
<p>I am novice lacking professional terminology.</p>

<p>I want to create from 3D object (let's say from polygon mesh) a slice through to PNG file in order to create something like reverse medical MRI scan from which volumetric renders are created.</p>

<p>How it's called? It will enable me to find methods of achieving it. Bonus points for pointing to a library doing that.</p>

CC BY-SA 4.0
2019-04-22T10:20:05.973Z
MRI produces slices from volumetric data, your surface to slice conversion will just produce a flat slice with nothing remarkable inside the boundary. Granted, you can do that - just find the intersection of a slicing plane with all of your triangles, then assemble the resulting polygon.
lightxbulb
<polygon>
3D object to slices like in medical scan
Adam
# 3D object to slices like in medical scan

(Asked by: username_0 on 2019-04-21)

I am novice lacking professional terminology.

I want to create from 3D object (let's say from polygon mesh) a slice through to PNG file in order to create something like reverse medical MRI scan from which volumetric renders are created.

How it's called? It will enable me to find methods of achieving it. Bonus points for pointing to a library doing that.

**Tags:** polygon

> **Comments:**
> **username_1**: MRI produces slices from volumetric data, your surface to slice conversion will just produce a flat slice with nothing remarkable inside the boundary. Granted, you can do that - just find the intersection of a slicing plane with all of your triangles, then assemble the resulting polygon.  

---

## 4 answers

### Answer by username_2 on 2019-04-21. Score: 1

Some terminology: Intersection of a polyhedron with a plane.

---

         
![](https://i.sstatic.net/KileD.png)
  
         
[Wolfram Demo](http://demonstrations.wolfram.com/IntersectionOfAConvexPolyhedronAndAPlane/).

---


---

### Answer by username_3 on 2020-09-18. Score: 0

A way to create the image (texture) of just a slice can be done by positioning the camera orthogonal above the slice you want to create.
The second step is to add two clipping planes very close to each other slightly above and below the slice and render the geometry (mesh) into a Frame Buffer Object (FBO).
From the FBO you can load the texture to CPU side and save it as PNG file.

The result you'll get is the silhouette of your 3D model of the slice.
The result is of cause not perfect, because there is a small distance between the two clipping planes... But it is an very easy way to generate it.


---

### Answer by username_4 on 2020-09-17. Score: 0

The terminology you are looking for is "Volume Renderig"

A MRI scan scans a "volume" (object). You get a point cloude, with different density of different matter, for example skin/blood har different density. The you can use the point cloud to do volune rendering.

So what you want to do is go make your mest Into a point cloud, with density, density depending on what matter the volume contains. Then you want to har that data for volume rendering.

Then you can yourself decide how/what to render, slice through the data or whatever


---

### Answer by username_5 on 2019-04-26. Score: 0

I just answered the question: [How to build a 3d model from 2d pictures](https://computergraphics.stackexchange.com/questions/4919/how-to-build-a-3d-model-from-2d-pictures/8798#8798)

and the answer is applicable here. In short, to build wiremesh from the 2d slice, you can take a look marching cube method. In this case you need to assume (or provide) the thickness of each pixel (hence a voxel) so that the MC algorithm can work.
ITK/VTK should have some implementation for that.

The term could be called: 3d mesh reconstruction from volumetric data


---

