signal intensity value in MRI dicom file
Show older comments
Can Anybody help me to extract matlab code to extract signal intensity value in MRI dicom file with the corresponding pixel coordination? here i have attached dicom file Brain http://www.osirix-viewer.com/datasets/DATA/BRAINIX.zip
Accepted Answer
More Answers (3)
Image Analyst
on 29 Dec 2015
Try calling impixelinfo() to interactively view the value as you mouse around over the image.
grayImage = dicomread(fullFileName);
imshow(grayImage);
colorbar;
hp = impixelinfo();
Or you can call imtool().
Ranga Tudugala
on 30 Dec 2015
0 votes
7 Comments
Walter Roberson
on 30 Dec 2015
mask = YourArray >= low_value & YourArray <= high_value;
selected_pixels = YourArray(mask);
Ranga Tudugala
on 31 Dec 2015
Walter Roberson
on 31 Dec 2015
mask = YourArray >= low_value & YourArray <= high_value;
NewImage = YourArray .* mask;
imshow(NewImage);
Ranga Tudugala
on 31 Dec 2015
Image Analyst
on 31 Dec 2015
Of course you can't turn an x-ray image into a magnetic image (I assume you know that). So, do you mean aligning them -- or "multimodality registration"?
By the way, an alternate way of masking is this:
NewImage = YourArray; % Initialize
NewImage(~mask) = 0; % Set outside mask to 0
I use both at various times. I've never timed them to see which (multiplication or assignment) is faster because they're both really fast.
Ranga Tudugala
on 31 Dec 2015
Image Analyst
on 31 Dec 2015
Well Star could answer better than me, but I'm reading "A pseudo CT...[snip]...was generated by deforming atlas CT images...[snip]. The required deformation for atlas CT images was derived from a nonlinear registration of conjugated atlas MR images"
So it sounds like they're aligning/warping CT images with the formula for warping based on MRI images, or what I called multi-modality registration. Maybe that's what you meant. I was thinking that you wanted to take MRI images and convert them to have it look just as if you'd taken a CT of the patient instead of an MRI. I think you can align CT or MRI volumes in a variety of ways, but I don't think you can get one from the other. Otherwise hospitals would not have two separate multi-million dollar instruments when they could get by with one.
Star, what do you think?
Ranga Tudugala
on 31 Dec 2015
Edited: Walter Roberson
on 31 Dec 2015
1 Comment
Walter Roberson
on 31 Dec 2015
Please start a new Question for this.
Categories
Find more on Neuroimaging in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!