Clear Filters
Clear Filters

How can I find the color of an Object ?

2 views (last 30 days)
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 Comments
Stephen23
Stephen23 on 30 Sep 2017
Edited: Stephen23 on 30 Sep 2017
Download my FEX submission colornames:
It converts from RGB to colorname, and from colorname to RGB.
Tasneem Al-Tmimi
Tasneem Al-Tmimi on 30 Sep 2017
Am trying to RUN the m file but there is always an error :/

Sign in to comment.

Accepted Answer

Image Analyst
Image Analyst on 30 Sep 2017
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 Comments
Image Analyst
Image Analyst on 14 Jun 2019
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 on 14 Jun 2019
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 .?

Sign in to comment.

More Answers (1)

Selva Karna
Selva Karna on 30 Sep 2017
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!