i am trying to compare between two RGB pictures by comparing there histograms
on visual studio 2008
i am having few problems:
1. when splitting the 3 dim pic into 3 pictures (red green and blue) margins between colors are notices as gray lines, on each of the 3 dims
so the gray lines receive values when calculating the histogram (cvCalcHist)
2.when red_dim (for example) full with 255's or 0's (red pic or black pic) i am getting the same histogram. what should i write in MASK
(cvCalcHist (image, hist, accumulate, mask)) to avoid the "non-values" (red=0)
3.i am using sum_hist[i]=red_hist[i]*255+green_hist[i]*16+blue_hist[i] to merge the dims, is there a better way to compare between 2 RGB pics?
i hope i wrote it correctly
thanks a lot to the helpers
boris