distance between centroid and each pixel in the image.

조회 수: 1 (최근 30일)
senthil vadivu
senthil vadivu 2017년 1월 30일
댓글: Adam 2017년 1월 30일
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
Adam
Adam 2017년 1월 30일
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.

댓글을 달려면 로그인하십시오.

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by