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

Color Adjustment#

利用 Color Adjustment 相機功能,您可以調整影像中個別顏色的色相 (Hue) 與飽和度 (Saturation)。

您可以針對 RGB 色彩空間中的每個原色與輔助色(紅、綠、藍、黃、青、洋紅)分別調整色相與飽和度。

如果您想在單一步驟中調整所有顏色的外觀,請使用 Hue and Saturation 功能(若適用)。

使用此功能#

為什麼要使用 Color Adjustment#

  • 調整 色相 (hue) 會改變影像的顏色。這有助於修正輕微且不希望出現的色偏,或是建立假色影像。
  • 調整 飽和度 (saturation) 會改變顏色的鮮豔度(強度)。提高飽和度有助於更容易區分顏色。

設定 Color Adjustment 參數#

  1. 將 ProcessedRawEnable 參數設為 true ((如果可用 若您使用的是 Bayer 像素格式)。
  2. 將 ColorAdjustmentEnable 參數設為 true ((如果可用)。
  3. 將 ColorAdjustmentSelector 參數設為所需的顏色,例如: Red.
  4. 輸入 ColorAdjustmentHue 參數。當參數設為 0 時,色相不會改變。
  5. 輸入 ColorAdjustmentSaturation 參數。當參數設為 1 時,飽和度不會改變。

運作原理#

Color Adjustment 功能的參數是指 RGB 色彩立方體 (Color Cube)。

為了便於視覺化,可以將色彩立方體投影到平面上,形成一個色彩六邊形:

投影到平面上的 RGB 色彩立方體

原色(紅、綠、藍)與輔助色(黃、青、洋紅)位於此色彩六邊形的角落。

您可以調整其中每個顏色的色相與飽和度。這會影響影像中調整後顏色佔優勢的所有區域。例如,調整紅色會影響影像中主要帶有紅色成分的顏色。

下圖顯示了改變紅色色相與飽和度如何影響您的影像顏色:

色彩六邊形中的色相與飽和度調整。以紅色為例說明調整方式

會產生以下明顯效果:

如果值的範圍 ColorAdjustmentHue 參數為 -4.0 到 3.96875:

  • 降低色相會將所有紅色(即主要帶有紅色成分的顏色)變為黃色。
  • 提高色相會將所有紅色變為洋紅色。

如果值的範圍 ColorAdjustmentHue 參數為 -1.0 到 1.0:

  • 提高色相會將所有紅色(即主要帶有紅色成分的顏色)變為黃色。
  • 降低色相會將所有紅色變為洋紅色。

降低飽和度會降低所有紅色的鮮豔度。在最小值時,所有紅色都會被灰色取代。

提高飽和度會增加所有紅色的鮮豔度。在最大值時,所有紅色都會被 100% 的紅色取代。

資訊

當您進行 Color Adjustment 時,色相六邊形中的相鄰顏色也會受到一定程度的影響。例如,當您調整紅色時,黃色和洋紅色也會受到影響。

其他參數#

根據您的 相機型號,可使用以下其他參數:

  • ColorAdjustmentEnable:啟用或停用 Color Adjustment 功能。
  • ColorAdjustmentReset command:允許您將 Color Adjustment 參數重設為其初始值。如果您的調整沒有達到預期效果,並且想要快速恢復到原始設定,這將特別有用。
  • ColorAdjustmentHueRaw:允許您輸入色相參數的整數值,範圍從 -128 到 127。此整數範圍會線性對應至浮點數範圍,其中 -128 相等於 -4.0,32 相等於 1.0,而 127 相等於 3.96875。
  • ColorAdjustmentSaturationRaw:允許您輸入飽和度參數的整數值,範圍從 0 到 255。此整數範圍會線性對應至浮點數範圍,其中 0 相等於 0.0,128 相等於 1.0,而 255 相等於 1.99219。

詳細資料#

顯示所有相機型號

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

範例程式碼#

ace Classic/U/L GigE 相機#
// Enable the Color Adjustment feature
camera.ColorAdjustmentEnable.SetValue(true);
// Select red as the color to adjust
camera.ColorAdjustmentSelector.SetValue(ColorAdjustmentSelector_Red);
// Enter a floating point value for the red hue
camera.ColorAdjustmentHue.SetValue(-1.125);
// Enter a floating point value for the red saturation
camera.ColorAdjustmentSaturation.SetValue(1.375);
// Select cyan as the color to adjust
camera.ColorAdjustmentSelector.SetValue(ColorAdjustmentSelector_Cyan);
// Enter an integer value for the cyan hue
camera.ColorAdjustmentHueRaw.SetValue(-36);
// Enter an integer value for the cyan saturation
camera.ColorAdjustmentSaturationRaw.SetValue(176);
INodeMap& nodemap = camera.GetNodeMap();
// Enable the Color Adjustment feature
CBooleanParameter(nodemap, "ColorAdjustmentEnable").SetValue(true);
// Select red as the color to adjust
CEnumParameter(nodemap, "ColorAdjustmentSelector").SetValue("Red");
// Enter a floating point value for the red hue
CFloatParameter(nodemap, "ColorAdjustmentHue").SetValue(-1.125);
// Enter a floating point value for the red saturation
CFloatParameter(nodemap, "ColorAdjustmentSaturation").SetValue(1.375);
// Select cyan as the color to adjust
CEnumParameter(nodemap, "ColorAdjustmentSelector").SetValue("Cyan");
// Enter an integer value for the cyan hue
CIntegerParameter(nodemap, "ColorAdjustmentHueRaw").SetValue(-36);
// Enter an integer value for the cyan saturation
CIntegerParameter(nodemap, "ColorAdjustmentSaturationRaw").SetValue(176);
// Enable the Color Adjustment feature
camera.Parameters[PLCamera.ColorAdjustmentEnable].SetValue(true);
// Select red as the color to adjust
camera.Parameters[PLCamera.ColorAdjustmentSelector].SetValue(PLCamera.ColorAdjustmentSelector.Red);
// Enter a floating point value for the red hue
camera.Parameters[PLCamera.ColorAdjustmentHue].SetValue(-1.125);
// Enter a floating point value for the red saturation
camera.Parameters[PLCamera.ColorAdjustmentSaturation].SetValue(1.375);
// Select cyan as the color to adjust
camera.Parameters[PLCamera.ColorAdjustmentSelector].SetValue(PLCamera.ColorAdjustmentSelector.Cyan);
// Enter an integer value for the cyan hue
camera.Parameters[PLCamera.ColorAdjustmentHueRaw].SetValue(-36);
// Enter an integer value for the cyan saturation
camera.Parameters[PLCamera.ColorAdjustmentSaturationRaw].SetValue(176);
/* 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 */
/* Enable the Color Adjustment feature */
errRes = PylonDeviceSetBooleanFeature(hdev, "ColorAdjustmentEnable", 1);
CHECK(errRes);
/* Select red as the color to adjust */
errRes = PylonDeviceFeatureFromString(hdev, "ColorAdjustmentSelector", "Red");
CHECK(errRes);
/* Enter a floating point value for the red hue */
errRes = PylonDeviceSetFloatFeature(hdev, "ColorAdjustmentHue", -1.125);
CHECK(errRes);
/* Enter a floating point value for the red saturation */
errRes = PylonDeviceSetFloatFeature(hdev, "ColorAdjustmentSaturation", 1.375);
CHECK(errRes);
/* Select cyan as the color to adjust */
errRes = PylonDeviceFeatureFromString(hdev, "ColorAdjustmentSelector", "Cyan");
CHECK(errRes);
/* Enter an integer value for the cyan hue */
errRes = PylonDeviceSetIntegerFeature(hdev, "ColorAdjustmentHueRaw", -36);
CHECK(errRes);
/* Enter an integer value for the cyan saturation */
errRes = PylonDeviceSetIntegerFeature(hdev, "ColorAdjustmentSaturationRaw", 176);
CHECK(errRes);
# Enable the Color Adjustment feature
camera.ColorAdjustmentEnable.Value = True
# Select red as the color to adjust
camera.ColorAdjustmentSelector.Value = "Red"
# Enter a floating point value for the red hue
camera.ColorAdjustmentHue.Value = -1.125
# Enter a floating point value for the red saturation
camera.ColorAdjustmentSaturation.Value = 1.375
# Select cyan as the color to adjust
camera.ColorAdjustmentSelector.Value = "Cyan"
# Enter an integer value for the cyan hue
camera.ColorAdjustmentHueRaw.Value = -36
# Enter an integer value for the cyan saturation
camera.ColorAdjustmentSaturationRaw.Value = 176
ace 2、boost 和 dart R 相機#
// Select red as the color to adjust
camera.BslColorAdjustmentSelector.SetValue(ColorAdjustmentSelector_Red);
// Enter an integer value for the red hue
camera.BslColorAdjustmentHue.SetValue(-1.125);
// Enter an integer value for the red saturation
camera.BslColorAdjustmentSaturation.SetValue(1.375);
INodeMap& nodemap = camera.GetNodeMap();
// Select red as the color to adjust
CEnumParameter(nodemap, "BslColorAdjustmentSelector").SetValue("Red");
// Enter an integer value for the red hue
CFloatParameter(nodemap, "BslColorAdjustmentHue").SetValue(-1.125);
// Enter an integer value for the red saturation
CFloatParameter(nodemap, "BslColorAdjustmentSaturation").SetValue(1.375);
// Select red as the color to adjust
camera.Parameters[PLCamera.BslColorAdjustmentSelector].SetValue(PLCamera.ColorAdjustmentSelector.Red);
// Enter an integer value for the red hue
camera.Parameters[PLCamera.BslColorAdjustmentHue].SetValue(-1.125);
// Enter an integer value for the red saturation
camera.Parameters[PLCamera.BslColorAdjustmentSaturation].SetValue(1.375);
/* 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 */
/* Select red as the color to adjust */
errRes = PylonDeviceFeatureFromString(hdev, "BslColorAdjustmentSelector", "Red");
CHECK(errRes);
/* Enter an integer value for the red hue */
errRes = PylonDeviceSetFloatFeature(hdev, "BslColorAdjustmentHue", -1.125);
CHECK(errRes);
/* Enter an integer value for the red saturation */
errRes = PylonDeviceSetFloatFeature(hdev, "BslColorAdjustmentSaturation", 1.375);
CHECK(errRes);
# Select red as the color to adjust
camera.BslColorAdjustmentSelector.Value = "Red"
# Enter an integer value for the red hue
camera.BslColorAdjustmentHue.Value = -1.125
# Enter an integer value for the red saturation
camera.BslColorAdjustmentSaturation.Value = 1.375
其他相機#
// Select red as the color to adjust
camera.ColorAdjustmentSelector.SetValue(ColorAdjustmentSelector_Red);
// Enter an integer value for the red hue
camera.ColorAdjustmentHue.SetValue(-1.125);
// Enter an integer value for the red saturation
camera.ColorAdjustmentSaturation.SetValue(1.375);
INodeMap& nodemap = camera.GetNodeMap();
// Select red as the color to adjust
CEnumParameter(nodemap, "ColorAdjustmentSelector").SetValue("Red");
// Enter an integer value for the red hue
CFloatParameter(nodemap, "ColorAdjustmentHue").SetValue(-1.125);
// Enter an integer value for the red saturation
CFloatParameter(nodemap, "ColorAdjustmentSaturation").SetValue(1.375);
// Select red as the color to adjust
camera.Parameters[PLCamera.ColorAdjustmentSelector].SetValue(PLCamera.ColorAdjustmentSelector.Red);
// Enter an integer value for the red hue
camera.Parameters[PLCamera.ColorAdjustmentHue].SetValue(-1.125);
// Enter an integer value for the red saturation
camera.Parameters[PLCamera.ColorAdjustmentSaturation].SetValue(1.375);
/* 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 */
/* Select red as the color to adjust */
errRes = PylonDeviceFeatureFromString(hdev, "ColorAdjustmentSelector", "Red");
CHECK(errRes);
/* Enter an integer value for the red hue */
errRes = PylonDeviceSetFloatFeature(hdev, "ColorAdjustmentHue", -1.125);
CHECK(errRes);
/* Enter an integer value for the red saturation */
errRes = PylonDeviceSetFloatFeature(hdev, "ColorAdjustmentSaturation", 1.375);
CHECK(errRes);
# Select red as the color to adjust
camera.ColorAdjustmentSelector.Value = "Red"
# Enter an integer value for the red hue
camera.ColorAdjustmentHue.Value = -1.125
# Enter an integer value for the red saturation
camera.ColorAdjustmentSaturation.Value = 1.375

您也可以使用 pylon Viewer 來輕鬆設定參數。