diff options
author | bsdnoobz <nash@bsd-noobz.com> | 2012-12-04 20:42:28 +0700 |
---|---|---|
committer | bsdnoobz <nash@bsd-noobz.com> | 2012-12-04 20:42:28 +0700 |
commit | 57fc3d64ce3b7859a9f6cbe35cf2ab2a97c7ddc3 (patch) | |
tree | 3cf1ed0b71169344e772528ff1f39cc9f000f1cf | |
parent | a3d15a945594bf96b2cf229e453a827856ff892e (diff) |
modify display-histogram.cpp
-rw-r--r-- | display-histogram.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/display-histogram.cpp b/display-histogram.cpp index 6ebf93e..c4295e9 100644 --- a/display-histogram.cpp +++ b/display-histogram.cpp @@ -7,8 +7,8 @@ using namespace std; void showHistogram(Mat& img) { - int bins = 256; // number of bins - int nc = img.channels(); // number of channels + int bins = 256; // number of bins + int nc = img.channels(); // number of channels vector<Mat> hist(nc); for (int i = 0; i < hist.size(); i++) |