distance between centroid and each pixel in the image.

4 vues (au cours des 30 derniers jours)
senthil vadivu
senthil vadivu le 30 Jan 2017
Commenté : Adam le 30 Jan 2017
I want to find the color difference in an object. ie Apple has almost red color .suppose if an object contains red and other colors also. Can i find the distance between centroid and each pixel. so by finding the min and max difference (distance) to recognize the object.Help me
  1 commentaire
Adam
Adam le 30 Jan 2017
What are you asking exactly? If you have a centroid value then yes, this is trivial, depending how you choose to calculate distance in colour space. If you don't yet have a centroid then that is something of a different question the what your title says.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Image Processing Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by