If I have an image called inImg
and an image named outImg
how can I resize outImg
so that it is 75% the size of inImg
?
If you want 75% along each axis, you should be able to use cv::resize to do:
cv::resize(inImg, outImg, cv::Size(), 0.75, 0.75);