Skip to content

Commit

Permalink
[imageProcessing] Add parameters for enabling pixel aspect ratio appl…
Browse files Browse the repository at this point in the history
…ication
  • Loading branch information
demoulinv committed Dec 14, 2023
1 parent 35b69f1 commit cf81cad
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions meshroom/nodes/aliceVision/ImageProcessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,30 @@ class ImageProcessing(desc.AVCommandLineNode):
),
]
),
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",
Expand Down

0 comments on commit cf81cad

Please sign in to comment.