Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

Custom size pyramidup and pyramiddown in python?

$
0
0
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

Viewing all articles
Browse latest Browse all 19555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>