I have raw patient images as well as their segmentations as 3D models. I need to convert segmentations to 3D image so that this converted image will be aligned with the patient’s one.
Could you please tell me, is it possible to convert 3D mesh(.ply) to the DICOM or any other format for 3D images? And is it possible to align it with the other DICOM image?
If you need automated conversion, you could adapt this ITK example.
I used VTK’s vtkPolyDataToImageStencil filter to do it:
Here’s an example that uses it:
Thank you for the reply! I will take a look
Thank you, I will check this