MATLAB Answers


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

Asked by roki khan on 26 Nov 2018
Latest activity Commented on by Walter Roberson
on 15 Feb 2019
please help me


How to ask a question, read here?
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 .

Sign in to comment.

1 Answer

Answer by Rahul punk on 15 Feb 2019

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


Sign in to comment.