Image Processing
이전 댓글 표시
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
Sven
2011년 11월 12일
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
2011년 11월 14일
Walter Roberson
2011년 11월 14일
bwlabel() to group the 1's.
regionprops() to get the individual masks.
채택된 답변
추가 답변 (2개)
Walter Roberson
2011년 11월 14일
1 개 추천
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
Walter Roberson
2011년 12월 2일
An additional toolset that can read ANALYZE files appears to be http://www.rotman-baycrest.on.ca/~jimmy/NIFTI/
Sean de Wolski
2011년 11월 14일
for easy automatic hdr/img reading:
doc analyze75read %and friends
카테고리
도움말 센터 및 File Exchange에서 White에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!