Image Processing
Show older comments
I would greatly appreciate help with coding the following image processing steps in matlab: - loading in an analyze image (type:hdr/img) and binarize it (BW image and the ROI are the white areas) - For each "white area" (defined either by a 1 or 0), create its own separate mask
I am having trouble flowing each step into the other and figuring it out. I have some experience with MATLAB but I am really having trouble with this combination. I would greatly appreciate anyone's help!
Thank you in advance!
3 Comments
Sven
on 12 Nov 2011
Do you have the image processing toolbox, and have you checked out the docs about labeling black and white images?
http://www.mathworks.com/help/toolbox/images/f18-34186.html
Elle
on 14 Nov 2011
Walter Roberson
on 14 Nov 2011
bwlabel() to group the 1's.
regionprops() to get the individual masks.
Accepted Answer
More Answers (2)
Walter Roberson
on 14 Nov 2011
1 vote
ANALYZE file information can be found at http://www.dclunie.com/medical-image-faq/html/part7.html#ANALYZEFromMayoWebSite
It appears that there is at least one user contribution that can load data from ANALYZE files: http://www.mathworks.com/matlabcentral/fileexchange/8797
1 Comment
Walter Roberson
on 2 Dec 2011
An additional toolset that can read ANALYZE files appears to be http://www.rotman-baycrest.on.ca/~jimmy/NIFTI/
Sean de Wolski
on 14 Nov 2011
for easy automatic hdr/img reading:
doc analyze75read %and friends
Categories
Find more on White in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!