According to https://stackoverflow.com/a/58363402/6065356 it's not enough to change the parameter in OpenCV since they use round in contrast to MATLAB which uses ceil to deduce the dimensions of the image. Anyways nice implementation which matches the MATLAB imresize.
According to https://stackoverflow.com/a/58363402/6065356 it's not enough to change the parameter in OpenCV since they use
round
in contrast to MATLAB which usesceil
to deduce the dimensions of the image. Anyways nice implementation which matches the MATLABimresize
.