필터 지우기
필터 지우기

Convert 2D siemens mosaic MRI image to multi slices

조회 수: 10 (최근 30일)
Hui WANG
Hui WANG 2016년 1월 18일
댓글: Makis 2019년 3월 19일
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!

채택된 답변

Walter Roberson
Walter Roberson 2016년 1월 19일
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
Hui WANG
Hui WANG 2016년 1월 19일
It's right! Thank you very much!
Makis
Makis 2019년 3월 19일
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?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 MRI에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by