From: David Young on
See help imfilter and help hist. That will get you to the histograms; you then need to define what you mean by their difference - if it's just the ordinary arithmetic difference you can just use the ordinary subtraction operator, but maybe something more sophisticated is wanted.
From: ImageAnalyst on
On Apr 12, 3:58 pm, "David Young" <d.s.young.notthis...(a)sussex.ac.uk>
wrote:
> See help imfilter and help hist. That will get you to the histograms; you then need to define what you mean by their difference - if it's just the ordinary arithmetic difference you can just use the ordinary subtraction operator, but maybe something more sophisticated is wanted.

---------------------------------------------------------------------------------------
There is also imhist() that you can use, as well nlfilter() if you
want fancier filters than imfilter() can handle.