Segmentation of grayscale image for object with intensity overlapping with that of background

I have a grayscale image, in which I am to separate out the objects whose intensity range overlaps with background and other objects in an image. Can you please help me out?
Which commands should I use and which approach should I adopt to get binary image which required objects marked as 1s and rest as 0s?

댓글 수: 1

Could you post the image online so folks here can have a look? Can you say more about the nature of these 'object', maybe you can exploit some specific feature of these objects to segment them.

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

답변 (2개)

Walter Roberson
Walter Roberson 2011년 1월 27일
If the intensity overlaps but the sizes of the high-intensity blobs is different between the part that is wanted or not wanted, then you have a couple of possibilities. Possibly the easier of them would be to threshold the image, imlabel, regionprops, then go through the region statistics and discard the blobs that are too small to be of interest. put the remaining labels in a vector, and ismember(LabeledImage, WantedRegions) to get the binary image with wanted places as l's.
for example if u have .ima file the process is..
I1=dicomread('filename');
I2=imadjust(I1);
I3=im2bw(I2,0.7);
imshow(I3,[])
the 0.7 is the threshold which can be varied from 0:0.1:1 .try this out..if u have .jpg image use imread.

카테고리

도움말 센터File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

질문:

2011년 1월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by