Discover MakerZone

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

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Chi-Square Distance

Subject: Chi-Square Distance

From: nedaa

Date: 16 Dec, 2012 12:40:18

Message: 1 of 3

i have two images i computed the histogram of each image,i want to find the similarity between them using Chi-Square Distance, can you help me with the source code ???
thanks in advance.

Subject: Chi-Square Distance

From: Ryan

Date: 24 Dec, 2012 01:28:07

Message: 2 of 3

"nedaa" wrote in message <kakffi$kod$1@newscl01ah.mathworks.com>...
> i have two images i computed the histogram of each image,i want to find the similarity between them using Chi-Square Distance, can you help me with the source code ???
> thanks in advance.


Not sure if this is what you want or not, but you can see all source code by typing 'edit' (without the quotes) and the name of the function that you want to see the source code for. So, in your example, it would be like this:
'edit Chi-Square Distance' (without the quotes)

Subject: Chi-Square Distance

From: Image Analyst

Date: 24 Dec, 2012 04:17:10

Message: 3 of 3

"nedaa" wrote in message <kakffi$kod$1@newscl01ah.mathworks.com>...
> i have two images i computed the histogram of each image,i want to find the similarity between them using Chi-Square Distance, can you help me with the source code ???
> thanks in advance.
------------------------------------------------------------------------------
Did you try a web search? If you had, you would have found this at the top of the list:

http://www.cs.columbia.edu/~mmerler/project/code/pdist2.m

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us