user1044068
user1044068

Reputation: 21

How to convert JPEG to DICOM image in Matlab?

I really need your help. I need to find out how to convert a JPEG image to DICOM in Matlab? Does somebody know how can I do that?

Thanks for your help!

Upvotes: 0

Views: 4052

Answers (1)

Marek Kurdej
Marek Kurdej

Reputation: 1509

Image Processing Toolbox has a function called dicomwrite.

I = imread(inputJpgFilename);
dicomwrite(I, outputDicomFilename);

Upvotes: 2

Related Questions