I'm using calibrateCameraCharuco
to correct for radial distortion in mobile device cameras. If I have calibrated with images in landscape orientation, how should I undistort an image in portrait orientation? Can I use the calibration values as-is or do I need to rotate the camera matrix?
This brings up another question: can the calibration be used upside-down (i.e. calibration was performed with the camera in one landscape orientation and the image was taken with the camera rotated 180 degrees)?