[vtkusers] Convert STL to DCM
sur.chiranjib at gmail.com
Fri Aug 12 08:03:23 EDT 2016
As far as I know there is no direct converted available for STL to DCM.
But if you do this workaround it is possible :
STL -> VTP (polydata) -> DCM
Once you have the data in polydata format, you will be able to slice it
The following links might help you
vtkSTLReader is the class you need to use to read the STL file within VTK.
On Thu, Aug 11, 2016 at 8:59 PM, Sebastian Hilbert <
sebastian.hilbert at gmx.net> wrote:
> Am Donnerstag, 11. August 2016, 13:16:48 CEST schrieb Matias Montroull:
> > Hi,
> > Is there a method to convert a STL file to DCM slices?
> > I'm able to export a DCM serie to STL but I couldn't find the other way
> > around.
> I am not aware of any straighforward way to do this.
> Have a look at binvox
> One way would be to voxelize your mesh, then convert to nrrd (e.g. binvox)
> then to dcm.
> You would have to look into creating one dcm file per slice or one
> dcm file.
> It can be done.
> Best regards,
> Powered by www.kitware.com
> Visit other Kitware open-source projects at http://www.kitware.com/
> Please keep messages on-topic and check the VTK FAQ at:
> Search the list archives at: http://markmail.org/search/?q=vtkusers
> Follow this link to subscribe/unsubscribe:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers