Are matlab images compatible to 3D slicer?

4 views (last 30 days)
My problem : I have sequence of binary images(2D) and i wanted to import these images in to 3D slicer. I had a problem in constructing 3D model out of these images. I tried converting these images into dicom format and then do it in slicer. But still there are some errors in slicer. I thought if some dicominfo like(SliceLocation) is given to the images, then it may work. May i know how to give the dicominfo to the images that i created in matlab. or any other solution for my problem.

Accepted Answer

Andras
Andras on 16 Jun 2013
Create a 3D array from the sequence of 2D slices and save into a 3DSlicer-compatible file format. You can save it into MHA format with the mha_write_volume function available at: https://subversion.assembla.com/svn/slicerrt/trunk/SlicerRt/sandbox/SlicerMatlabBridge/MetaImageIO/

More Answers (0)

Categories

Find more on Read, Write, and Modify Image in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!