Info

This question is closed. Reopen it to edit or answer.

Export figures to dicom files: erros in size of images and metadata

1 view (last 30 days)
Dear everybody,
I have two questions. From Osirix I have load some dicom files, images from PET scans, into matlab. After calculations and plotting contours, I want to export these images/figures back to dicom. I have already dicom files, but I have two problems. The size of the images in Osirix are 168x168 (number of pixels probabaly). The figures exported from matlab to dicom are 12001 x 901 (of something like this). I want to know how I can change the size of the images. Is this problem already present in the figure of matlab? Do I have to change the images itself or is the problem caused by the command dicomwrite?
The second question is about the metadata. I want to give the metadata to the command dicomwrite, but doing this, the original images (in Osirix) are changed. The original images are changed into the (matlab) figures. The problem is caused by giving the original metadata to the command dicomwrite. So, is it possible to change one thing in the metadata? I can only load the metadata but I can not change details of the metadata.
If somebody knows something or have advice, please respond.
Greetz! Giske Lagerweij

Answers (0)

Community Treasure Hunt

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

Start Hunting!