mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-05 20:31:56 +02:00
[Nodes] HDR: Add "auto" option for calibration method and working color space in sampling, calibration and merging nodes.
This commit is contained in:
parent
2bea35d00d
commit
cbef8f6670
3 changed files with 12 additions and 10 deletions
|
@ -86,12 +86,13 @@ Calibrate LDR to HDR response curve from samples.
|
||||||
name="calibrationMethod",
|
name="calibrationMethod",
|
||||||
label="Calibration Method",
|
label="Calibration Method",
|
||||||
description="Method used for camera calibration:\n"
|
description="Method used for camera calibration:\n"
|
||||||
|
" - AUTO: If RAW images are detected then Linear behavior is selected else Debevec calibration method is enabled.\n"
|
||||||
" - Linear: Disables the calibration and assumes a linear Camera Response Function. If images are encoded in a known colorspace (like sRGB for JPEG), the images will be automatically converted to linear.\n"
|
" - Linear: Disables the calibration and assumes a linear Camera Response Function. If images are encoded in a known colorspace (like sRGB for JPEG), the images will be automatically converted to linear.\n"
|
||||||
" - Debevec: This is the standard method for HDR calibration.\n"
|
" - Debevec: This is the standard method for HDR calibration.\n"
|
||||||
" - Grossberg: Based on learned database of cameras, it allows to reduce the CRF to few parameters while keeping all the precision.\n"
|
" - Grossberg: Based on learned database of cameras, it allows to reduce the CRF to few parameters while keeping all the precision.\n"
|
||||||
" - Laguerre: Simple but robust method estimating the minimal number of parameters.",
|
" - Laguerre: Simple but robust method estimating the minimal number of parameters.",
|
||||||
values=["linear", "debevec", "grossberg", "laguerre"],
|
values=["AUTO", "linear", "debevec", "grossberg", "laguerre"],
|
||||||
value="debevec",
|
value="AUTO",
|
||||||
exclusive=True,
|
exclusive=True,
|
||||||
uid=[0],
|
uid=[0],
|
||||||
enabled= lambda node: node.byPass.enabled and not node.byPass.value,
|
enabled= lambda node: node.byPass.enabled and not node.byPass.value,
|
||||||
|
@ -124,8 +125,8 @@ Calibrate LDR to HDR response curve from samples.
|
||||||
name="workingColorSpace",
|
name="workingColorSpace",
|
||||||
label="Working Color Space",
|
label="Working Color Space",
|
||||||
description="Allows you to choose the color space in which the data are processed.",
|
description="Allows you to choose the color space in which the data are processed.",
|
||||||
value="sRGB",
|
value="AUTO",
|
||||||
values=["sRGB", "Linear", "ACES2065-1", "ACEScg"],
|
values=["AUTO", "sRGB", "Linear", "ACES2065-1", "ACEScg"],
|
||||||
exclusive=True,
|
exclusive=True,
|
||||||
uid=[],
|
uid=[],
|
||||||
group="user", # not used directly on the command line
|
group="user", # not used directly on the command line
|
||||||
|
|
|
@ -168,8 +168,8 @@ Merge LDR images into HDR images.
|
||||||
name="workingColorSpace",
|
name="workingColorSpace",
|
||||||
label="Working Color Space",
|
label="Working Color Space",
|
||||||
description="Allows you to choose the color space in which the data are processed.",
|
description="Allows you to choose the color space in which the data are processed.",
|
||||||
value="sRGB",
|
value="AUTO",
|
||||||
values=["sRGB", "Linear", "ACES2065-1", "ACEScg", "no_conversion"],
|
values=["AUTO", "sRGB", "Linear", "ACES2065-1", "ACEScg", "no_conversion"],
|
||||||
exclusive=True,
|
exclusive=True,
|
||||||
uid=[0],
|
uid=[0],
|
||||||
enabled= lambda node: node.byPass.enabled and not node.byPass.value,
|
enabled= lambda node: node.byPass.enabled and not node.byPass.value,
|
||||||
|
|
|
@ -100,12 +100,13 @@ Sample pixels from Low range images for HDR creation.
|
||||||
name="calibrationMethod",
|
name="calibrationMethod",
|
||||||
label="Calibration Method",
|
label="Calibration Method",
|
||||||
description="Method used for camera calibration:\n"
|
description="Method used for camera calibration:\n"
|
||||||
|
" - AUTO: If RAW images are detected then Linear behavior is selected else Debevec calibration method is enabled.\n"
|
||||||
" - Linear: Disable the calibration and assumes a linear Camera Response Function. If images are encoded in a known colorspace (like sRGB for JPEG), the images will be automatically converted to linear.\n"
|
" - Linear: Disable the calibration and assumes a linear Camera Response Function. If images are encoded in a known colorspace (like sRGB for JPEG), the images will be automatically converted to linear.\n"
|
||||||
" - Debevec: This is the standard method for HDR calibration.\n"
|
" - Debevec: This is the standard method for HDR calibration.\n"
|
||||||
" - Grossberg: Based on learned database of cameras, it allows to reduce the CRF to few parameters while keeping all the precision.\n"
|
" - Grossberg: Based on learned database of cameras, it allows to reduce the CRF to few parameters while keeping all the precision.\n"
|
||||||
" - Laguerre: Simple but robust method estimating the minimal number of parameters.",
|
" - Laguerre: Simple but robust method estimating the minimal number of parameters.",
|
||||||
values=["linear", "debevec", "grossberg", "laguerre"],
|
values=["AUTO", "linear", "debevec", "grossberg", "laguerre"],
|
||||||
value="debevec",
|
value="AUTO",
|
||||||
exclusive=True,
|
exclusive=True,
|
||||||
uid=[0],
|
uid=[0],
|
||||||
enabled= lambda node: node.byPass.enabled and not node.byPass.value,
|
enabled= lambda node: node.byPass.enabled and not node.byPass.value,
|
||||||
|
@ -124,8 +125,8 @@ Sample pixels from Low range images for HDR creation.
|
||||||
name="workingColorSpace",
|
name="workingColorSpace",
|
||||||
label="Working Color Space",
|
label="Working Color Space",
|
||||||
description="Allows you to choose the color space in which the data are processed.",
|
description="Allows you to choose the color space in which the data are processed.",
|
||||||
value="sRGB",
|
value="AUTO",
|
||||||
values=["sRGB", "Linear", "ACES2065-1", "ACEScg", "no_conversion"],
|
values=["AUTO", "sRGB", "Linear", "ACES2065-1", "ACEScg", "no_conversion"],
|
||||||
exclusive=True,
|
exclusive=True,
|
||||||
uid=[0],
|
uid=[0],
|
||||||
enabled= lambda node: node.byPass.enabled and not node.byPass.value,
|
enabled= lambda node: node.byPass.enabled and not node.byPass.value,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue