c++ - Shift image content with OpenCV -



c++ - Shift image content with OpenCV -

starting image, shift content top of 10 pixels, without alter size , filling sub image width x 10 on bottom black.

for instance, original:

and shifted:

is there function perform straight operation opencv?

is there function perform straight operation opencv?

http://code.opencv.org/issues/2299

or this

cv::mat out = cv::mat::zeros(frame.size(), frame.type()); frame(cv::rect(0,10, frame.cols,frame.rows-10)).copyto(out(cv::rect(0,0,frame.cols,frame.rows-10)));

c++ opencv

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -