Skip to content

Commit

Permalink
Add new locks for intrinsics
Browse files Browse the repository at this point in the history
  • Loading branch information
servantftechnicolor committed Sep 2, 2024
1 parent b5a77ce commit 273906c
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion meshroom/nodes/aliceVision/CameraInit.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,27 @@
value=True,
uid=[0],
),
desc.BoolParam(
name="scaleLocked",
label="Focal length Locked",
description="The focal length is locked for estimation.",
value=False,
uid=[0],
),
desc.BoolParam(
name="offsetLocked",
label="Optical Center Locked",
description="The optical center coordinates are locked for estimation.",
value=False,
uid=[0],
),
desc.BoolParam(
name="distortionLocked",
label="Distortion Locked",
description="The distortion parameters are locked for estimation.",
value=False,
uid=[0],
),
desc.ChoiceParam(
name="type",
label="Camera Type",
Expand Down Expand Up @@ -677,7 +698,7 @@ def createViewpointsFile(self, node, additionalViews=()):
view['metadata'] = json.loads(view['metadata'])

sfmData = {
"version": [1, 2, 8],
"version": [1, 2, 10],
"views": views + newViews,
"intrinsics": intrinsics,
"featureFolder": "",
Expand Down

0 comments on commit 273906c

Please sign in to comment.