跳至內容
測試伺服器
開發伺服器

Brightness and Contrast#

「Brightness and Contrast 」相機功能可讓您調整影像的色調值。

Brightness 和 Contrast 始終作為共同數學 Brightness/Contrast 函數的一部分一起處理。

使用功能#

調整對比度與對比度模式#

要調整對比度:

  1. 將相機中的 BslContrastMode 將參數設為下列其中一個值(若適用):
  2. 為 BslContrast 參數。該參數的值範圍從 -1 到 1。預設情況下,該參數設定為 0,這表示對比度保持不變。

調整 Brightness#

若要調整亮度,請輸入以下項目的值: BslBrightness 參數。該參數的值範圍從 -1 到 1。預設情況下,該參數設定為 0,這表示亮度保持不變。

運作原理#

對比度#

調整對比度會改變影像中明亮區域與黑暗區域之間的差異程度。您套用的對比度越高,差異就會越明顯。

對比度的應用方式取決於您所選的對比度模式。

線性對比模式#

若選取此對比度模式,相機將使用線性函數來調整對比度。增加或減少對比度,即會增加或減少該線性函數的斜率。

對比度 = 0、亮度 = 0、線性對比度模式

對比度 = 0.3、亮度 = 0、線性對比度模式

當對比度設定值大於 0 時,會有更多輸出像素值被設定為完全黑色(0)或完全白色(最大像素值)。

若將對比度設定為 0.3(參見第二張圖),輸入值介於 0 至約 50 之間的範圍將被設定為完全黑色,而輸入值介於約 205 至 255 之間的範圍則被設定為完全白色。這意味著整體色調值範圍(即影像的動態範圍)將被縮小。 影像中最暗和最亮的區域將呈現完全黑色或完全白色,但其餘區域則會顯得更為清晰。

降低對比度則會產生相反的效果。

S 型曲線對比模式#

若選取此對比度模式,相機將使用S 型曲線函數來調整對比度。

這可讓您在保留影像動態範圍的同時,改善感官對比度。

您增加對比度越多,函數圖形就會越呈現 S 形:

Contrast = 0.3, Brightness = 0, S-Curve Contrast Mode

Contrast = 0.5, Brightness = 0, S-Curve Contrast Mode

上圖顯示在 S-Curve 模式下增加對比度會產生以下效果:

  • S 曲線在其起點和終點附近變得更平緩,而在中心附近變得更陡峭。因此,影像明亮和黑暗區域的對比度會降低,而中間色調的對比度會增加。
  • 低的輸入像素值會降低,高的輸入像素值會增加。因此,影像中極端黑暗和明亮的區域會被壓縮,這進一步改善了感官對比度。
  • 由於曲線總是從 (0,0) 開始並在 (Xmax,Ymax) 結束,因此影像的動態範圍得以保留。

在 S-Curve 模式下,低於 0 的對比度設定將導致產生相反效果的反向 S 曲線。

亮度#

調整亮度可讓您透過增加或減少色調值來使影像變亮或變暗。

調整亮度會移動 Brightness/Contrast 函數的樞紐點:

  • 增加亮度會將樞紐點向左上方移動。這表示影像將顯得更亮。
  • 減少亮度會將樞紐點向右下方移動。這表示影像將顯得更暗。

下圖所示為選取「S 曲線」對比模式時的範例。

Contrast = 0.3, Brightness = 0, S-Curve Contrast Mode

Contrast = 0.3, Brightness = 0.3, S-Curve Contrast Mode

其他參數#

如果可用, BslBrightnessRaw 進行明確的生命週期管理即呼叫 BslContrastRaw 這些參數允許您為亮度與對比度參數輸入整數值,而非浮點數值。通常,您無需設定這些參數。

詳細資料#

顯示所有相機型號

相機型號 可用的對比度模式
a2A640-240gmSWIR 線性
S型曲線
a2A640-240umSWIR 線性
S型曲線
a2A1280-80gmSWIR 線性
S型曲線
a2A1280-125umSWIR 線性
S型曲線
a2A1920-51gcBAS 線性
S型曲線
a2A1920-51gcIP67 線性
S型曲線
a2A1920-51gcPRO 線性
S型曲線
a2A1920-51gmBAS 線性
S型曲線
a2A1920-51gmIP67 線性
S型曲線
a2A1920-51gmPRO 線性
S型曲線
a2A1920-160ucBAS 線性
S型曲線
a2A1920-160ucPRO 線性
S型曲線
a2A1920-160umBAS 線性
S型曲線
a2A1920-160umPRO 線性
S型曲線
a2A1920-165g5cBAS 線性
S型曲線
a2A1920-165g5mBAS 線性
S型曲線
a2A1920-168mgc 線性
S型曲線
a2A1920-168mgm 線性
S型曲線
a2A2048-35gmSWIR 線性
S型曲線
a2A2048-37gcBAS 線性
S型曲線
a2A2048-37gcPRO 線性
S型曲線
a2A2048-37gmBAS 線性
S型曲線
a2A2048-37gmPRO 線性
S型曲線
a2A2048-110umSWIR 線性
S型曲線
a2A2048-114g5cBAS 線性
S型曲線
a2A2048-114g5mBAS 線性
S型曲線
a2A2048-114mgc 線性
S型曲線
a2A2048-114mgm 線性
S型曲線
a2A2048-114ucBAS 線性
S型曲線
a2A2048-114ucPRO 線性
S型曲線
a2A2048-114umBAS 線性
S型曲線
a2A2048-114umPRO 線性
S型曲線
a2A2048-173cmSWIR 線性
S型曲線
a2A2440-98g5cBAS 線性
S型曲線
a2A2440-98g5mBAS 線性
S型曲線
a2A2448-23gcBAS 線性
S型曲線
a2A2448-23gcIP67 線性
S型曲線
a2A2448-23gcPRO 線性
S型曲線
a2A2448-23gmBAS 線性
S型曲線
a2A2448-23gmIP67 線性
S型曲線
a2A2448-23gmPRO 線性
S型曲線
a2A2448-75ucBAS 線性
S型曲線
a2A2448-75ucPRO 線性
S型曲線
a2A2448-75umBAS 線性
S型曲線
a2A2448-75umPRO 線性
S型曲線
a2A2448-90mgc 線性
S型曲線
a2A2448-90mgm 線性
S型曲線
a2A2448-105g5cBAS 線性
S型曲線
a2A2448-105g5mBAS 線性
S型曲線
a2A2448-120cc 線性
S型曲線
a2A2448-120cm 線性
S型曲線
a2A2448-210cc 線性
S型曲線
a2A2448-210cm 線性
S型曲線
a2A2464-23gcBAS 線性
S型曲線
a2A2464-23gcPRO 線性
S型曲線
a2A2464-23gmBAS 線性
S型曲線
a2A2464-23gmPRO 線性
S型曲線
a2A2464-77ucBAS 線性
S型曲線
a2A2464-77ucPRO 線性
S型曲線
a2A2464-77umBAS 線性
S型曲線
a2A2464-77umPRO 線性
S型曲線
a2A2464-115g5cBAS 線性
S型曲線
a2A2464-115g5mBAS 線性
S型曲線
a2A2560-20gmSWIR 線性
S型曲線
a2A2560-70umSWIR 線性
S型曲線
a2A2560-131cmSWIR 線性
S型曲線
a2A2590-22gcBAS 線性
S型曲線
a2A2590-22gcPRO 線性
S型曲線
a2A2590-22gmBAS 線性
S型曲線
a2A2590-22gmPRO 線性
S型曲線
a2A2590-60ucBAS 線性
S型曲線
a2A2590-60ucPRO 線性
S型曲線
a2A2590-60umBAS 線性
S型曲線
a2A2590-60umPRO 線性
S型曲線
a2A2600-20gcBAS 線性
S型曲線
a2A2600-20gcPRO 線性
S型曲線
a2A2600-20gmBAS 線性
S型曲線
a2A2600-20gmPRO 線性
S型曲線
a2A2600-64ucBAS 線性
S型曲線
a2A2600-64ucPRO 線性
S型曲線
a2A2600-64umBAS 線性
S型曲線
a2A2600-64umPRO 線性
S型曲線
a2A2840-14gcBAS 線性
S型曲線
a2A2840-14gcIP67 線性
S型曲線
a2A2840-14gcPRO 線性
S型曲線
a2A2840-14gmBAS 線性
S型曲線
a2A2840-14gmIP67 線性
S型曲線
a2A2840-14gmPRO 線性
S型曲線
a2A2840-14gmUV 線性
S型曲線
a2A2840-48ucBAS 線性
S型曲線
a2A2840-48ucPRO 線性
S型曲線
a2A2840-48umBAS 線性
S型曲線
a2A2840-48umPRO 線性
S型曲線
a2A2840-48umUV 線性
S型曲線
a2A2840-57mgc 線性
S型曲線
a2A2840-57mgm 線性
S型曲線
a2A2840-67g5cBAS 線性
S型曲線
a2A2840-67g5mBAS 線性
S型曲線
a2A2840-67g5mUV 線性
S型曲線
a2A2840-86cc 線性
S型曲線
a2A2840-86cm 線性
S型曲線
a2A3536-9gcBAS 線性
S型曲線
a2A3536-9gcPRO 線性
S型曲線
a2A3536-9gmBAS 線性
S型曲線
a2A3536-9gmPRO 線性
S型曲線
a2A3536-31ucBAS 線性
S型曲線
a2A3536-31ucPRO 線性
S型曲線
a2A3536-31umBAS 線性
S型曲線
a2A3536-31umPRO 線性
S型曲線
a2A3536-37mgc 線性
S型曲線
a2A3536-37mgm 線性
S型曲線
a2A3536-42g5cBAS 線性
S型曲線
a2A3536-42g5mBAS 線性
S型曲線
a2A3840-13gcBAS 線性
S型曲線
a2A3840-13gcPRO 線性
S型曲線
a2A3840-13gmBAS 線性
S型曲線
a2A3840-13gmPRO 線性
S型曲線
a2A3840-45ucBAS 線性
S型曲線
a2A3840-45ucPRO 線性
S型曲線
a2A3840-45umBAS 線性
S型曲線
a2A3840-45umPRO 線性
S型曲線
a2A4096-9gcBAS 線性
S型曲線
a2A4096-9gcIP67 線性
S型曲線
a2A4096-9gcPRO 線性
S型曲線
a2A4096-9gmBAS 線性
S型曲線
a2A4096-9gmIP67 線性
S型曲線
a2A4096-9gmPRO 線性
S型曲線
a2A4096-30ucBAS 線性
S型曲線
a2A4096-30ucPRO 線性
S型曲線
a2A4096-30umBAS 線性
S型曲線
a2A4096-30umPRO 線性
S型曲線
a2A4096-38mgc 線性
S型曲線
a2A4096-38mgm 線性
S型曲線
a2A4096-44g5cBAS 線性
S型曲線
a2A4096-44g5mBAS 線性
S型曲線
a2A4096-67cc 線性
S型曲線
a2A4096-67cm 線性
S型曲線
a2A4200-12gcBAS 線性
S型曲線
a2A4200-12gcPRO 線性
S型曲線
a2A4200-12gmBAS 線性
S型曲線
a2A4200-12gmPRO 線性
S型曲線
a2A4200-40ucBAS 線性
S型曲線
a2A4200-40ucPRO 線性
S型曲線
a2A4200-40umBAS 線性
S型曲線
a2A4200-40umPRO 線性
S型曲線
a2A4504-5gcBAS 線性
S型曲線
a2A4504-5gcIP67 線性
S型曲線
a2A4504-5gcPRO 線性
S型曲線
a2A4504-5gmBAS 線性
S型曲線
a2A4504-5gmIP67 線性
S型曲線
a2A4504-5gmPRO 線性
S型曲線
a2A4504-18ucBAS 線性
S型曲線
a2A4504-18ucPRO 線性
S型曲線
a2A4504-18umBAS 線性
S型曲線
a2A4504-18umPRO 線性
S型曲線
a2A4504-23mgc 線性
S型曲線
a2A4504-23mgm 線性
S型曲線
a2A4504-27g5cBAS 線性
S型曲線
a2A4504-27g5mBAS 線性
S型曲線
a2A4504-42cc 線性
S型曲線
a2A4504-42cm 線性
S型曲線
a2A4508-6gcBAS 線性
S型曲線
a2A4508-6gcPRO 線性
S型曲線
a2A4508-6gmBAS 線性
S型曲線
a2A4508-6gmPRO 線性
S型曲線
a2A4508-20ucBAS 線性
S型曲線
a2A4508-20ucPRO 線性
S型曲線
a2A4508-20umBAS 線性
S型曲線
a2A4508-20umPRO 線性
S型曲線
a2A5060-4gcBAS 線性
S型曲線
a2A5060-4gmBAS 線性
S型曲線
a2A5060-15ucBAS 線性
S型曲線
a2A5060-15umBAS 線性
S型曲線
a2A5060-21g5cBAS 線性
S型曲線
a2A5060-21g5mBAS 線性
S型曲線
a2A5060-35cc 線性
S型曲線
a2A5060-35cm 線性
S型曲線
a2A5320-7gcBAS 線性
S型曲線
a2A5320-7gcIP67 線性
S型曲線
a2A5320-7gcPRO 線性
S型曲線
a2A5320-7gmBAS 線性
S型曲線
a2A5320-7gmPRO 線性
S型曲線
a2A5320-7gmip67 線性
S型曲線
a2A5320-23ucBAS 線性
S型曲線
a2A5320-23ucPRO 線性
S型曲線
a2A5320-23umBAS 線性
S型曲線
a2A5320-23umPRO 線性
S型曲線
a2A5320-29mgc 線性
S型曲線
a2A5320-29mgm 線性
S型曲線
a2A5320-34g5cBAS 線性
S型曲線
a2A5320-34g5mBAS 線性
S型曲線
a2A5320-52cc 線性
S型曲線
a2A5320-52cm 線性
S型曲線
a2A5328-4gcBAS 線性
S型曲線
a2A5328-4gcIP67 線性
S型曲線
a2A5328-4gcPRO 線性
S型曲線
a2A5328-4gmBAS 線性
S型曲線
a2A5328-4gmIP67 線性
S型曲線
a2A5328-4gmPRO 線性
S型曲線
a2A5328-15ucBAS 線性
S型曲線
a2A5328-15ucPRO 線性
S型曲線
a2A5328-15umBAS 線性
S型曲線
a2A5328-15umPRO 線性
S型曲線
a2A5328-19mgc 線性
S型曲線
a2A5328-19mgm 線性
S型曲線
a2A5328-22g5cBAS 線性
S型曲線
a2A5328-22g5mBAS 線性
S型曲線
a2A5328-35cc 線性
S型曲線
a2A5328-35cm 線性
S型曲線
acA640-121gm Brightness and Contrast 此功能不支援
acA640-300gc Brightness and Contrast 此功能不支援
acA640-300gm Brightness and Contrast 此功能不支援
acA640-750uc Brightness and Contrast 此功能不支援
acA640-750um Brightness and Contrast 此功能不支援
acA720-290gc Brightness and Contrast 此功能不支援
acA720-290gm Brightness and Contrast 此功能不支援
acA720-520uc Brightness and Contrast 此功能不支援
acA720-520um Brightness and Contrast 此功能不支援
acA800-200gc Brightness and Contrast 此功能不支援
acA800-200gm Brightness and Contrast 此功能不支援
acA800-510uc Brightness and Contrast 此功能不支援
acA800-510um Brightness and Contrast 此功能不支援
acA1280-60gc Brightness and Contrast 此功能不支援
acA1280-60gm Brightness and Contrast 此功能不支援
acA1300-60gc Brightness and Contrast 此功能不支援
acA1300-60gm Brightness and Contrast 此功能不支援
acA1300-60gmNIR Brightness and Contrast 此功能不支援
acA1300-75gc Brightness and Contrast 此功能不支援
acA1300-75gm Brightness and Contrast 此功能不支援
acA1300-200uc Brightness and Contrast 此功能不支援
acA1300-200um Brightness and Contrast 此功能不支援
acA1440-73gc Brightness and Contrast 此功能不支援
acA1440-73gm Brightness and Contrast 此功能不支援
acA1440-220uc Brightness and Contrast 此功能不支援
acA1440-220um Brightness and Contrast 此功能不支援
acA1600-60gc Brightness and Contrast 此功能不支援
acA1600-60gm Brightness and Contrast 此功能不支援
acA1920-25gc Brightness and Contrast 此功能不支援
acA1920-25gm Brightness and Contrast 此功能不支援
acA1920-25uc Brightness and Contrast 此功能不支援
acA1920-25um Brightness and Contrast 此功能不支援
acA1920-40gc Brightness and Contrast 此功能不支援
acA1920-40gm Brightness and Contrast 此功能不支援
acA1920-40uc Brightness and Contrast 此功能不支援
acA1920-40ucMED 線性
S型曲線
acA1920-40um Brightness and Contrast 此功能不支援
acA1920-40umMED 線性
S型曲線
acA1920-48gc Brightness and Contrast 此功能不支援
acA1920-48gm Brightness and Contrast 此功能不支援
acA1920-50gc Brightness and Contrast 此功能不支援
acA1920-50gm Brightness and Contrast 此功能不支援
acA1920-150uc Brightness and Contrast 此功能不支援
acA1920-150um Brightness and Contrast 此功能不支援
acA1920-155uc Brightness and Contrast 此功能不支援
acA1920-155ucMED 線性
S型曲線
acA1920-155um Brightness and Contrast 此功能不支援
acA1920-155umMED 線性
S型曲線
acA2000-50gc Brightness and Contrast 此功能不支援
acA2000-50gm Brightness and Contrast 此功能不支援
acA2000-165uc Brightness and Contrast 此功能不支援
acA2000-165um Brightness and Contrast 此功能不支援
acA2040-25gc Brightness and Contrast 此功能不支援
acA2040-25gm Brightness and Contrast 此功能不支援
acA2040-25gmNIR Brightness and Contrast 此功能不支援
acA2040-35gc Brightness and Contrast 此功能不支援
acA2040-35gm Brightness and Contrast 此功能不支援
acA2040-55uc Brightness and Contrast 此功能不支援
acA2040-55um Brightness and Contrast 此功能不支援
acA2040-90uc Brightness and Contrast 此功能不支援
acA2040-90um Brightness and Contrast 此功能不支援
acA2040-90umNIR Brightness and Contrast 此功能不支援
acA2040-120uc Brightness and Contrast 此功能不支援
acA2040-120um Brightness and Contrast 此功能不支援
acA2440-20gc Brightness and Contrast 此功能不支援
acA2440-20gm Brightness and Contrast 此功能不支援
acA2440-35uc Brightness and Contrast 此功能不支援
acA2440-35ucMED 線性
S型曲線
acA2440-35um Brightness and Contrast 此功能不支援
acA2440-35umMED 線性
S型曲線
acA2440-75uc Brightness and Contrast 此功能不支援
acA2440-75ucMED 線性
S型曲線
acA2440-75um Brightness and Contrast 此功能不支援
acA2440-75umMED 線性
S型曲線
acA2500-14gc Brightness and Contrast 此功能不支援
acA2500-14gm Brightness and Contrast 此功能不支援
acA2500-14uc Brightness and Contrast 此功能不支援
acA2500-14um Brightness and Contrast 此功能不支援
acA2500-20gc Brightness and Contrast 此功能不支援
acA2500-20gcMED 線性
S型曲線
acA2500-20gm Brightness and Contrast 此功能不支援
acA2500-20gmMED 線性
S型曲線
acA2500-60uc Brightness and Contrast 此功能不支援
acA2500-60um Brightness and Contrast 此功能不支援
acA3088-16gc Brightness and Contrast 此功能不支援
acA3088-16gm Brightness and Contrast 此功能不支援
acA3088-57uc Brightness and Contrast 此功能不支援
acA3088-57ucMED 線性
S型曲線
acA3088-57um Brightness and Contrast 此功能不支援
acA3088-57umMED 線性
S型曲線
acA3800-10gc Brightness and Contrast 此功能不支援
acA3800-10gm Brightness and Contrast 此功能不支援
acA3800-14uc Brightness and Contrast 此功能不支援
acA3800-14um Brightness and Contrast 此功能不支援
acA4024-8gc Brightness and Contrast 此功能不支援
acA4024-8gm Brightness and Contrast 此功能不支援
acA4024-29uc Brightness and Contrast 此功能不支援
acA4024-29um Brightness and Contrast 此功能不支援
acA4096-11gc Brightness and Contrast 此功能不支援
acA4096-11gm Brightness and Contrast 此功能不支援
acA4096-30uc Brightness and Contrast 此功能不支援
acA4096-30ucMED 線性
S型曲線
acA4096-30um Brightness and Contrast 此功能不支援
acA4096-30umMED 線性
S型曲線
acA4096-40uc Brightness and Contrast 此功能不支援
acA4096-40ucMED 線性
S型曲線
acA4096-40um Brightness and Contrast 此功能不支援
acA4096-40umMED 線性
S型曲線
acA4112-8gc Brightness and Contrast 此功能不支援
acA4112-8gm Brightness and Contrast 此功能不支援
acA4112-20uc Brightness and Contrast 此功能不支援
acA4112-20ucMED 線性
S型曲線
acA4112-20um Brightness and Contrast 此功能不支援
acA4112-20umMED 線性
S型曲線
acA4112-30uc Brightness and Contrast 此功能不支援
acA4112-30ucMED 線性
S型曲線
acA4112-30um Brightness and Contrast 此功能不支援
acA4112-30umMED 線性
S型曲線
acA5472-5gc Brightness and Contrast 此功能不支援
acA5472-5gm Brightness and Contrast 此功能不支援
acA5472-17uc Brightness and Contrast 此功能不支援
acA5472-17ucMED 線性
S型曲線
acA5472-17um Brightness and Contrast 此功能不支援
acA5472-17umMED 線性
S型曲線
boA1936-400cc 線性
S型曲線
boA1936-400cm 線性
S型曲線
boA2448-250cc 線性
S型曲線
boA2448-250cm 線性
S型曲線
boA2832-190cc 線性
S型曲線
boA2832-190cm 線性
S型曲線
boA4096-93cc 線性
S型曲線
boA4096-93cm 線性
S型曲線
boA4096-180cc 線性
S型曲線
boA4096-180cm 線性
S型曲線
boA4112-68cc 線性
S型曲線
boA4112-68cm 線性
S型曲線
boA4500-45cc 線性
S型曲線
boA4500-45cm 線性
S型曲線
boA4504-100cc 線性
S型曲線
boA4504-100cm 線性
S型曲線
boA5056-95cm 線性
S型曲線
boA5120-150cc Brightness and Contrast 此功能不支援
boA5120-150cm Brightness and Contrast 此功能不支援
boA5120-230cc Brightness and Contrast 此功能不支援
boA5120-230cm Brightness and Contrast 此功能不支援
boA5320-150cc 線性
S型曲線
boA5320-150cm 線性
S型曲線
boA5328-100cc 線性
S型曲線
boA5328-100cm 線性
S型曲線
boA6500-36cc 線性
S型曲線
boA6500-36cm 線性
S型曲線
boA8100-16cc 線性
S型曲線
boA8100-16cm 線性
S型曲線
boA9344-30cc Brightness and Contrast 此功能不支援
boA9344-30cm Brightness and Contrast 此功能不支援
boA9344-70cc Brightness and Contrast 此功能不支援
boA9344-70cm Brightness and Contrast 此功能不支援
boA13440-17cm Brightness and Contrast 此功能不支援
daA720-520uc 線性
S型曲線
daA720-520um 線性
S型曲線
daA1280-54uc 線性
S型曲線
daA1280-54um 線性
S型曲線
daA1440-220uc 線性
S型曲線
daA1440-220um 線性
S型曲線
daA1600-60uc 線性
S型曲線
daA1600-60um 線性
S型曲線
daA1920-15um 線性
S型曲線
daA1920-30uc 線性
S型曲線
daA1920-30um 線性
S型曲線
daA1920-160uc 線性
S型曲線
daA1920-160um 線性
S型曲線
daA2448-70uc 線性
S型曲線
daA2448-70um 線性
S型曲線
daA2500-14uc 線性
S型曲線
daA2500-14um 線性
S型曲線
daA3840-45uc 線性
S型曲線
daA3840-45um 線性
S型曲線
dmA720-290gc 線性
S型曲線
dmA720-290gm 線性
S型曲線
dmA1440-73gc 線性
S型曲線
dmA1440-73gm 線性
S型曲線
dmA1920-51gc 線性
S型曲線
dmA1920-51gm 線性
S型曲線
dmA2048-37gc 線性
S型曲線
dmA2048-37gm 線性
S型曲線
dmA2448-23gc 線性
S型曲線
dmA2448-23gm 線性
S型曲線
dmA2840-14gc 線性
S型曲線
dmA2840-14gm 線性
S型曲線
dmA3536-9gc 線性
S型曲線
dmA3536-9gm 線性
S型曲線
dmA4096-9gc 線性
S型曲線
dmA4096-9gm 線性
S型曲線
puA1280-54uc 線性
S型曲線
puA1280-54um 線性
S型曲線
puA1600-60uc 線性
S型曲線
puA1600-60um 線性
S型曲線
puA1920-30uc 線性
S型曲線
puA1920-30um 線性
S型曲線
puA2500-14uc 線性
S型曲線
puA2500-14um 線性
S型曲線
r2L2048-29gc 線性
S型曲線
r2L2048-58gm 線性
S型曲線
r2L2048-62cc 線性
S型曲線
r2L2048-62g5c 線性
S型曲線
r2L2048-172cm 線性
S型曲線
r2L2048-172g5m 線性
S型曲線
r2L4096-14gc 線性
S型曲線
r2L4096-29gm 線性
S型曲線
r2L4096-42cc 線性
S型曲線
r2L4096-42g5c 線性
S型曲線
r2L4096-84cm 線性
S型曲線
r2L4096-84g5m 線性
S型曲線
r2L8192-80cc 線性
S型曲線
r2L8192-240cm 線性
S型曲線
r2L16384-60cc 線性
S型曲線
r2L16384-120cm 線性
S型曲線
r2T16416-500cm 線性
S型曲線

範例程式碼#

// Set the Brightness parameter to 0.5
camera.BslBrightness.SetValue(0.5);
// Set the contrast mode to Linear
camera.BslContrastMode.SetValue(BslContrastMode_Linear);
// Set the Contrast parameter to 1.2
camera.BslContrast.SetValue(1.2);
INodeMap& nodemap = camera.GetNodeMap();
// Set the Brightness parameter to 0.5
CFloatParameter(nodemap, "BslBrightness").SetValue(0.5);
// Set the contrast mode to Linear
CEnumParameter(nodemap, "BslContrastMode").SetValue("Linear");
// Set the Contrast parameter to 1.2
CFloatParameter(nodemap, "BslContrast").SetValue(1.2);
// Set the Brightness parameter to 0.5
camera.Parameters[PLCamera.BslBrightness].SetValue(0.5);
// Set the contrast mode to Linear
camera.Parameters[PLCamera.BslContrastMode].SetValue(PLCamera.BslContrastMode.Linear);
// Set the Contrast parameter to 1.2
camera.Parameters[PLCamera.BslContrast].SetValue(1.2);
/* 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 Brightness parameter to 0.5 */
errRes = PylonDeviceSetFloatFeature(hdev, "BslBrightness", 0.5);
CHECK(errRes);
/* Set the contrast mode to Linear */
errRes = PylonDeviceFeatureFromString(hdev, "BslContrastMode", "Linear");
CHECK(errRes);
/* Set the Contrast parameter to 1.2 */
errRes = PylonDeviceSetFloatFeature(hdev, "BslContrast", 1.2);
CHECK(errRes);
# Set the Brightness parameter to 0.5
camera.BslBrightness.Value = 0.5
# Set the contrast mode to Linear
camera.BslContrastMode.Value = "Linear"
# Set the Contrast parameter to 1.2
camera.BslContrast.Value = 1.2

您也可以 use the pylon Viewer 來輕鬆設定參數。