anyone have a multi color detection code (not only rgb,more color)

please help me

2 Comments

you need to define exactly what you mean by each color you want to detect. For example if you need to detect beige then you need aa list of rules for determining whether something is beige or not.
Alternatively you could define representative rgb values for the colors of interest and define how to calculate color distance and define a cutoff and then say that any color within the cutoff of the distance is the color . Image Analyst recommends using Delta-E . Be warned that human colors are rather irregular shape in all known color definitions .

Answers (1)

this code also incude red object detection u can edit green and blue simple change the value (1 1 2 )

This question is closed.

Asked:

on 26 Nov 2018

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!