Xilinx / xfopencv

Other
321 stars 144 forks source link

can the template parameters of resize be a variable(non-constant)? #81

Open 3togo opened 4 years ago

3togo commented 4 years ago

Can I set the template parameter of resize as a variable, say INTERPOLATION so that I can modify it at runtime?

define INTERPOLATION 2

// 0 - Nearest Neighbor Interpolation // 1 - Bilinear Interpolation // 2 - AREA Interpolation