Fix an arg for calcHist() in demos
authorVladimir <10669582+Wovchena@users.noreply.github.com>
Wed, 30 Jun 2021 07:15:58 +0000 (10:15 +0300)
committerVladimir <10669582+Wovchena@users.noreply.github.com>
Wed, 30 Jun 2021 14:22:56 +0000 (17:22 +0300)
commit90be83ae99cb719619f26fedf6d199f6422b551e
tree8886eccd8ec6967c432eb3a03339703db90258db
parent828304d587b3a204ebc34ce8573c3adec5a41ad2
Fix an arg for calcHist() in demos

`float* histRange = { range };` doesn't make much sense. `histRange` is
an array of array(s), so it should have a type of ptr to ptr. Strangely
some domos are correct as well as the example for the function
https://docs.opencv.org/master/d6/dc7/group__imgproc__hist.html#ga4b2b5fd75503ff9e6844cc4dcdaed35d
samples/cpp/tutorial_code/Histograms_Matching/MatchTemplate_Demo.cpp
samples/cpp/tutorial_code/Histograms_Matching/calcBackProject_Demo1.cpp
samples/cpp/tutorial_code/Histograms_Matching/calcHist_Demo.cpp