Skip to content

Commit

Permalink
chore: remove computer vison toolbox dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
cuixing158 authored Jul 27, 2024
1 parent 896264f commit 71242c3
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions undistortFisheyeImgFromTable.m
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,10 @@
% 等价的pinhole camera intrinsics
focalLen = [sx,sy].*flength;
principlePoint = [sx,sy].*principlePt;
imageSize = size(undistortImg,[1,2]);
camIntrinsic = cameraIntrinsics(focalLen,principlePoint,imageSize);
end
% imageSize = size(undistortImg,[1,2]);
% camIntrinsic = cameraIntrinsics(focalLen,principlePoint,imageSize);

camIntrinsic = [focalLen(1),0,principlePoint(1);
0,focalLen(2),principlePoint(2);
0,0,1];
end

0 comments on commit 71242c3

Please sign in to comment.