Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

separating figure pixels base on colour differences

1 vue (au cours des 30 derniers jours)
Fatemeh Shomal Zadeh
Fatemeh Shomal Zadeh le 6 Août 2020
Clôturé : MATLAB Answer Bot le 20 Août 2021
Hello everyone, I want to segment out my region with the same colours based on 5 definition. I have written the code and now have this picture that I have attached here. Based on different colours (-250 to 250), I want to segment out the pixels and then connect them and map them out (make a 3D shape from each colour). can anyone help me regarding that please?
Thanks in advance
Regards
Fatemeh

Réponses (1)

Aman Vyas
Aman Vyas le 12 Août 2020
Hi,
Based on my understanding, i think you can use frame to pixel block under Computer Vision toolbox. The input attached will serve as the input to the block which will be converted finaly to vector of pixels.
Once you have all the pixel values available, you can take that file to matlab workspace, and then keep on comparing indexes and reporting the same ones.
Hope it helps !

Community Treasure Hunt

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

Start Hunting!

Translated by