diff options
-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++) |