Merge pull request #284 from taka-no-me:fix_equalize_hist_2678

This commit is contained in:
Andrey Kamaev 2013-01-10 16:58:36 +04:00 committed by OpenCV Buildbot
commit dff59ec960

View File

@ -3023,7 +3023,7 @@ public:
localHistogram[t0]++; localHistogram[t1]++; localHistogram[t0]++; localHistogram[t1]++;
} }
for (; x < width; ++x, ++ptr) for (; x < width; ++x)
localHistogram[ptr[x]]++; localHistogram[ptr[x]]++;
} }