tutorial histogram comparison (Bug #3598)


Added by be rak about 11 years ago. Updated almost 11 years ago.


Status:Done Start date:2014-03-07
Priority:Low Due date:
Assignee:be rak % Done:

0%

Category:documentation
Target version:2.4.9
Affected version:branch '2.4' (2.4-dev) Operating System:Any
Difficulty:Easy HW Platform:Any
Pull request:https://github.com/Itseez/opencv/pull/2460

Description

there's a wrong comment:

/// Using 30 bins for hue and 32 for saturation
int h_bins = 50; int s_bins = 60;

also, the next lines seem to be swapped:

// hue varies from 0 to 256, saturation from 0 to 180
float h_ranges[] = { 0, 256 };
float s_ranges[] = { 0, 180 };

should be :
float h_ranges[] = { 0, 180 };
float s_ranges[] = { 0, 256 };


Associated revisions

Revision 579ce938
Added by Vadim Pisarevsky about 10 years ago

Merge pull request #3598 from caraffi:bug4108_testCasesLinkError

History

Updated by Ivan Korolev almost 12 years ago

  • Pull request set to https://github.com/Itseez/opencv/pull/2460

Updated by Ivan Korolev almost 11 years ago

Be Rak, thanks for the PR!

  • Status changed from New to Open
  • Assignee set to be rak

Updated by be rak almost 11 years ago

pr acceptd / merged.

imho, this can be closed now.

Updated by Sergei Nosov almost 11 years ago

Thx! Great job!

  • Status changed from Open to Done

Also available in: Atom PDF