Filter löschen
Filter löschen

How can I find the color of an Object ?

2 Ansichten (letzte 30 Tage)
Tasneem Al-Tmimi
Tasneem Al-Tmimi am 30 Sep. 2017
Kommentiert: Nilesh Mudgal am 14 Jun. 2019
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 Kommentare
Stephen23
Stephen23 am 30 Sep. 2017
Bearbeitet: Stephen23 am 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 am 30 Sep. 2017
Am trying to RUN the m file but there is always an error :/

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Image Analyst
Image Analyst am 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 Kommentare
Image Analyst
Image Analyst am 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 am 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 .?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Selva Karna
Selva Karna am 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!

Translated by