Convert 2D siemens mosaic MRI image to multi slices
10 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hui WANG
am 18 Jan. 2016
Kommentiert: Makis
am 19 Mär. 2019
I have a siemens mosaic MRI image, and it's 512*512 unit-16 matrix after I use dicomread to read it. It contains 60 slices and the size for each slice is 64*64. I want to convert the montage image to slices. Is there some toolbox to do that? Thanks!
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 19 Jan. 2016
slices = mat2cell(MosaicArray, 64 * ones(1,size(MosaicArray,1)/64), 64 * ones(1,size(MosaicArray,2)/64) );
Now you would need to get rid of 4 of the items, but at the moment I do not know which 4 are the empty ones and I do not know whether the unraveling should be along the rows or down the columns. Probably it should be
slices = transpose(slices); %rows become priority
slices(61:end) = []; %remove the 4 empty slices
2 Kommentare
Makis
am 19 Mär. 2019
I am having the same problem. I have some mosaic 2D dicom data with dimensions 1024x1024x1 and I want to write them as multi-slice mosiac dicom data with dimensions 128x128x64.
After using:
slices = mat2cell(MosaicArray, 128 * ones(1,size(MosaicArray,1)/128), 128 * ones(1,size(MosaicArray,2)/128) );
how can I save these slices into the final desired mosaic dicom format?
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu MRI finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!