First time here? Check out the FAQ!
answered 2017-06-27 05:50:41 -0600
you probably wanted:
new Size(srcOrig.cols()/scaleFactor, srcOrig.rows()/scaleFactor)