MATLAB: How to convert a tiff image into DCOM

3dimage

I need to perform a 3D reconstruction, but I have a database with a .tif extension, I must change it to DCOM, how can I do it?

Best Answer

You can do that using dicomwrite :
dicomwrite( imread('image.tif'), 'output.dcm')