Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

well, you're half right, - it supports only 1dim arrays.

and you're probably half wrong, too, - it is not meant to be used with images at all .

look at the docs, "a single column floating-point matrix. Each row is the value of the histogram in each bin." - so it's meant to compare histograms, not images.

(if you want to compare images with the L1 norm, that's a straight double dist = norm(a,b,NORM_L1); )