Commit 517fc5e2 authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

fixed typo in the tutorial code (thanks to Abid Rahman; ticket #2016)

parent da7920ff
......@@ -44,8 +44,8 @@ int main( int argc, char** argv )
int histSize[] = { h_bins, s_bins };
// hue varies from 0 to 256, saturation from 0 to 180
float h_ranges[] = { 0, 256 };
float s_ranges[] = { 0, 180 };
float s_ranges[] = { 0, 256 };
float h_ranges[] = { 0, 180 };
const float* ranges[] = { h_ranges, s_ranges };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment