HDR (High Dynamic Range)#
HDR images show details within the image rather exactly, which makes them ideal for high-resolution image processing.
该功能的使用#
The dynamic range of an image is the ratio between the highest and lowest brightness that can be displayed. Images with a wide dynamic range capture the actual contrast of the scene very well, so more details in dark and light sections can bee seen.
HDR allows capturing a wider dynamic range by acquiring images with different exposures.
Interleaved HDR#
Some camera models, support interleaved HDR (iHDR). The iHDR feature allows you to set different exposure times for even and odd pixel lines of the sensor. For example, you can specify a long exposure time for lines 1, 3, 5, etc. and a reduced exposure time for lines 2, 4, 6, etc. The different exposures start simultaneously. This creates a "striped" image with bright and dark lines.
The following drawing visualizes the different exposures per sensor line.
To set the exposure times for iHDR:
- Set the
ExposureTimeMode
parameter toIndividual
. - Set the
ExposureTimeSelector
parameter toStage 1
. - Specify the exposure time for stage 1.
The value specified for stage 1 applies to the even pixel lines of the sensor. - Set the
ExposureTimeSelector
parameter toStage 2
. - Specify the exposure time for stage 2.
The value specified for stage 2 applies to the odd pixel lines of the sensor.
信息
You can find the minimum and maximum exposure time values of your camera model in the Specifics section of the Exposure Time topic.
Use an external post-processing program to combine the bright and dark lines to generate a high dynamic range image.
Quad HDR#
Some camera models support Quad HDR (QHDR). The QHDR feature allows you to set individual exposure times for pixels within pixel units. These are areas of 2×2 pixels, also called quad pixels, which includes two pixels in horizontal direction and two pixels in vertical direction.
Short and long exposures can be set for each of these four pixels included in each pixel unit. With this, you can extract the information in both the dark and bright regions of the image with every single image acquired.
The following drawing illustrates the different exposures per pixel unit:
To set the exposure times for QHDR:
- Set the
ExposureTimeMode
parameter toIndividual
. - Set the
ExposureTimeSelector
parameter toStage 1
. - Specify the exposure time for stage 1.
-
Repeat steps 2 and 3 for the other stages.
The individual stages refer to the following pixels of each pixel unit:
Stage 1
: The specified value applies to the upper left pixel.Stage 2
: The specified value applies to the upper right pixel.Stage 3
: The specified value applies to the lower left pixel.Stage 4
: The specified value applies to the lower right pixel.
信息
You can find the minimum and maximum exposure time values of your camera model in the Specifics section of the Exposure Time topic.
Use an external post-processing program to combine the information within each pixel unit to generate a high dynamic range image.
详情#
相机型号 | Available HDR Mode |
---|---|
a2A640-240gmSWIR | HDR feature not supported |
a2A640-240umSWIR | HDR feature not supported |
a2A1280-80gmSWIR | HDR feature not supported |
a2A1280-125umSWIR | HDR feature not supported |
a2A1920-51gcBAS | HDR feature not supported |
a2A1920-51gcPRO | HDR feature not supported |
a2A1920-51gmBAS | HDR feature not supported |
a2A1920-51gmPRO | HDR feature not supported |
a2A1920-160ucBAS | HDR feature not supported |
a2A1920-160ucPRO | HDR feature not supported |
a2A1920-160umBAS | HDR feature not supported |
a2A1920-160umPRO | HDR feature not supported |
a2A1920-165g5cBAS | HDR feature not supported |
a2A1920-165g5mBAS | HDR feature not supported |
a2A2048-35gmSWIR | HDR feature not supported |
a2A2048-37gcBAS | HDR feature not supported |
a2A2048-37gcPRO | HDR feature not supported |
a2A2048-37gmBAS | Quad HDR |
a2A2048-37gmPRO | Quad HDR |
a2A2048-110umSWIR | HDR feature not supported |
a2A2048-114g5cBAS | HDR feature not supported |
a2A2048-114g5mBAS | Quad HDR |
a2A2048-114ucBAS | HDR feature not supported |
a2A2048-114ucPRO | HDR feature not supported |
a2A2048-114umBAS | Quad HDR |
a2A2048-114umPRO | Quad HDR |
a2A2440-98g5cBAS | HDR feature not supported |
a2A2440-98g5mBAS | HDR feature not supported |
a2A2448-23gcBAS | HDR feature not supported |
a2A2448-23gcPRO | HDR feature not supported |
a2A2448-23gmBAS | HDR feature not supported |
a2A2448-23gmPRO | HDR feature not supported |
a2A2448-75ucBAS | HDR feature not supported |
a2A2448-75ucPRO | HDR feature not supported |
a2A2448-75umBAS | HDR feature not supported |
a2A2448-75umPRO | HDR feature not supported |
a2A2448-105g5cBAS | HDR feature not supported |
a2A2448-105g5mBAS | HDR feature not supported |
a2A2448-120cc | HDR feature not supported |
a2A2448-120cm | HDR feature not supported |
a2A2448-210cc | HDR feature not supported |
a2A2448-210cm | HDR feature not supported |
a2A2560-20gmSWIR | HDR feature not supported |
a2A2560-70umSWIR | HDR feature not supported |
a2A2590-22gcBAS | HDR feature not supported |
a2A2590-22gcPRO | HDR feature not supported |
a2A2590-22gmBAS | HDR feature not supported |
a2A2590-22gmPRO | HDR feature not supported |
a2A2590-60ucBAS | HDR feature not supported |
a2A2590-60ucPRO | HDR feature not supported |
a2A2590-60umBAS | HDR feature not supported |
a2A2590-60umPRO | HDR feature not supported |
a2A2600-20gcBAS | HDR feature not supported |
a2A2600-20gcPRO | HDR feature not supported |
a2A2600-20gmBAS | Interleaved HDR |
a2A2600-20gmPRO | Interleaved HDR |
a2A2600-64ucBAS | HDR feature not supported |
a2A2600-64ucPRO | HDR feature not supported |
a2A2600-64umBAS | Interleaved HDR |
a2A2600-64umPRO | Interleaved HDR |
a2A2840-14gcBAS | HDR feature not supported |
a2A2840-14gcPRO | HDR feature not supported |
a2A2840-14gmBAS | HDR feature not supported |
a2A2840-14gmPRO | HDR feature not supported |
a2A2840-14gmUV | HDR feature not supported |
a2A2840-48ucBAS | HDR feature not supported |
a2A2840-48ucPRO | HDR feature not supported |
a2A2840-48umBAS | HDR feature not supported |
a2A2840-48umPRO | HDR feature not supported |
a2A2840-48umUV | HDR feature not supported |
a2A2840-67g5cBAS | HDR feature not supported |
a2A2840-67g5mBAS | HDR feature not supported |
a2A2840-67g5mUV | HDR feature not supported |
a2A2840-86cc | HDR feature not supported |
a2A2840-86cm | HDR feature not supported |
a2A3536-9gcBAS | HDR feature not supported |
a2A3536-9gcPRO | HDR feature not supported |
a2A3536-9gmBAS | HDR feature not supported |
a2A3536-9gmPRO | HDR feature not supported |
a2A3536-31ucBAS | HDR feature not supported |
a2A3536-31ucPRO | HDR feature not supported |
a2A3536-31umBAS | HDR feature not supported |
a2A3536-31umPRO | HDR feature not supported |
a2A3536-42g5cBAS | HDR feature not supported |
a2A3536-42g5mBAS | HDR feature not supported |
a2A3840-13gcBAS | HDR feature not supported |
a2A3840-13gcPRO | HDR feature not supported |
a2A3840-13gmBAS | HDR feature not supported |
a2A3840-13gmPRO | HDR feature not supported |
a2A3840-45ucBAS | HDR feature not supported |
a2A3840-45ucPRO | HDR feature not supported |
a2A3840-45umBAS | HDR feature not supported |
a2A3840-45umPRO | HDR feature not supported |
a2A4096-9gcBAS | HDR feature not supported |
a2A4096-9gcPRO | HDR feature not supported |
a2A4096-9gmBAS | HDR feature not supported |
a2A4096-9gmPRO | HDR feature not supported |
a2A4096-30ucBAS | HDR feature not supported |
a2A4096-30ucPRO | HDR feature not supported |
a2A4096-30umBAS | HDR feature not supported |
a2A4096-30umPRO | HDR feature not supported |
a2A4096-44g5cBAS | HDR feature not supported |
a2A4096-44g5mBAS | HDR feature not supported |
a2A4096-67cc | HDR feature not supported |
a2A4096-67cm | HDR feature not supported |
a2A4200-12gcBAS | HDR feature not supported |
a2A4200-12gcPRO | HDR feature not supported |
a2A4200-12gmBAS | Interleaved HDR |
a2A4200-12gmPRO | Interleaved HDR |
a2A4200-40ucBAS | HDR feature not supported |
a2A4200-40ucPRO | HDR feature not supported |
a2A4200-40umBAS | Interleaved HDR |
a2A4200-40umPRO | Interleaved HDR |
a2A4504-5gcBAS | HDR feature not supported |
a2A4504-5gcPRO | HDR feature not supported |
a2A4504-5gmBAS | HDR feature not supported |
a2A4504-5gmPRO | HDR feature not supported |
a2A4504-18ucBAS | HDR feature not supported |
a2A4504-18ucPRO | HDR feature not supported |
a2A4504-18umBAS | HDR feature not supported |
a2A4504-18umPRO | HDR feature not supported |
a2A4504-27g5cBAS | HDR feature not supported |
a2A4504-27g5mBAS | HDR feature not supported |
a2A4504-42cc | HDR feature not supported |
a2A4504-42cm | HDR feature not supported |
a2A4508-6gcBAS | HDR feature not supported |
a2A4508-6gcPRO | HDR feature not supported |
a2A4508-6gmBAS | Interleaved HDR |
a2A4508-6gmPRO | Interleaved HDR |
a2A4508-20ucBAS | HDR feature not supported |
a2A4508-20ucPRO | HDR feature not supported |
a2A4508-20umBAS | Interleaved HDR |
a2A4508-20umPRO | Interleaved HDR |
a2A5060-4gcBAS | HDR feature not supported |
a2A5060-4gmBAS | HDR feature not supported |
a2A5060-15ucBAS | HDR feature not supported |
a2A5060-15umBAS | HDR feature not supported |
a2A5060-21g5cBAS | HDR feature not supported |
a2A5060-21g5mBAS | HDR feature not supported |
a2A5060-35cc | HDR feature not supported |
a2A5060-35cm | HDR feature not supported |
a2A5320-7gcBAS | HDR feature not supported |
a2A5320-7gcPRO | HDR feature not supported |
a2A5320-7gmBAS | HDR feature not supported |
a2A5320-7gmPRO | HDR feature not supported |
a2A5320-23ucBAS | HDR feature not supported |
a2A5320-23ucPRO | HDR feature not supported |
a2A5320-23umBAS | HDR feature not supported |
a2A5320-23umPRO | HDR feature not supported |
a2A5320-34g5cBAS | HDR feature not supported |
a2A5320-34g5mBAS | HDR feature not supported |
a2A5320-52cc | HDR feature not supported |
a2A5320-52cm | HDR feature not supported |
a2A5328-4gcBAS | HDR feature not supported |
a2A5328-4gcPRO | HDR feature not supported |
a2A5328-4gmBAS | HDR feature not supported |
a2A5328-4gmPRO | HDR feature not supported |
a2A5328-15ucBAS | HDR feature not supported |
a2A5328-15ucPRO | HDR feature not supported |
a2A5328-15umBAS | HDR feature not supported |
a2A5328-15umPRO | HDR feature not supported |
a2A5328-22g5cBAS | HDR feature not supported |
a2A5328-22g5mBAS | HDR feature not supported |
a2A5328-35cc | HDR feature not supported |
a2A5328-35cm | HDR feature not supported |
acA640-121gm | HDR feature not supported |
acA640-300gc | HDR feature not supported |
acA640-300gm | HDR feature not supported |
acA640-750uc | HDR feature not supported |
acA640-750um | HDR feature not supported |
acA720-290gc | HDR feature not supported |
acA720-290gm | HDR feature not supported |
acA720-520uc | HDR feature not supported |
acA720-520um | HDR feature not supported |
acA800-200gc | HDR feature not supported |
acA800-200gm | HDR feature not supported |
acA800-510uc | HDR feature not supported |
acA800-510um | HDR feature not supported |
acA1280-60gc | HDR feature not supported |
acA1280-60gm | HDR feature not supported |
acA1300-60gc | HDR feature not supported |
acA1300-60gm | HDR feature not supported |
acA1300-60gmNIR | HDR feature not supported |
acA1300-75gc | HDR feature not supported |
acA1300-75gm | HDR feature not supported |
acA1300-200uc | HDR feature not supported |
acA1300-200um | HDR feature not supported |
acA1440-73gc | HDR feature not supported |
acA1440-73gm | HDR feature not supported |
acA1440-220uc | HDR feature not supported |
acA1440-220um | HDR feature not supported |
acA1600-20gc | HDR feature not supported |
acA1600-20uc | HDR feature not supported |
acA1600-60gc | HDR feature not supported |
acA1600-60gm | HDR feature not supported |
acA1920-25gc | HDR feature not supported |
acA1920-25gm | HDR feature not supported |
acA1920-25uc | HDR feature not supported |
acA1920-25um | HDR feature not supported |
acA1920-40gc | HDR feature not supported |
acA1920-40gm | HDR feature not supported |
acA1920-40uc | HDR feature not supported |
acA1920-40ucMED | HDR feature not supported |
acA1920-40um | HDR feature not supported |
acA1920-40umMED | HDR feature not supported |
acA1920-48gc | HDR feature not supported |
acA1920-48gm | HDR feature not supported |
acA1920-50gc | HDR feature not supported |
acA1920-50gm | HDR feature not supported |
acA1920-150uc | HDR feature not supported |
acA1920-150um | HDR feature not supported |
acA1920-155uc | HDR feature not supported |
acA1920-155ucMED | HDR feature not supported |
acA1920-155um | HDR feature not supported |
acA1920-155umMED | HDR feature not supported |
acA2000-50gc | HDR feature not supported |
acA2000-50gm | HDR feature not supported |
acA2000-165uc | HDR feature not supported |
acA2000-165um | HDR feature not supported |
acA2040-25gc | HDR feature not supported |
acA2040-25gm | HDR feature not supported |
acA2040-25gmNIR | HDR feature not supported |
acA2040-35gc | HDR feature not supported |
acA2040-35gm | HDR feature not supported |
acA2040-55uc | HDR feature not supported |
acA2040-55um | HDR feature not supported |
acA2040-90uc | HDR feature not supported |
acA2040-90um | HDR feature not supported |
acA2040-90umNIR | HDR feature not supported |
acA2040-120uc | HDR feature not supported |
acA2040-120um | HDR feature not supported |
acA2440-20gc | HDR feature not supported |
acA2440-20gm | HDR feature not supported |
acA2440-35uc | HDR feature not supported |
acA2440-35ucMED | HDR feature not supported |
acA2440-35um | HDR feature not supported |
acA2440-35umMED | HDR feature not supported |
acA2440-75uc | HDR feature not supported |
acA2440-75ucMED | HDR feature not supported |
acA2440-75um | HDR feature not supported |
acA2440-75umMED | HDR feature not supported |
acA2500-14gc | HDR feature not supported |
acA2500-14gm | HDR feature not supported |
acA2500-14uc | HDR feature not supported |
acA2500-14um | HDR feature not supported |
acA2500-20gc | HDR feature not supported |
acA2500-20gcMED | HDR feature not supported |
acA2500-20gm | HDR feature not supported |
acA2500-20gmMED | HDR feature not supported |
acA2500-60uc | HDR feature not supported |
acA2500-60um | HDR feature not supported |
acA3088-16gc | HDR feature not supported |
acA3088-16gm | HDR feature not supported |
acA3088-57uc | HDR feature not supported |
acA3088-57ucMED | HDR feature not supported |
acA3088-57um | HDR feature not supported |
acA3088-57umMED | HDR feature not supported |
acA3800-10gc | HDR feature not supported |
acA3800-10gm | HDR feature not supported |
acA3800-14uc | HDR feature not supported |
acA3800-14um | HDR feature not supported |
acA4024-8gc | HDR feature not supported |
acA4024-8gm | HDR feature not supported |
acA4024-29uc | HDR feature not supported |
acA4024-29um | HDR feature not supported |
acA4096-11gc | HDR feature not supported |
acA4096-11gm | HDR feature not supported |
acA4096-30uc | HDR feature not supported |
acA4096-30ucMED | HDR feature not supported |
acA4096-30um | HDR feature not supported |
acA4096-30umMED | HDR feature not supported |
acA4096-40uc | HDR feature not supported |
acA4096-40ucMED | HDR feature not supported |
acA4096-40um | HDR feature not supported |
acA4096-40umMED | HDR feature not supported |
acA4112-8gc | HDR feature not supported |
acA4112-8gm | HDR feature not supported |
acA4112-20uc | HDR feature not supported |
acA4112-20ucMED | HDR feature not supported |
acA4112-20um | HDR feature not supported |
acA4112-20umMED | HDR feature not supported |
acA4112-30uc | HDR feature not supported |
acA4112-30ucMED | HDR feature not supported |
acA4112-30um | HDR feature not supported |
acA4112-30umMED | HDR feature not supported |
acA5472-5gc | HDR feature not supported |
acA5472-5gm | HDR feature not supported |
acA5472-17uc | HDR feature not supported |
acA5472-17ucMED | HDR feature not supported |
acA5472-17um | HDR feature not supported |
acA5472-17umMED | HDR feature not supported |
boA1936-400cc | HDR feature not supported |
boA1936-400cm | HDR feature not supported |
boA2448-250cc | HDR feature not supported |
bo2448-250cm | HDR feature not supported |
boA2832-190cc | HDR feature not supported |
bo2832-190cm | HDR feature not supported |
boA4096-93cc | HDR feature not supported |
boA4096-93cm | HDR feature not supported |
boA4096-180cc | HDR feature not supported |
bo4096-180cm | HDR feature not supported |
boA4112-68cc | HDR feature not supported |
boA4112-68cm | HDR feature not supported |
boA4500-45cc | HDR feature not supported |
boA4500-45cm | HDR feature not supported |
boA4504-100cc | HDR feature not supported |
boA4504-100cm | HDR feature not supported |
boA5120-150cc | HDR feature not supported |
boA5120-150cm | HDR feature not supported |
boA5120-230cc | HDR feature not supported |
boA5120-230cm | HDR feature not supported |
boA5320-150cc | HDR feature not supported |
boA5320-150cm | HDR feature not supported |
boA5328-100cc | HDR feature not supported |
boA5328-100cm | HDR feature not supported |
boA6500-36cc | HDR feature not supported |
boA6500-36cm | HDR feature not supported |
boA8100-16cc | HDR feature not supported |
boA8100-16cm | HDR feature not supported |
boA9344-30cc | HDR feature not supported |
boA9344-30cm | HDR feature not supported |
boA9344-70cc | HDR feature not supported |
boA9344-70cm | HDR feature not supported |
boA13440-17cm | HDR feature not supported |
daA720-520uc | HDR feature not supported |
daA720-520um | HDR feature not supported |
daA1280-54uc | HDR feature not supported |
daA1280-54um | HDR feature not supported |
daA1440-220uc | HDR feature not supported |
daA1440-220um | HDR feature not supported |
daA1600-60uc | HDR feature not supported |
daA1600-60um | HDR feature not supported |
daA1920-15um | HDR feature not supported |
daA1920-30uc | HDR feature not supported |
daA1920-30um | HDR feature not supported |
daA1920-160uc | HDR feature not supported |
daA1920-160um | HDR feature not supported |
daA2448-70uc | HDR feature not supported |
daA2448-70um | HDR feature not supported |
daA2500-14uc | HDR feature not supported |
daA2500-14um | HDR feature not supported |
daA3840-45uc | HDR feature not supported |
daA3840-45um | HDR feature not supported |
dmA720-290gc | HDR feature not supported |
dmA720-290gm | HDR feature not supported |
dmA1440-73gc | HDR feature not supported |
dmA1440-73gm | HDR feature not supported |
dmA1920-51gc | HDR feature not supported |
dmA1920-51gm | HDR feature not supported |
dmA2048-37gc | HDR feature not supported |
dmA2048-37gm | Quad HDR |
dmA2448-23gc | HDR feature not supported |
dmA2448-23gm | HDR feature not supported |
dmA2840-14gc | HDR feature not supported |
dmA2840-14gm | HDR feature not supported |
dmA3536-9gc | HDR feature not supported |
dmA3536-9gm | HDR feature not supported |
dmA4096-9gc | HDR feature not supported |
dmA4096-9gm | HDR feature not supported |
puA1280-54uc | HDR feature not supported |
puA1280-54um | HDR feature not supported |
puA1600-60uc | HDR feature not supported |
puA1600-60um | HDR feature not supported |
puA1920-30uc | HDR feature not supported |
puA1920-30um | HDR feature not supported |
puA2500-14uc | HDR feature not supported |
puA2500-14um | HDR feature not supported |
r2L2048-29gc | HDR feature not supported |
r2L2048-58gm | HDR feature not supported |
r2L2048-62cc | HDR feature not supported |
r2L2048-62g5c | HDR feature not supported |
r2L2048-172cm | HDR feature not supported |
r2L2048-172g5m | HDR feature not supported |
r2L4096-14gc | HDR feature not supported |
r2L4096-29gm | HDR feature not supported |
r2L4096-42cc | HDR feature not supported |
r2L4096-42g5c | HDR feature not supported |
r2L4096-84cm | HDR feature not supported |
r2L4096-84g5m | HDR feature not supported |
r2L8192-200cm | HDR feature not supported |
r2L16384-120cm | HDR feature not supported |
示例代码#
// Set the exposure time mode to Individual
camera.ExposureTimeMode.SetValue(ExposureTimeMode_Individual);
// Select stage 1
camera.ExposureTimeSelector.SetValue(ExposureTimeSelector_Stage1);
// Set the exposure time to 1000 microseconds
camera.ExposureTime.SetValue(1000.0);
// Select stage 2
camera.ExposureTimeSelector.SetValue(ExposureTimeSelector_Stage2);
// Set the exposure time to 1000000 microseconds
camera.ExposureTime.SetValue(1000000.0);
INodeMap& nodemap = camera.GetNodeMap();
// Set the exposure time mode to Individual
CEnumParameter(nodemap, "ExposureTimeMode").SetValue("Individual");
// Select stage 1
CEnumParameter(nodemap, "ExposureTimeSelector").SetValue("Stage1");
// Set the exposure time to 1000 microseconds
CFloatParameter(nodemap, "ExposureTime").SetValue(1000.0);
// Select stage 2
CEnumParameter(nodemap, "ExposureTimeSelector").SetValue("Stage2");
// Set the exposure time to 1000000 microseconds
CFloatParameter(nodemap, "ExposureTime").SetValue(1000000.0);
// Set the exposure time mode to Individual
camera.Parameters[PLCamera.ExposureTimeMode].SetValue(PLCamera.ExposureTimeMode.Individual);
// Select stage 1
camera.Parameters[PLCamera.ExposureTimeSelector].SetValue(PLCamera.ExposureTimeSelector.Stage1);
// Set the exposure time to 1000 microseconds
camera.Parameters[PLCamera.ExposureTime].SetValue(1000.0);
// Select stage 2
camera.Parameters[PLCamera.ExposureTimeSelector].SetValue(PLCamera.ExposureTimeSelector.Stage2);
// Set the exposure time to 1000000 microseconds
camera.Parameters[PLCamera.ExposureTime].SetValue(1000000.0);
/* Macro to check for errors */
#define CHECK(errc) if (GENAPI_E_OK != errc) printErrorAndExit(errc)
GENAPIC_RESULT errRes = GENAPI_E_OK; /* Return value of pylon methods */
/* Set the exposure time mode to Individual */
errRes = PylonDeviceFeatureFromString(hdev, "ExposureTimeMode", "Individual");
CHECK(errRes);
/* Select stage 1 */
errRes = PylonDeviceFeatureFromString(hdev, "ExposureTimeSelector", "Stage1");
CHECK(errRes);
/* Set the exposure time to 1000 microseconds */
errRes = PylonDeviceSetFloatFeature(hdev, "ExposureTime", 1000.0);
CHECK(errRes);
/* Select stage 2 */
errRes = PylonDeviceFeatureFromString(hdev, "ExposureTimeSelector", "Stage2");
CHECK(errRes);
/* Set the exposure time to 1000000 microseconds */
errRes = PylonDeviceSetFloatFeature(hdev, "ExposureTime", 1000000.0);
CHECK(errRes);
# Set the exposure time mode to Individual
camera.ExposureTimeMode.Value = "Individual"
# Select stage 1
camera.ExposureTimeSelector.Value = "Stage1"
# Set the exposure time to 1000 microseconds
camera.ExposureTime.Value = 1000.0
# Select stage 2
camera.ExposureTimeSelector.Value = "Stage2"
# Set the exposure time to 1000000 microseconds
camera.ExposureTime.Value = 1000000.0
您也可以使用 pylon Viewer 轻松设置参数。