How can I find the color of an Object ?
2 views (last 30 days)
Show older comments
Tasneem Al-Tmimi
on 30 Sep 2017
Commented: Nilesh Mudgal
on 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 Comments
Accepted Answer
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
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
on 14 Jun 2019
![MirrorFrameImg.jpg](https://www.mathworks.com/matlabcentral/answers/uploaded_files/224453/MirrorFrameImg.jpeg)
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 .?
More Answers (1)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!