Ask Your Question

mani19's profile - activity

2016-12-12 12:22:28 -0600 answered a question Cannot find cv2.pyd in opencv3.10\mybuild\lib\Release

There is a cv2.pyd file in following folder.... \OpenCV 3.1\opencv\build\python\2.7\x86

2016-12-12 12:06:37 -0600 received badge  Supporter (source)
2016-12-11 16:02:23 -0600 received badge  Scholar (source)
2016-12-11 05:15:06 -0600 received badge  Editor (source)
2016-12-11 05:12:08 -0600 commented answer Custom size pyramidup and pyramiddown in python?

can we do that using following function? cv2.pyrUp(src[, dst[, dstsize[, borderType]]]) → dst

2016-12-11 05:02:15 -0600 asked a question Custom size pyramidup and pyramiddown in python?

I have found C++ pyrUp and pyrDown functions which accepts the custom size i.e.

`pyrUp( tmp, dst, Size( tmp.cols*2, tmp.rows*2 )`

I need a similar python function where I can specify the size of downscaled or upscaled image as I want to down scale 75% while the default function does 50% and I want to upscale by 25% instead of 50%.

Edit: Can we do 3/4 subsampling/upsampling by using the following function.....

cv2.pyrUp(src[, dst[, dstsize[, borderType]]]) → dst


cv2.pyrDown(src[, dst[, dstsize[, borderType]]]) → dst