Updated by Andrey Kamaev almost 13 years ago

@cvGetOptimalNewCameraMatrix()@ cvGetOptimalNewCameraMatrix() with @centerPrincipalPoint=false@ centerPrincipalPoint=false calculates IMHO
@validPixROI@ validPixROI incorrectly, as @newCameraMatrix@ newCameraMatrix is used here before it is set to the
newly calculated values.

The attached patch should hopefully fix this

Back