c++ - OpenCV Histogram to Image Conversion -


I have tried some tutorials for converting grayscale image in histogram and thus there is a comparison between the histogram. , I have received the value obtained in comparison to the function in double datatype. like .

My problem is here now, how can I find out the "non-matching / error" between images? Would I want to get back the coordinates of those non-matching pixels and pull a rectangular or circle on that particular coordination?

Or can I take any suggestions on algorithm?

You can not compare directly to the histogram as described in the documentation,

Use the function comparison to get a numerical parameter to get two histograms matching each other .

This measurement is just a distance value that tells you how much two histograms (or how similar the two images are in the context of color distribution).

However, how can you imagine how well the pixel A fits the color distribution (histogram) of an image B in the image. Take a look for OpenCV example


Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -