1 | initial version |
I think I found a good way to do it. Use three bands (upper, middle, bottom) within the template and test image matched area, compute the histograms for each band, and compare between the template and test images. There is even a really nice tutorial, "Histogram Comparison", http://docs.opencv.org/doc/tutorials/imgproc/histograms/histogram_comparison/histogram_comparison.html which gets me 80% there.