mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-06 04:41:58 +02:00
Add required parameters in CameraInit.py and ImageProcessing.py for LCP management and application.
This commit is contained in:
parent
375d30af69
commit
62e21544cf
2 changed files with 40 additions and 0 deletions
|
@ -176,6 +176,13 @@ The metadata needed are:
|
|||
value=False,
|
||||
uid=[0],
|
||||
),
|
||||
desc.BoolParam(
|
||||
name='lensCorrectionProfileSearchByLensNameAndCameraMakerOnly',
|
||||
label='LCP Search using lens name and camera maker only.',
|
||||
description='''Automatic LCP Search consider only the camera model and the lens name.''',
|
||||
value=False,
|
||||
uid=[0],
|
||||
),
|
||||
desc.FloatParam(
|
||||
name='defaultFieldOfView',
|
||||
label='Default Field Of View',
|
||||
|
|
|
@ -108,6 +108,39 @@ Convert or apply filtering to the input images.
|
|||
value=False,
|
||||
uid=[0],
|
||||
),
|
||||
desc.GroupAttribute(name="lensCorrection", label="Lens Correction", description="Automatic lens correction settings.", joinChar=":", groupDesc=[
|
||||
desc.BoolParam(
|
||||
name='lensCorrectionEnabled',
|
||||
label='Enable',
|
||||
description='Enable lens correction.',
|
||||
value=False,
|
||||
uid=[0],
|
||||
),
|
||||
desc.BoolParam(
|
||||
name='geometry',
|
||||
label='Geometry',
|
||||
description='Geometry correction if a model is available in sfm data.',
|
||||
value=False,
|
||||
uid=[0],
|
||||
enabled=lambda node: node.lensCorrection.lensCorrectionEnabled.value,
|
||||
),
|
||||
desc.BoolParam(
|
||||
name='vignetting',
|
||||
label='Vignetting',
|
||||
description='Vignetting correction if model parameters are available in metadata.',
|
||||
value=False,
|
||||
uid=[0],
|
||||
enabled=lambda node: node.lensCorrection.lensCorrectionEnabled.value,
|
||||
),
|
||||
desc.BoolParam(
|
||||
name='chromaticAberration',
|
||||
label='Chromatic Aberration',
|
||||
description='Chromatic aberration (fringing) correction if model parameters are available in metadata.',
|
||||
value=False,
|
||||
uid=[0],
|
||||
enabled=lambda node: node.lensCorrection.lensCorrectionEnabled.value,
|
||||
),
|
||||
]),
|
||||
desc.FloatParam(
|
||||
name='scaleFactor',
|
||||
label='ScaleFactor',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue