Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

getOptimalNewCameraMatrix is the difference, I believe. Notice how the right picture on top has no black to the left or right, where the one on the bottom does. The image is being scaled so that that is removed. Set the free scaling parameter in the Optimal... function to 1 and try again.