Skip to content

Commit 71242c3

Browse files
authored
chore: remove computer vison toolbox dependency
1 parent 896264f commit 71242c3

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

undistortFisheyeImgFromTable.m

+7-3
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,10 @@
155155
% 等价的pinhole camera intrinsics
156156
focalLen = [sx,sy].*flength;
157157
principlePoint = [sx,sy].*principlePt;
158-
imageSize = size(undistortImg,[1,2]);
159-
camIntrinsic = cameraIntrinsics(focalLen,principlePoint,imageSize);
160-
end
158+
% imageSize = size(undistortImg,[1,2]);
159+
% camIntrinsic = cameraIntrinsics(focalLen,principlePoint,imageSize);
160+
161+
camIntrinsic = [focalLen(1),0,principlePoint(1);
162+
0,focalLen(2),principlePoint(2);
163+
0,0,1];
164+
end

0 commit comments

Comments
 (0)