tutorial histogram comparison (Bug #3598)
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
Merge pull request #3598 from caraffi:bug4108_testCasesLinkError
History
Updated by be rak about 11 years ago
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.