Color segmentation problem using matlab

1 次查看(过去 30 天)
Good evening All, My problem is a regular problem: extracting features of similar color (segmentation) from a scanned image. >> I have tried Kmeans segmentation I require something more precise close to exact to extract the colors from the scanned images. Are there any other means but Kmeans segmentation that may solve my problem?
>> Is/are there any ways to use some reference areas and segment the image in frequency domain?
Thank you

回答(1 个)

Image Analyst
Image Analyst 2013-12-30
编辑:Image Analyst 2013-12-30
You will find a treasure trove of color segmentation demos in my File Exchange: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862.
I have no idea what you're thinking of when you talk about segmenting the colors in the frequency domain. That does not make any sense at all to me. Care to explain how that could happen?
  4 个评论
Siamack
Siamack 2014-1-3
Hi there, Sorry for the delay, No and Yes re: if im looking at the frequency of the incoming light No altho I find it quite interesting except for my wits do not allow me to further understand if there could be a way to use that as means to analyze the sample in frequency domain. My assumption is based on 1D frequency domain analysis which simply finds (reconstructs or preserves) certain frequency of change in the input signal through suppression or amplification. That translates into the spatial frequency of course and I know that it may not contribute to color due to its correlative change with respect to texture but looking at an image as a matrix with a surface represented by each numerical value does give an idea of a topological consistency throughout the image (in my experiment's case especially) over the areas which are emitting the same color. Hence suppressing any other texture (including the background) does my required job: segments the image with the precision I am looking for....
P.S How does the frequency of the incident light might play a role in frequency domain analysis? do you have an idea where to start diggin around it?
Regards, Siamack
Image Analyst
Image Analyst 2014-1-3
Electromagnetic frequency of the light, and spatial frequency of the image are pretty much unrelated (ignoring any diffraction effects that you may get if you're looking at a field of view or things in the optical path that are small enough to cause diffraction).
Are you saying that not one of the 3 different color segmentation methods I showed you in my File Exchange can be properly adapted to segment your image? If that's the case you'd have to post/attach your image to get further advice.

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by