Filter löschen
Filter löschen

Detect brain tumor using Color based KMeans clustering

2 Ansichten (letzte 30 Tage)
Sehrish
Sehrish am 5 Jul. 2012
Kommentiert: Walter Roberson am 17 Okt. 2016
Can anyone tell me why am i getting warning of empty cluster created at some replications. Moreover the demo at Matlab: http://www.mathworks.com/products/image/examples.html?file=/products/demos/shipping/images/ipexhistology.html uses Lab colorspace but i want to implement using rgb values, how can i do this
  4 Kommentare
Jothika Charlees
Jothika Charlees am 17 Okt. 2016
Bearbeitet: Walter Roberson am 17 Okt. 2016
While performing k-means I get error message in the line
lab_he=applycform(d,cform)
>>Error in ==> applycformsequence at 12
out = applycform(out, cforms{k});
Error in ==> applycform at 86
out = c.c_func(columndata, cdata{:});
Error in ==> applycformsequence at 12
out = applycform(out, cforms{k});
Error in ==> applycform at 86
out = c.c_func(columndata, cdata{:});
Error in ==> mammu at 35
lab_he = applycform(d,cform);
>>
Walter Roberson
Walter Roberson am 17 Okt. 2016
There would have been at least one line of error message proceeding that. Something like "recursion limit of 500 reached" perhaps.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Image Analyst
Image Analyst am 8 Jul. 2012
The demo starts with an RGB image, then converts to lab color space. You can leave it in RGB color space if you want. Just don't do the conversion.
I'm not sure why your brain tumor image is in color? What was the source of it? CT, MRI? Why isn't it monochrome?
  2 Kommentare
Sehrish
Sehrish am 22 Jul. 2012
i have converted the grayscale image to rgb.
Walter Roberson
Walter Roberson am 22 Jul. 2012
You used false coloring? Or you converted each grayscale array to one of its RGB equivalents by copying the information to all three color planes?

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by