opencv to achieve image scaling
Use opencv to achieve image scaling in two ways:
First, the use of built-in methods opencv redefined resize a picture size in order to achieve scale.
Second, to write an original pixel extraction and interpolation method to achieve zoom picture.
The following is a first method resize:
You must first know how to read a picture information is as follows: