mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 11:10:21 +08:00
fixed typo in the tutorial code (thanks to Abid Rahman; ticket #2016)
This commit is contained in:
parent
da7920ff85
commit
517fc5e2d2
@ -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 };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user