필터 지우기
필터 지우기

How can I find the color of an Object ?

조회 수: 2 (최근 30일)
Tasneem Al-Tmimi
Tasneem Al-Tmimi 2017년 9월 30일
댓글: Nilesh Mudgal 2019년 6월 14일
Am working on different codes on MATLAB and am wondering if it possible to detect the color name by having Red, Green, and Blue channels Mean Value ??
  댓글 수: 2
Stephen23
Stephen23 2017년 9월 30일
편집: Stephen23 2017년 9월 30일
Download my FEX submission colornames:
It converts from RGB to colorname, and from colorname to RGB.
Tasneem Al-Tmimi
Tasneem Al-Tmimi 2017년 9월 30일
Am trying to RUN the m file but there is always an error :/

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

채택된 답변

Image Analyst
Image Analyst 2017년 9월 30일
Get the RGB color using standard methods, then convert to a name using the color thesaurus for your language. There are thousands of different color names there.
  댓글 수: 7
Image Analyst
Image Analyst 2019년 6월 14일
Not having seen any of your images, I have no idea. If your mirror frames are all different shapes, sizes, styles, and colors you might have to use deep learning. Normalized cross correlation (template matching) would definitely not be the way to go in that situation.
Nilesh Mudgal
Nilesh Mudgal 2019년 6월 14일
MirrorFrameImg.jpg
This is my image i want to find the color of this frame, and to find the position of this image i would do template mathcing i could store all the different mirror frame images in database then i would apply template matching with the new images that is test images. And later finding the difference between pixel value of rgb could i say which color it is .?

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

추가 답변 (1개)

Selva Karna
Selva Karna 2017년 9월 30일
u Can use pixel list on which color u want?

Community Treasure Hunt

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

Start Hunting!

Translated by