元編程參考文件

16 位灰度影像

45 個節點

本頁內容 45

最大值

函數

此節點沒有文件說明。

簽名
最大值() -> 小正整數
ushort MaxValue()

返回

結果小正整數
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
16 位灰度影像
所屬包
影像處理

最小值

函數

此節點沒有文件說明。

簽名
最小值() -> 小正整數
ushort MinValue()

返回

結果小正整數
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
16 位灰度影像
所屬包
影像處理

16 位灰度影像

函數

此節點沒有文件說明。

過載 1/6

簽名
16 位灰度影像() -> Grayscale16BitImage
Grayscale16BitImage Grayscale16BitImage()

返回

16 位灰度影像Grayscale16BitImage

過載 2/6

簽名
16 位灰度影像(寬度: 整數, 高度: 整數) -> Grayscale16BitImage
Grayscale16BitImage Grayscale16BitImage(int width, int height)

參數

名稱型別預設值說明
寬度整數—
高度整數—

返回

16 位灰度影像Grayscale16BitImage

過載 3/6

簽名
16 位灰度影像 -> Grayscale16BitImage
    寬度: 整數
    高度: 整數
    值: 小正整數
Grayscale16BitImage Grayscale16BitImage(
    int width,
    int height,
    ushort value)

參數

名稱型別預設值說明
寬度整數—
高度整數—
值小正整數—

返回

16 位灰度影像Grayscale16BitImage

過載 4/6

簽名
16 位灰度影像(資料: 小正整數陣列陣列) -> Grayscale16BitImage
Grayscale16BitImage Grayscale16BitImage(ushort[][] data)

參數

名稱型別預設值說明
資料小正整數陣列陣列—

返回

16 位灰度影像Grayscale16BitImage

過載 5/6

簽名
16 位灰度影像 -> Grayscale16BitImage
    寬度: 整數
    高度: 整數
    平面值: 小正整數陣列
Grayscale16BitImage Grayscale16BitImage(
    int width,
    int height,
    ushort[] flat)

參數

名稱型別預設值說明
寬度整數—
高度整數—
平面值小正整數陣列—

返回

16 位灰度影像Grayscale16BitImage

過載 6/6

簽名
16 位灰度影像(影像: Pixel Image) -> Grayscale16BitImage
Grayscale16BitImage Grayscale16BitImage(PixelImage image)

參數

名稱型別預設值說明
影像Pixel Image—

返回

16 位灰度影像Grayscale16BitImage
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
16 位灰度影像
所屬包
影像處理

複製影像

函數

此節點沒有文件說明。

簽名
複製影像(Grayscale16BitImage: Grayscale16BitImage) -> Grayscale16BitImage
Grayscale16BitImage Clone(Grayscale16BitImage Grayscale16BitImage)

參數

名稱型別預設值說明
Grayscale16BitImageGrayscale16BitImage—

返回

結果Grayscale16BitImage
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
事件 例程 狀態機狀態
宣告於
16 位灰度影像
所屬包
影像處理

取得列數

函數

此節點沒有文件說明。

簽名
取得列數(Grayscale16BitImage: Grayscale16BitImage) -> 整數
int Columns(Grayscale16BitImage Grayscale16BitImage)

參數

名稱型別預設值說明
Grayscale16BitImageGrayscale16BitImage—

返回

結果整數
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
16 位灰度影像
所屬包
影像處理

取得資料

函數

此節點沒有文件說明。

簽名
取得資料(Grayscale16BitImage: Grayscale16BitImage) -> 小正整數陣列陣列
ushort[][] Data(Grayscale16BitImage Grayscale16BitImage)

參數

名稱型別預設值說明
Grayscale16BitImageGrayscale16BitImage—

返回

結果小正整數陣列陣列
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
16 位灰度影像
所屬包
影像處理

設定像素值

函數

此節點沒有文件說明。

過載 1/2

簽名
設定像素值 -> 小正整數
    Grayscale16BitImage: Grayscale16BitImage
    索引: 整數
ushort Item(Grayscale16BitImage Grayscale16BitImage, int index)

參數

名稱型別預設值說明
Grayscale16BitImageGrayscale16BitImage—
索引整數—

返回

結果小正整數

過載 2/2

簽名
設定像素值 -> 小正整數
    Grayscale16BitImage: Grayscale16BitImage
    X: 整數
    Y: 整數
ushort Item(
    Grayscale16BitImage Grayscale16BitImage,
    int x,
    int y)

參數

名稱型別預設值說明
Grayscale16BitImageGrayscale16BitImage—
X整數—
Y整數—

返回

結果小正整數
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
16 位灰度影像
所屬包
影像處理

取得原始資料

函數

此節點沒有文件說明。

簽名
取得原始資料(Grayscale16BitImage: Grayscale16BitImage) -> 位元組陣列
byte[] Raw(Grayscale16BitImage Grayscale16BitImage)

參數

名稱型別預設值說明
Grayscale16BitImageGrayscale16BitImage—

返回

結果位元組陣列
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
16 位灰度影像
所屬包
影像處理

取得行數

函數

此節點沒有文件說明。

簽名
取得行數(Grayscale16BitImage: Grayscale16BitImage) -> 整數
int Rows(Grayscale16BitImage Grayscale16BitImage)

參數

名稱型別預設值說明
Grayscale16BitImageGrayscale16BitImage—

返回

結果整數
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
16 位灰度影像
所屬包
影像處理

取得顏色

函數

此節點沒有文件說明。

簽名
取得顏色 -> 顏色
    Grayscale16BitImage: Grayscale16BitImage
    X: 整數
    Y: 整數
ColorElement GetColor(
    Grayscale16BitImage Grayscale16BitImage,
    int x,
    int y)

參數

名稱型別預設值說明
Grayscale16BitImageGrayscale16BitImage—
X整數—
Y整數—

返回

結果顏色
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
事件 例程 狀態機狀態
宣告於
16 位灰度影像
所屬包
影像處理

取得浮點值

函數

此節點沒有文件說明。

簽名
取得浮點值 -> 低精度數字
    Grayscale16BitImage: Grayscale16BitImage
    X: 整數
    Y: 整數
float GetFloatValue(
    Grayscale16BitImage Grayscale16BitImage,
    int x,
    int y)

參數

名稱型別預設值說明
Grayscale16BitImageGrayscale16BitImage—
X整數—
Y整數—

返回

結果低精度數字
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
事件 例程 狀態機狀態
宣告於
16 位灰度影像
所屬包
影像處理

取得灰度位元組

函數

此節點沒有文件說明。

簽名
取得灰度位元組 -> 位元組
    Grayscale16BitImage: Grayscale16BitImage
    X: 整數
    Y: 整數
byte GetGrayByte(
    Grayscale16BitImage Grayscale16BitImage,
    int x,
    int y)

參數

名稱型別預設值說明
Grayscale16BitImageGrayscale16BitImage—
X整數—
Y整數—

返回

結果位元組
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
事件 例程 狀態機狀態
宣告於
16 位灰度影像
所屬包
影像處理

取得歸一化值

函數

此節點沒有文件說明。

簽名
取得歸一化值 -> 低精度數字
    Grayscale16BitImage: Grayscale16BitImage
    X: 整數
    Y: 整數
float GetNormalized(
    Grayscale16BitImage Grayscale16BitImage,
    int x,
    int y)

參數

名稱型別預設值說明
Grayscale16BitImageGrayscale16BitImage—
X整數—
Y整數—

返回

結果低精度數字
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
事件 例程 狀態機狀態
宣告於
16 位灰度影像
所屬包
影像處理

取得 PNG 緩衝區

函數

此節點沒有文件說明。

簽名
取得 PNG 緩衝區(Grayscale16BitImage: Grayscale16BitImage) -> 位元組陣列
byte[] GetPngBuffer(Grayscale16BitImage Grayscale16BitImage)

參數

名稱型別預設值說明
Grayscale16BitImageGrayscale16BitImage—

返回

結果位元組陣列
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
事件 例程 狀態機狀態
宣告於
16 位灰度影像
所屬包
影像處理

取得值

函數

此節點沒有文件說明。

簽名
取得值 -> 小正整數
    Grayscale16BitImage: Grayscale16BitImage
    X: 整數
    Y: 整數
ushort GetValue(
    Grayscale16BitImage Grayscale16BitImage,
    int x,
    int y)

參數

名稱型別預設值說明
Grayscale16BitImageGrayscale16BitImage—
X整數—
Y整數—

返回

結果小正整數
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
事件 例程 狀態機狀態
宣告於
16 位灰度影像
所屬包
影像處理

從位元組初始化

函數

此節點沒有文件說明。

簽名
從位元組初始化
    Grayscale16BitImage: Grayscale16BitImage
    資料: 位元組陣列
void InitializeFromBytes(
    Grayscale16BitImage Grayscale16BitImage,
    byte[] data)

參數

名稱型別預設值說明
Grayscale16BitImageGrayscale16BitImage—
資料位元組陣列—
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
事件 例程 狀態機狀態
宣告於
16 位灰度影像
所屬包
影像處理

從文字載入

函數

此節點沒有文件說明。

簽名
從文字載入(Grayscale16BitImage: Grayscale16BitImage, 文字: 文字)
void LoadFromText(
    Grayscale16BitImage Grayscale16BitImage,
    string text)

參數

名稱型別預設值說明
Grayscale16BitImageGrayscale16BitImage—
文字文字—
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
事件 例程 狀態機狀態
宣告於
16 位灰度影像
所屬包
影像處理

從流讀取

函數

此節點沒有文件說明。

簽名
從流讀取 -> 大整數
    Grayscale16BitImage: Grayscale16BitImage
    讀取器: BinaryReader
long ReadFromStream(
    Grayscale16BitImage Grayscale16BitImage,
    BinaryReader reader)

參數

名稱型別預設值說明
Grayscale16BitImageGrayscale16BitImage—
讀取器BinaryReader—

返回

結果大整數
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
事件 例程 狀態機狀態
宣告於
16 位灰度影像
所屬包
影像處理

儲存

函數

此節點沒有文件說明。

簽名
儲存(Grayscale16BitImage: Grayscale16BitImage, 路徑: 文字)
void Save(Grayscale16BitImage Grayscale16BitImage, string path)

參數

名稱型別預設值說明
Grayscale16BitImageGrayscale16BitImage—
路徑文字—
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
事件 例程 狀態機狀態
宣告於
16 位灰度影像
所屬包
影像處理

儲存為文字

函數

此節點沒有文件說明。

簽名
儲存為文字(Grayscale16BitImage: Grayscale16BitImage) -> 文字
string SaveAsText(Grayscale16BitImage Grayscale16BitImage)

參數

名稱型別預設值說明
Grayscale16BitImageGrayscale16BitImage—

返回

結果文字
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
事件 例程 狀態機狀態
宣告於
16 位灰度影像
所屬包
影像處理

儲存為 PNG

函數

此節點沒有文件說明。

簽名
儲存為 PNG(Grayscale16BitImage: Grayscale16BitImage, 路徑: 文字)
void SavePng(
    Grayscale16BitImage Grayscale16BitImage,
    string path)

參數

名稱型別預設值說明
Grayscale16BitImageGrayscale16BitImage—
路徑文字—
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
事件 例程 狀態機狀態
宣告於
16 位灰度影像
所屬包
影像處理

序列化為位元組

函數

此節點沒有文件說明。

簽名
序列化為位元組(Grayscale16BitImage: Grayscale16BitImage) -> 位元組陣列
byte[] SerializeIntoBytes(Grayscale16BitImage Grayscale16BitImage)

參數

名稱型別預設值說明
Grayscale16BitImageGrayscale16BitImage—

返回

結果位元組陣列
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
事件 例程 狀態機狀態
宣告於
16 位灰度影像
所屬包
影像處理

設定像素值

函數

此節點沒有文件說明。

過載 1/2

簽名
設定像素值
    Grayscale16BitImage: Grayscale16BitImage
    索引: 整數
    值: 小正整數
void Item(
    Grayscale16BitImage Grayscale16BitImage,
    int index,
    ushort value)

參數

名稱型別預設值說明
Grayscale16BitImageGrayscale16BitImage—
索引整數—
值小正整數—

過載 2/2

簽名
設定像素值
    Grayscale16BitImage: Grayscale16BitImage
    X: 整數
    Y: 整數
    值: 小正整數
void Item(
    Grayscale16BitImage Grayscale16BitImage,
    int x,
    int y,
    ushort value)

參數

名稱型別預設值說明
Grayscale16BitImageGrayscale16BitImage—
X整數—
Y整數—
值小正整數—
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
事件 例程 狀態機狀態
宣告於
16 位灰度影像
所屬包
影像處理

設定歸一化值

函數

此節點沒有文件說明。

簽名
設定歸一化值
    Grayscale16BitImage: Grayscale16BitImage
    X: 整數
    Y: 整數
    值: 低精度數字
void SetNormalized(
    Grayscale16BitImage Grayscale16BitImage,
    int x,
    int y,
    float value)

參數

名稱型別預設值說明
Grayscale16BitImageGrayscale16BitImage—
X整數—
Y整數—
值低精度數字—
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
事件 例程 狀態機狀態
宣告於
16 位灰度影像
所屬包
影像處理

設定值

函數

此節點沒有文件說明。

簽名
設定值
    Grayscale16BitImage: Grayscale16BitImage
    X: 整數
    Y: 整數
    值: 小正整數
void SetValue(
    Grayscale16BitImage Grayscale16BitImage,
    int x,
    int y,
    ushort value)

參數

名稱型別預設值說明
Grayscale16BitImageGrayscale16BitImage—
X整數—
Y整數—
值小正整數—
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
事件 例程 狀態機狀態
宣告於
16 位灰度影像
所屬包
影像處理

轉為平鋪陣列

函數

此節點沒有文件說明。

簽名
轉為平鋪陣列(Grayscale16BitImage: Grayscale16BitImage) -> 小正整數陣列
ushort[] ToFlatArray(Grayscale16BitImage Grayscale16BitImage)

參數

名稱型別預設值說明
Grayscale16BitImageGrayscale16BitImage—

返回

結果小正整數陣列
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
事件 例程 狀態機狀態
宣告於
16 位灰度影像
所屬包
影像處理

轉為像素影像

函數

此節點沒有文件說明。

過載 1/2

簽名
轉為像素影像(Grayscale16BitImage: Grayscale16BitImage) -> Pixel Image
PixelImage ToPixelImage(Grayscale16BitImage Grayscale16BitImage)

參數

名稱型別預設值說明
Grayscale16BitImageGrayscale16BitImage—

返回

結果Pixel Image

過載 2/2

簽名
轉為像素影像 -> Pixel Image
    Grayscale16BitImage: Grayscale16BitImage
    透明背景: 真否
PixelImage ToPixelImage(
    Grayscale16BitImage Grayscale16BitImage,
    bool transparent)

參數

名稱型別預設值說明
Grayscale16BitImageGrayscale16BitImage—
透明背景真否—

返回

結果Pixel Image
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
事件 例程 狀態機狀態
宣告於
16 位灰度影像
所屬包
影像處理

轉為緊湊小端 16 位位元組

函數

此節點沒有文件說明。

簽名
轉為緊湊小端 16 位位元組(Grayscale16BitImage: Grayscale16BitImage) -> 位元組陣列
byte[] ToTightlyPackedUInt16LittleEndianBytes(Grayscale16BitImage Grayscale16BitImage)

參數

名稱型別預設值說明
Grayscale16BitImageGrayscale16BitImage—

返回

結果位元組陣列
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
事件 例程 狀態機狀態
宣告於
16 位灰度影像
所屬包
影像處理

更新顏色資料

函數

此節點沒有文件說明。

簽名
更新顏色資料
    Grayscale16BitImage: Grayscale16BitImage
    更新函數: Func<顏色陣列陣列, 顏色陣列陣列>
void UpdateColorData(
    Grayscale16BitImage Grayscale16BitImage,
    Func<ColorElement[][], ColorElement[][]> updater)

參數

名稱型別預設值說明
Grayscale16BitImageGrayscale16BitImage—
更新函數Func<顏色陣列陣列, 顏色陣列陣列>—
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
事件 例程 狀態機狀態
宣告於
16 位灰度影像
所屬包
影像處理

更新資料

函數

此節點沒有文件說明。

簽名
更新資料
    Grayscale16BitImage: Grayscale16BitImage
    更新函數: Func<小正整數陣列陣列, 小正整數陣列陣列>
void UpdateData(
    Grayscale16BitImage Grayscale16BitImage,
    Func<ushort[][], ushort[][]> updater)

參數

名稱型別預設值說明
Grayscale16BitImageGrayscale16BitImage—
更新函數Func<小正整數陣列陣列, 小正整數陣列陣列>—
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
事件 例程 狀態機狀態
宣告於
16 位灰度影像
所屬包
影像處理

寫入流

函數

此節點沒有文件說明。

簽名
寫入流 -> 大整數
    Grayscale16BitImage: Grayscale16BitImage
    寫入器: BinaryWriter
long WriteToStream(
    Grayscale16BitImage Grayscale16BitImage,
    BinaryWriter writer)

參數

名稱型別預設值說明
Grayscale16BitImageGrayscale16BitImage—
寫入器BinaryWriter—

返回

結果大整數
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
事件 例程 狀態機狀態
宣告於
16 位灰度影像
所屬包
影像處理

分配

函數

此節點沒有文件說明。

簽名
分配(寬度: 整數, 高度: 整數, 值: 小正整數) -> 小正整數陣列陣列
ushort[][] Allocate(int width, int height, ushort value = 0)

參數

名稱型別預設值說明
寬度整數—
高度整數—
值小正整數0

返回

結果小正整數陣列陣列
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
16 位灰度影像
所屬包
影像處理

位元組轉 16 位值

函數

此節點沒有文件說明。

簽名
位元組轉 16 位值(值: 位元組) -> 小正整數
ushort ByteToUInt16(byte value)

參數

名稱型別預設值說明
值位元組—

返回

結果小正整數
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
16 位灰度影像
所屬包
影像處理

顏色轉 16 位灰度

函數

此節點沒有文件說明。

簽名
顏色轉 16 位灰度(顏色: 顏色) -> 小正整數
ushort ColorToGrayscale16(ColorElement color)

參數

名稱型別預設值說明
顏色顏色—

返回

結果小正整數
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
16 位灰度影像
所屬包
影像處理

從平鋪陣列生成

函數

此節點沒有文件說明。

簽名
從平鋪陣列生成 -> Grayscale16BitImage
    寬度: 整數
    高度: 整數
    平面值: 小正整數陣列
Grayscale16BitImage FromFlatArray(
    int width,
    int height,
    ushort[] flat)

參數

名稱型別預設值說明
寬度整數—
高度整數—
平面值小正整數陣列—

返回

結果Grayscale16BitImage
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
16 位灰度影像
所屬包
影像處理

從像素影像生成

函數

此節點沒有文件說明。

簽名
從像素影像生成(影像: Pixel Image) -> Grayscale16BitImage
Grayscale16BitImage FromPixelImage(PixelImage image)

參數

名稱型別預設值說明
影像Pixel Image—

返回

結果Grayscale16BitImage
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
16 位灰度影像
所屬包
影像處理

從緊湊小端 16 位位元組生成

函數

此節點沒有文件說明。

簽名
從緊湊小端 16 位位元組生成 -> Grayscale16BitImage
    寬度: 整數
    高度: 整數
    原始位元組: 位元組陣列
Grayscale16BitImage FromTightlyPackedUInt16LittleEndianBytes(
    int width,
    int height,
    byte[] rawBytes)

參數

名稱型別預設值說明
寬度整數—
高度整數—
原始位元組位元組陣列—

返回

結果Grayscale16BitImage
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
16 位灰度影像
所屬包
影像處理

初始化黑色影像

函數

此節點沒有文件說明。

簽名
初始化黑色影像(寬度: 整數, 高度: 整數) -> Grayscale16BitImage
Grayscale16BitImage InitializeBlackImage(int width, int height)

參數

名稱型別預設值說明
寬度整數—
高度整數—

返回

結果Grayscale16BitImage
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
16 位灰度影像
所屬包
影像處理

初始化影像

函數

此節點沒有文件說明。

簽名
初始化影像 -> Grayscale16BitImage
    寬度: 整數
    高度: 整數
    值: 小正整數
Grayscale16BitImage InitializeImage(
    int width,
    int height,
    ushort value)

參數

名稱型別預設值說明
寬度整數—
高度整數—
值小正整數—

返回

結果Grayscale16BitImage
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
16 位灰度影像
所屬包
影像處理

初始化白色影像

函數

此節點沒有文件說明。

簽名
初始化白色影像(寬度: 整數, 高度: 整數) -> Grayscale16BitImage
Grayscale16BitImage InitializeWhiteImage(int width, int height)

參數

名稱型別預設值說明
寬度整數—
高度整數—

返回

結果Grayscale16BitImage
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
16 位灰度影像
所屬包
影像處理

從檔案載入

函數

此節點沒有文件說明。

簽名
從檔案載入(路徑: 文字) -> Grayscale16BitImage
Grayscale16BitImage LoadFromFile(string path)

參數

名稱型別預設值說明
路徑文字—

返回

結果Grayscale16BitImage
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
16 位灰度影像
所屬包
影像處理

載入 PNG

函數

此節點沒有文件說明。

過載 1/3

簽名
載入 PNG(路徑: 文字) -> Grayscale16BitImage
Grayscale16BitImage LoadPng(string path)

參數

名稱型別預設值說明
路徑文字—

返回

結果Grayscale16BitImage

過載 2/3

簽名
載入 PNG(檔案資料: 位元組陣列) -> Grayscale16BitImage
Grayscale16BitImage LoadPng(byte[] fileData)

參數

名稱型別預設值說明
檔案資料位元組陣列—

返回

結果Grayscale16BitImage

過載 3/3

簽名
載入 PNG(流式輸出: Stream, 源名稱: 文字) -> Grayscale16BitImage
Grayscale16BitImage LoadPng(Stream stream, string sourceName)

參數

名稱型別預設值說明
流式輸出Stream—
源名稱文字—

返回

結果Grayscale16BitImage
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
16 位灰度影像
所屬包
影像處理

歸一化值轉 16 位值

函數

此節點沒有文件說明。

簽名
歸一化值轉 16 位值(值: 低精度數字) -> 小正整數
ushort NormalizedToUInt16(float value)

參數

名稱型別預設值說明
值低精度數字—

返回

結果小正整數
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
16 位灰度影像
所屬包
影像處理

16 位值轉位元組

函數

此節點沒有文件說明。

簽名
16 位值轉位元組(值: 小正整數) -> 位元組
byte UInt16ToByte(ushort value)

參數

名稱型別預設值說明
值小正整數—

返回

結果位元組
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
16 位灰度影像
所屬包
影像處理

16 位值轉歸一化值

函數

此節點沒有文件說明。

簽名
16 位值轉歸一化值(值: 小正整數) -> 低精度數字
float UInt16ToNormalized(ushort value)

參數

名稱型別預設值說明
值小正整數—

返回

結果低精度數字
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
16 位灰度影像
所屬包
影像處理