how to segment image without change to binary?

1 次查看(过去 30 天)
how to segment image without change to binary?

回答(3 个)

Guillaume
Guillaume 2014-12-3
See this page for several segmentation methods easily implemented in matlab.
Note that most (all?) segmentation methods involve binarisation of the image at some point even if the final output is not binary. There's nothing wrong with that.

Meshooo
Meshooo 2014-12-3
One idea is to use the color based segmentation.
Check the following nice explanation from the matlab home page:

Image Analyst
Image Analyst 2014-12-3
nina, I don't know what that means. To segment your image means that you have an image, usually a logical image gotten by thresholding, that says where you have your objects of interest ("foreground objects", usually called blobs) and where you don't (the "background"). Like Guillaume said, this involves binarization and there's nothing wrong with that. I don't care whether you're segmenting on color, intensity, texture, or anything else, basically you process the image in some way that you can get a gray scale image that you can threshold, and that thresholded image is a binary image (of logical data type) and that is the segmented image. I don't know that you can avoid it. Why do you want to? Can you give an example of how segmentation would not involve binarization? Of course there are lots of image processing operations that don't involve binarization (like getting a mean intensity, or recovering a watermark, or reconstructing a 3D image from slices, or estimating a range/distance, or whatever) but they're not "segmentation".

Community Treasure Hunt

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

Start Hunting!

Translated by