cvGetOptimalNewCameraMatrix uses newCameraMatrix before setting it (Patch #1731)
Description
cvGetOptimalNewCameraMatrix()
with centerPrincipalPoint=false
calculates IMHOvalidPixROI
incorrectly, as newCameraMatrix
is used here before it is set to the
newly calculated values.
The attached patch should hopefully fix this
Associated revisions
fixed bug with uninitialized variable in cvGetOptimalNewCameraMatrix (patch #1731 by floemker)
Merge pull request #1731 from perping:2.4_haar
History
Updated by Andrey Kamaev almost 13 years ago
- Tracker changed from Bug to Patch
- Description changed from cvGetOptimalNewCameraMatrix() with centerPrincipalPoint=false calculates IMHO... to @cvGetOptimalNewCameraMatrix()@ with @centerPrincipalPoint=false@ calculates ... More
- Assignee set to Ilya Lysenkov
Updated by Ilya Lysenkov almost 13 years ago
- Assignee deleted (
Ilya Lysenkov)
Updated by Vadim Pisarevsky over 12 years ago
thanks! this was obviously a bug. your patch was integrated in r8864
- Target version changed from 2.4.2 to 2.4.3
- Status changed from Open to Done
- Assignee set to Vadim Pisarevsky
Updated by Andrey Kamaev over 12 years ago
- Target version changed from 2.4.3 to 2.4.2