2D ultrasound to 3D mesh


I have a set of tiff images of 2D ultrasound (likely will get DICOM in the future) that I am hoping to convert to a 3D mesh and export as an STL file. The goal here is to do some image segmentation on breast tumors for a research project.

I have genuinely had a look around the forums but i can’t see any solid examples that lead me to believe this is possible with slicer. I’m worried about the imaging modality i.e ultrasound having an irregular Z stack and what I can do to deal with this issue.

Any support/examples would really be appreciated!


We actually already do exactly this in Slicer, regularly, in patients, using SlicerIGT extension. You can find more details about it here: http://www.slicerigt.org/wp/breast-cancer-surgery/

You can use free-hand ultrasound, you don’t need to worry about irregular spacing or slice orientation, you just need to attach a position tracker on the ultrasound probe. System setup, calibration, etc. are all described in detail in SlicerIGT tutorials, but feel free to ask here if you have any specific question.

ok this is great feedback for the prospective data we will gather,

For now (sorry for not articulating this originally) i’m wondering is there any solution for retrospective data where no position tracker was used? I understand reliability etc will be an issue however the retrospective data will allow us to do some proof of concept work.

Much appreciated for the response, slicer has an amazing community

If you moved the transducer along a straight line with even speed then you might be able to reconstruct some volumetric data, but it will be probably quite inaccurate (due to unknown out-of-plane displacement).

Load your image stack as described here. After loading adjust image spacing: first two components define scale pixel size of the ultrasound images (same value, probably around 0.2mm), the third component defines the distance between image slices in mm (probably around 1.0mm, if you moved the probe faster then it is a higher value).

You can use Segment editor to segment the tumor. We use a variant of Surface cut effect (provided by SegmentEditorExtraEffects extension).