Operator Library: Parameters
此運算子提供對所連接 link 屬性的讀取存取權限。link 屬性可作為唯讀的運算子 Property 使用。
此運算子的優點在於,Parameters library 的 reference 和 translate 運算子可以使用 link 參數將其納入公式中。例如,在某些公式中,您可能需要納入 link 的 Parallelism;透過使用此運算子,便能偵測到 Parallelism。如此一來,公式就能自動調整以適應當前的 link 配置。
關於 Library Parameters 的一般介紹,請參閱 Library Parameters。
| Protocol | |
|---|---|
| Type | 靜態寫入參數 |
| Default | VALT_IMAGE2D |
| Range | {VALT_IMAGE2D,VALT_LINE1D,VALT_PIXEL0D,VALT_SIGNAL} |
|
允許存取 link Property Protocol。可能的值為 VALT_IMAGE2D、VALT_LINE1D、VALT_PIXEL0D、VALT_SIGNAL。 |
|
| ColorFormat | |
|---|---|
| Type | 靜態寫入參數 |
| Default | VAF_GRAY |
| Range | {VAF_GRAY,VAF_COLOR,VAF_NONE,VAF_UNDEFINED} |
|
允許存取 link Property ColorFormat。可能的值為 VAF_GRAY、VAF_COLOR、VAF_NONE、VAF_UNDEFINED。 |
|
| ColorFlavor | |
|---|---|
| Type | 靜態寫入參數 |
| Default | FL_NONE |
| Range | {FL_NONE,FL_RGB,FL_HSI,FL_YUV,FL_LAB,FL_XYZ,FL_HSL,FL_HSV,FL_YCrCb} |
|
允許存取 link Property ColorFlavor。可能的值為 FL_NONE、FL_RGB、FL_HSI、FL_YUV、FL_LAB、FL_XYZ、FL_HSL、FL_HSV、FL_YCrCb。 |
|
| Arithmetic | |
|---|---|
| Type | 靜態寫入參數 |
| Default | UNSIGNED |
| Range | {SIGNED, UNSIGNED} |
|
允許存取 link Property Arithmetic。可能的值為 SIGNED 和 UNSIGNED。 |
|
| BitWidth | |
|---|---|
| Type | 靜態寫入參數 |
| Default | 1 |
| Range | |
|
允許存取 link Property BitWidth。 |
|
| Parallelism | |
|---|---|
| Type | 靜態寫入參數 |
| Default | 1 |
| Range | |
|
允許存取 link Property Parallelism。 |
|
| KernelRows | |
|---|---|
| Type | 靜態寫入參數 |
| Default | 1 |
| Range | |
|
允許存取 link Property KernelRows。 |
|
| KernelColumns | |
|---|---|
| Type | 靜態寫入參數 |
| Default | 1 |
| Range | |
|
允許存取 link Property KernelColumns。 |
|
| MaxImgWidth | |
|---|---|
| Type | 靜態寫入參數 |
| Default | 1024 |
| Range | |
|
允許存取 link Property MaxImgWidth。 |
|
| MaxImgHeight | |
|---|---|
| Type | 靜態寫入參數 |
| Default | 1024 |
| Range | |
|
允許存取 link Property MaxImgHeight。 |
|


上一頁

