How can I find the color of an Object ?

2 次查看(过去 30 天)
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