Extracting Particular Object from image

1 Ansicht (letzte 30 Tage)
Umer Siddique
Umer Siddique am 28 Nov. 2014
Kommentiert: Image Analyst am 8 Aug. 2018
Hi everybody i have applied k-mean clustering on this image
i got 3 cluster but this was of my interest as shown in below picture but problem is this that i only want to extract infected cell shown in the below picture in square box i don't want rest of the things kindly help me how to achieve this.Thanks in Advance.

Akzeptierte Antwort

Image Analyst
Image Analyst am 29 Nov. 2014
That might not be a good method if it's not automatically choosing the correct clusters. I'd recommend you try color segmentation by HSV color space. See http://www.mathworks.com/matlabcentral/fileexchange/28512-simple-color-detection-by-hue - it will let you fine tune the thresholds to get exactly the color purple you want and not all those other colors. Try that and attach your code if you can't get it working.
  6 Kommentare
Umer Siddique
Umer Siddique am 29 Nov. 2014
can you please write some code for this.this will be very helpful for me to understand.
Image Analyst
Image Analyst am 29 Nov. 2014
Try the attached. I did the adaptations I suggested. I'm thresholding pretty much on only the saturation image now. I also knocked down the smallest allowable blob to 220 pixels so that in image #5 it would still find something.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

r r
r r am 8 Aug. 2018
I have an image I want to extract the small areas of black color within the blue How so؟؟؟
  1 Kommentar
Image Analyst
Image Analyst am 8 Aug. 2018
Start your own new, separate question and I'll tell you how you can invert the image and use imclearborder() to do it.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by