c++ equivalent of cvScale function
Hi all,
what is the c++ equivalent of function cvScale (a macro of cvConvertScale) function in c of opencv. converting some opencv c codes to c++.
Thanks in advance.
Hi all,
what is the c++ equivalent of function cvScale (a macro of cvConvertScale) function in c of opencv. converting some opencv c codes to c++.
Thanks in advance.
The cvScale function (http://docs.opencv.org/modules/core/d...) performs
dst(I) = Scale*Src(I) + Shift,
For which the c++ equivalent is convertTo. Take a look at the document here. (http://docs.opencv.org/modules/core/d...)
That is quite simple, take a look here !
You can look it up in the docs however ;)
ConvertTo is what you needed!! Take a look at the document here. (http://docs.opencv.org/modules/core/d...)
It is not convertTo, but the simple resize function that you need ;)
You are correct, my mistake, I misread the explanation of CvScale...
Asked: 2015-06-18 08:48:59 -0600
Seen: 2,658 times
Last updated: Jun 22 '15