Prev: PowerGUI FFT won't update waveforms
Next: MEX files
From: Elad Lachmi on 15 Oct 2009 09:45 Hi, I am trying to compare histograms of two indexed images. I load the images like this: img=imread('large.jpg'); templ=imread('template.jpg'); [img map_img]=rgb2ind(img,32); [templ map_templ]=rgb2ind(templ,32); pick_region = struct('x',0,'y',0,'Value',0); I=imhist(img,map_img); M=imhist(templ,map_img); My problem is that I`m not getting the results I am expecting since the color of bin number 12(for example) in I does not corespond to the color of bin number 12 in M. Is there any way to make sure that both histograms are spread accross the same colors (for lack of a better turm)? Thanks! E.L.
|
Pages: 1 Prev: PowerGUI FFT won't update waveforms Next: MEX files |