I did a camera calibration, which gives me the cameraParams . I then assumed that I could do
A = cameraParams.PatternExtrinsics(2).A;
WorldPoints = cameraParams.WorldPoints'/1000;
imagePoints = K*tmp1(1:3,:);
imagePoints = imagePoints(1:2,:);
realimagePoints = cameraParams.ReprojectedPoints(:,:,2)';
However, the thus obtained imagePoints does not equal realimagePoints(which does agree with the image that I have of the checkerboard that I used). Why is that? And how would I be able to get from the WorldPoints to imagePoints? As far as I understand, this should be possible given the info in cameraParams??