Skip to content

Commit

Permalink
Merge pull request opencv#284 from taka-no-me:fix_equalize_hist_2678
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Kamaev authored and OpenCV Buildbot committed Jan 10, 2013
2 parents 59c6e2c + 6131a84 commit dff59ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/imgproc/src/histogram.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3023,7 +3023,7 @@ class EqualizeHistCalcHist_Invoker
localHistogram[t0]++; localHistogram[t1]++;
}

for (; x < width; ++x, ++ptr)
for (; x < width; ++x)
localHistogram[ptr[x]]++;
}

Expand Down

0 comments on commit dff59ec

Please sign in to comment.