# Can you turn a video into a 3d model

**URL:** https://discourse.slicer.org/t/can-you-turn-a-video-into-a-3d-model/29677
**Category:** Support
**Created:** [May 26, 2023, 11:25pm UTC](https://discourse.slicer.org/t/can-you-turn-a-video-into-a-3d-model/29677 "2023-05-26T23:25:16Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![studyskin](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@studyskin](https://discourse.slicer.org/u/studyskin)
#### Post date: [May 26, 2023, 11:25pm UTC](https://discourse.slicer.org/t/can-you-turn-a-video-into-a-3d-model/29677/1 "2023-05-26T23:25:16Z")

</div>

hello, im wondering if there is a way to turn pictures from a ct scan video into a 3d model in slicer. digimorph has a scan of an african wildcat but does not have the ct scan but they do have a video of each slice ([Digimorph - Felis silvestris lybica (African Wildcat) - male](http://www.digimorph.org/specimens/Felis_sylvestris_lybica/male/)), if i download all three videos and turn them into separate slices is there a way i can load them into slicer and tell it what axis it is? i assume when you normally load data the files have metadata telling the programme what axis and the slice width, thank you to anyone who can help i dont know if this is actually possible

---

<div class="post-metadata">

### Author: ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)
#### Post date: [May 26, 2023, 11:30pm UTC](https://discourse.slicer.org/t/can-you-turn-a-video-into-a-3d-model/29677/2 "2023-05-26T23:30:26Z")

</div>

You can extract individual frames from the video using ffmpeg and then import the resultant sequence into slicer via imagestacks. Unfortunately you will have no idea about spacing and have to approximate it by trial and error.

---

<div class="post-metadata">

### Author: ![studyskin](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@studyskin](https://discourse.slicer.org/u/studyskin)
#### Post date: [June 1, 2023, 9:41pm UTC](https://discourse.slicer.org/t/can-you-turn-a-video-into-a-3d-model/29677/3 "2023-06-01T21:41:25Z")

</div>

thank you so much for the reply! how do i tell it what images to use for what plane? i loaded them in and it looks like this

 ![slicercatnowork](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/0/0/00fa3986b41e318fc77752a8295ff434af13a7f7.png)

---

<div class="post-metadata">

### Author: ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)
#### Post date: [June 2, 2023, 12:11am UTC](https://discourse.slicer.org/t/can-you-turn-a-video-into-a-3d-model/29677/4 "2023-06-02T00:11:42Z")

</div>

There is something weird. I think you might have more than one stack in the same folder, as the ImageStacks is reporting the file dimensions as 4 (it should have been 3). The issue is also clear in green and yellow slices, you have more than more orientation stacked in them.

When you are exporting frames from the video, make sure you are exporting frames belonging the same plane.

---

<div class="post-metadata">

### Author: ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)
#### Post date: [June 2, 2023, 5:12am UTC](https://discourse.slicer.org/t/can-you-turn-a-video-into-a-3d-model/29677/5 "2023-06-02T05:12:34Z")

</div>

Here is what my import looks like (I used the coronal.mp4). Of course the proportions are wrong since I do not know what the spacing needs to be.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/7/2/72fdb1fc5aadb59a53be172c6e2764ae088e72a8.jpeg)

---

<div class="post-metadata">

### Author: ![studyskin](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@studyskin](https://discourse.slicer.org/u/studyskin)
#### Post date: [June 3, 2023, 9:58pm UTC](https://discourse.slicer.org/t/can-you-turn-a-video-into-a-3d-model/29677/6 "2023-06-03T21:58:12Z")

</div>

it works thank you! just one more question, your model is more detailed than mine, did you do anything extra? i just loaded it and selected with segment editor and turned into a model

 ![digicatwork](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/2/4/24d6fd166248e83ae54d27506e76d58d71206aeb.png)

---

<div class="post-metadata">

### Author: ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)
#### Post date: [June 4, 2023, 3:58am UTC](https://discourse.slicer.org/t/can-you-turn-a-video-into-a-3d-model/29677/7 "2023-06-04T03:58:38Z")

</div>

I used volume rendering, which often results in better looking visualization then surface rerndering of segmented objects.

---

<div class="post-metadata">

### Author: ![studyskin](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@studyskin](https://discourse.slicer.org/u/studyskin)
#### Post date: [June 4, 2023, 8:54am UTC](https://discourse.slicer.org/t/can-you-turn-a-video-into-a-3d-model/29677/8 "2023-06-04T08:54:48Z")

</div>

ah! ok thank you, can you export the volume rendering model? im trying but cant find a way too, if there is one, thank you again for your help

---

<div class="post-metadata">

### Author: ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)
#### Post date: [June 4, 2023, 3:52pm UTC](https://discourse.slicer.org/t/can-you-turn-a-video-into-a-3d-model/29677/9 "2023-06-04T15:52:59Z")

</div>

No, volume rendering is just a visualization technique. If you need to export a model, you need to segment.
