Skip to content

Commit cf81cad

Browse files
author
demoulinv
committed
[imageProcessing] Add parameters for enabling pixel aspect ratio application
1 parent 35b69f1 commit cf81cad

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

meshroom/nodes/aliceVision/ImageProcessing.py

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,30 @@ class ImageProcessing(desc.AVCommandLineNode):
460460
),
461461
]
462462
),
463+
desc.GroupAttribute(
464+
name="parFilter",
465+
label="Pixel Aspect Ratio",
466+
description="Pixel Aspect Ratio parameters.",
467+
joinChar=":",
468+
groupDesc=[
469+
desc.BoolParam(
470+
name="parEnabled",
471+
label="Enable",
472+
description="Apply pixel aspect ratio.",
473+
value=False,
474+
uid=[0],
475+
),
476+
desc.BoolParam(
477+
name="parRowDecimation",
478+
label="Row decimation",
479+
description="If selected, reduce image height by decimating the number of rows.\n"
480+
"Otherwise, increase width by upsampling image columns.",
481+
value=False,
482+
uid=[0],
483+
enabled=lambda node: node.parFilter.parEnabled.value,
484+
),
485+
]
486+
),
463487
desc.ChoiceParam(
464488
name="outputFormat",
465489
label="Output Image Format",

0 commit comments

Comments
 (0)