# Convert stl to DICOM file

**URL:** <https://discourse.slicer.org/t/convert-stl-to-dicom-file/14643>\
**Category:** Support\
**Tags:** dicom\
**Created:** [November 16, 2020, 5:57pm UTC](https://discourse.slicer.org/t/convert-stl-to-dicom-file/14643 "2020-11-16T17:57:57Z")\
**Posts on this page:** 1\
**Showing post:** 18

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [November 2, 2023, 3:01am UTC](https://discourse.slicer.org/t/convert-stl-to-dicom-file/14643/18 "2023-11-02T03:01:08Z")

</div>

> [@Mena\_Mikhail](#):
>
> it worked by filling the mask with 1000 HU, but the cuts are grainy  
> any advise

You can use the “Soft edge” option in “Mask volume” effect to make the edges smooth.

> [@BlakeSlicer](#):
>
> I would like to convert a STL file containing a segmentation of a bone back to a DICOM file similar to a CT scan for use in other software which deals with DICOM files. Is this possible?

Yes, sure. See this topic:

> [@STL file to fake CT scan/DICOM?](https://discourse.slicer.org/t/stl-file-to-fake-ct-scan-dicom/32524):
>
> I have a STL of a segmented bone. I would like to convert the STL back to a CT scan as a DICOM to be used in another software which processes images. I’ve imported the STL files as a segmentation and can now scroll though the slices of the STL part as if it was a CT scan. Can I save these slices as DICOM?

---

_[View the full topic](https://discourse.slicer.org/t/convert-stl-to-dicom-file/14643)._
