Segment color dicom image
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
sbei arafet
el 8 de Mzo. de 2016
Editada: Walter Roberson
el 31 de Ag. de 2017
Hi,
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/157177/image.png)
How can i segment colored images like this one, is the rgb threshold is a solution
0 comentarios
Respuesta aceptada
John BG
el 8 de Mzo. de 2016
Bonjour Sbei
1.- Separate the components
A=imread('image_segmentation.jpg')
Ar=A(:,:,1);Ag=A(:,:,2);Ab=A(:,:,3)
2.- Apply the BW functions you show in the question to each primary colour
3.- Find the intersection pixels of the results found in the 3 layers
If you find this answer of any help solving this question, please click on the thumbs-up vote link,
thanks in advance
John
0 comentarios
Más respuestas (1)
Image Analyst
el 9 de Mzo. de 2016
Editada: Image Analyst
el 9 de Mzo. de 2016
It looks like someone has already segmented it. The image started out as gray scale and then somehow segmented it and produced a pseudocolored version of it.
I'm not sure what you want to find here. You can see from the color gamut below that there are not well clustered colors. Everything is kind of blended.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/173426/image.jpeg)
As you rotate that gamut around, you get some very strange looking shapes, like "sheets" in the RGB Gamut space.
And here is what it looks like if you look straight down the V axis in HSV color space:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/173428/image.jpeg)
What color(s) do you want to find?
Check out my Color Segmentation tutorials in my File Exchange: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
4 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!