Merge pull request #2273 from alicevision/dev/applyPixelAspectRatioInImageProcessing

[nodes] ImageProcessing: New option to apply the Pixel Aspect Ratio
This commit is contained in:
Fabien Castan 2023-12-21 09:45:14 +01:00 committed by GitHub
commit d32c3df1d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -460,6 +460,30 @@ Convert or apply filtering to the input images.
),
]
),
desc.GroupAttribute(
name="parFilter",
label="Pixel Aspect Ratio",
description="Pixel Aspect Ratio parameters.",
joinChar=":",
groupDesc=[
desc.BoolParam(
name="parEnabled",
label="Enable",
description="Apply pixel aspect ratio.",
value=False,
uid=[0],
),
desc.BoolParam(
name="parRowDecimation",
label="Row decimation",
description="If selected, reduce image height by decimating the number of rows.\n"
"Otherwise, increase width by upsampling image columns.",
value=False,
uid=[0],
enabled=lambda node: node.parFilter.parEnabled.value,
),
]
),
desc.ChoiceParam(
name="outputFormat",
label="Output Image Format",