MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

Asked by chandra sattar
on 28 Dec 2012

hi,

every one i am an fpga design engineer i would like know the how find the colour diffrernce between two frames or images and display the colour name , for example i have two image consist of 5 red balls +5 blue balls=total balls 10 , now my second image or frame consists of 5 red balls +4 bule =total 9 balls and , so i need code for diplayng the missing colur and position aslo if possible

Answer by Image Analyst
on 29 Dec 2012

Edited by Image Analyst
on 29 Dec 2012

I have a color difference m-file uploaded to File Exchange. It uses the well known and accepted Delta E color difference.

There is also a collection of good color files uploaded by Stephen Westland - a important leader in the color science field: http://www.mathworks.com/matlabcentral/fileexchange/36315-computational-colour-toolbox

In addition, there are many tracking demos on MATLAB Central, such as these: http://www.mathworks.com/matlabcentral/fileexchange/?search_submit=fileexchange&query=red+tracking&term=red+tracking

## 2 Comments

## Jan Simon

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/57549#comment_119517

What have you tried so far, which problems occurred and which kind of help do you want? It is unlikely, that anybody will post a running code, which solves your problem exactly. But the forum usually can assist you, when you post a specific problem, which concerns Matlab.

Please add the required information by editing the questions, becauser important details are neither comments nor answers. Thanks.

## chandra sattar

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/57549#comment_119631

thanks jan simon , this is frist time i am posting , so i will clear post once again my question