影像處理
44 個節點
本頁內容 44
調整亮度
函數Returns a new ImageProcessor with brightness adjusted.
調整亮度(影像: Pixel Image, 值: 低精度數字) -> Pixel Image
PixelImage AdjustBrightness(PixelImage image, float value)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 影像 | Pixel Image | — | |
| 值 | 低精度數字 | — | Brightness offset in [-255..255]. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像處理
- 所屬包
- 影像處理
調整對比度
函數Returns a new ImageProcessor with contrast adjusted.
調整對比度(影像: Pixel Image, 對比度: 低精度數字) -> Pixel Image
PixelImage AdjustContrast(PixelImage image, float contrast)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 影像 | Pixel Image | — | |
| 對比度 | 低精度數字 | — | Contrast factor where 1 is no change. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像處理
- 所屬包
- 影像處理
調整飽和度
函數Returns a new ImageProcessor with saturation adjusted.
調整飽和度(影像: Pixel Image, 飽和度: 低精度數字) -> Pixel Image
PixelImage AdjustSaturation(PixelImage image, float saturation)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 影像 | Pixel Image | — | |
| 飽和度 | 低精度數字 | — | Saturation factor where 1 is no change. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像處理
- 所屬包
- 影像處理
應用顏色漸層
函數此節點沒有文件說明。
應用顏色漸層 -> Pixel Image
灰度蒙版: Pixel Image
漸層色標: IReadOnlyList<Color Stop>PixelImage ApplyColorRamp(
PixelImage grayscaleMask,
IReadOnlyList<ColorStop> colorStops)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 灰度蒙版 | Pixel Image | — | |
| 漸層色標 | IReadOnlyList<Color Stop> | — |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像處理
- 所屬包
- 影像處理
應用紋理漸層
函數過載 1/4
應用紋理漸層 -> Pixel Image
位置影像: I Pixel Image Sampler
漸層: TextureRamp
紋理插值: PixelInterpolation
顏色插值: TextureRampColorInterpolationPixelImage ApplyTextureRamp(
IPixelImageSampler positionImage,
TextureRamp ramp,
PixelInterpolation textureInterpolation = PixelInterpolation.Bilinear,
TextureRampColorInterpolation colorInterpolation = TextureRampColorInterpolation.OpaqueRgb)Applies a texture ramp using the source preview value as the ramp position.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 位置影像 | I Pixel Image Sampler | — | |
| 漸層 | TextureRamp | — | |
| 紋理插值 | PixelInterpolation | 雙線性 | |
| 顏色插值 | TextureRampColorInterpolation | 不透明 RGB |
返回
| 結果 | Pixel Image |
備註
Each output pixel samples the ramp at positionImage.GetFloatValue(x, y).
Texture UV is derived from output pixel coordinates and wraps by default.
過載 2/4
應用紋理漸層 -> Pixel Image
位置影像: I Pixel Image Sampler
漸層: TextureRamp
U 向平鋪: 數字
V 向平鋪: 數字
U 向偏移: 數字
V 向偏移: 數字
紋理插值: PixelInterpolation
顏色插值: TextureRampColorInterpolationPixelImage ApplyTextureRamp(
IPixelImageSampler positionImage,
TextureRamp ramp,
double tileU,
double tileV,
double offsetU = 0,
double offsetV = 0,
PixelInterpolation textureInterpolation = PixelInterpolation.Bilinear,
TextureRampColorInterpolation colorInterpolation = TextureRampColorInterpolation.OpaqueRgb)Applies a texture ramp using tiled normalized UV coordinates.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 位置影像 | I Pixel Image Sampler | — | |
| 漸層 | TextureRamp | — | |
| U 向平鋪 | 數字 | — | |
| V 向平鋪 | 數字 | — | |
| U 向偏移 | 數字 | 0 | |
| V 向偏移 | 數字 | 0 | |
| 紋理插值 | PixelInterpolation | 雙線性 | |
| 顏色插值 | TextureRampColorInterpolation | 不透明 RGB |
返回
| 結果 | Pixel Image |
過載 3/4
應用紋理漸層 -> Pixel Image
位置影像: I Pixel Image Sampler
漸層: TextureRamp
混合函數: Blend Mode
強度: 低精度數字
紋理插值: PixelInterpolationPixelImage ApplyTextureRamp(
IPixelImageSampler positionImage,
TextureRamp ramp,
MixFunction mixFunction,
float strength = 1f,
PixelInterpolation textureInterpolation = PixelInterpolation.Bilinear)Applies a texture ramp using a blend mode between neighboring texture stops.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 位置影像 | I Pixel Image Sampler | — | |
| 漸層 | TextureRamp | — | |
| 混合函數 | Blend Mode | — | |
| 強度 | 低精度數字 | 1 | |
| 紋理插值 | PixelInterpolation | 雙線性 |
返回
| 結果 | Pixel Image |
過載 4/4
應用紋理漸層 -> Pixel Image
位置影像: I Pixel Image Sampler
漸層: TextureRamp
混合函數: Blend Mode
強度: 低精度數字
U 向平鋪: 數字
V 向平鋪: 數字
U 向偏移: 數字
V 向偏移: 數字
紋理插值: PixelInterpolationPixelImage ApplyTextureRamp(
IPixelImageSampler positionImage,
TextureRamp ramp,
MixFunction mixFunction,
float strength,
double tileU,
double tileV,
double offsetU = 0,
double offsetV = 0,
PixelInterpolation textureInterpolation = PixelInterpolation.Bilinear)Applies a texture ramp using a blend mode between neighboring texture stops, with tiled normalized UV coordinates.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 位置影像 | I Pixel Image Sampler | — | |
| 漸層 | TextureRamp | — | |
| 混合函數 | Blend Mode | — | |
| 強度 | 低精度數字 | — | |
| U 向平鋪 | 數字 | — | |
| V 向平鋪 | 數字 | — | |
| U 向偏移 | 數字 | 0 | |
| V 向偏移 | 數字 | 0 | |
| 紋理插值 | PixelInterpolation | 雙線性 |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像處理
- 所屬包
- 影像處理
按對映應用紋理漸層
函數過載 1/2
按對映應用紋理漸層 -> Pixel Image
歸一化位置影像: I Pixel Image Sampler
漸層: TextureRamp
起始位置: 數字
結束位置: 數字
紋理插值: PixelInterpolation
顏色插值: TextureRampColorInterpolationPixelImage ApplyTextureRampMapped(
IPixelImageSampler normalizedPositionImage,
TextureRamp ramp,
double positionStart,
double positionEnd,
PixelInterpolation textureInterpolation = PixelInterpolation.Bilinear,
TextureRampColorInterpolation colorInterpolation = TextureRampColorInterpolation.OpaqueRgb)Applies a texture ramp after remapping normalized source values into a scalar ramp domain.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 歸一化位置影像 | I Pixel Image Sampler | — | |
| 漸層 | TextureRamp | — | |
| 起始位置 | 數字 | — | |
| 結束位置 | 數字 | — | |
| 紋理插值 | PixelInterpolation | 雙線性 | |
| 顏色插值 | TextureRampColorInterpolation | 不透明 RGB |
返回
| 結果 | Pixel Image |
過載 2/2
按對映應用紋理漸層 -> Pixel Image
歸一化位置影像: I Pixel Image Sampler
漸層: TextureRamp
起始位置: 數字
結束位置: 數字
U 向平鋪: 數字
V 向平鋪: 數字
U 向偏移: 數字
V 向偏移: 數字
紋理插值: PixelInterpolation
顏色插值: TextureRampColorInterpolationPixelImage ApplyTextureRampMapped(
IPixelImageSampler normalizedPositionImage,
TextureRamp ramp,
double positionStart,
double positionEnd,
double tileU,
double tileV,
double offsetU = 0,
double offsetV = 0,
PixelInterpolation textureInterpolation = PixelInterpolation.Bilinear,
TextureRampColorInterpolation colorInterpolation = TextureRampColorInterpolation.OpaqueRgb)Applies a texture ramp after remapping normalized source values into a scalar ramp domain, with tiled normalized UV coordinates.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 歸一化位置影像 | I Pixel Image Sampler | — | |
| 漸層 | TextureRamp | — | |
| 起始位置 | 數字 | — | |
| 結束位置 | 數字 | — | |
| U 向平鋪 | 數字 | — | |
| V 向平鋪 | 數字 | — | |
| U 向偏移 | 數字 | 0 | |
| V 向偏移 | 數字 | 0 | |
| 紋理插值 | PixelInterpolation | 雙線性 | |
| 顏色插值 | TextureRampColorInterpolation | 不透明 RGB |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像處理
- 所屬包
- 影像處理
按區間應用紋理漸層
函數Applies a texture ramp by mapping normalized source values to the ramp's own domain.
按區間應用紋理漸層 -> Pixel Image
歸一化位置影像: I Pixel Image Sampler
漸層: TextureRamp
紋理插值: PixelInterpolation
顏色插值: TextureRampColorInterpolationPixelImage ApplyTextureRampToDomain(
IPixelImageSampler normalizedPositionImage,
TextureRamp ramp,
PixelInterpolation textureInterpolation = PixelInterpolation.Bilinear,
TextureRampColorInterpolation colorInterpolation = TextureRampColorInterpolation.OpaqueRgb)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 歸一化位置影像 | I Pixel Image Sampler | — | |
| 漸層 | TextureRamp | — | |
| 紋理插值 | PixelInterpolation | 雙線性 | |
| 顏色插值 | TextureRampColorInterpolation | 不透明 RGB |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像處理
- 所屬包
- 影像處理
混合紋理漸層
函數Blends a sampled texture ramp over a base image.
混合紋理漸層 -> Pixel Image
基礎影像: Pixel Image
位置影像: I Pixel Image Sampler
漸層: TextureRamp
混合函數: Blend Mode
強度倍數: 低精度數字
紋理插值: PixelInterpolationPixelImage BlendTextureRamp(
PixelImage baseImage,
IPixelImageSampler positionImage,
TextureRamp ramp,
MixFunction mixFunction,
float strengthMultiplier = 1f,
PixelInterpolation textureInterpolation = PixelInterpolation.Bilinear)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 基礎影像 | Pixel Image | — | |
| 位置影像 | I Pixel Image Sampler | — | |
| 漸層 | TextureRamp | — | |
| 混合函數 | Blend Mode | — | |
| 強度倍數 | 低精度數字 | 1 | |
| 紋理插值 | PixelInterpolation | 雙線性 |
返回
| 結果 | Pixel Image |
備註
Sampled texture alpha is used as an additional strength multiplier.
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像處理
- 所屬包
- 影像處理
模糊
函數過載 1/2
模糊 -> Pixel Image
源: Pixel Image
蒙版: I Pixel Image Sampler
強度: 低精度數字PixelImage Blur(
PixelImage source,
IPixelImageSampler mask,
float intensity)Applies a masked box blur to the image.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | Source image. |
| 蒙版 | I Pixel Image Sampler | — | Grayscale mask controlling blur strength per pixel. |
| 強度 | 低精度數字 | — | Maximum blur intensity. |
返回
| 結果 | Pixel Image |
過載 2/2
模糊(影像: Pixel Image, 半徑: 低精度數字) -> Pixel Image
PixelImage Blur(PixelImage image, float radius)
Returns a new ImageProcessor with a Gaussian blur applied.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 影像 | Pixel Image | — | |
| 半徑 | 低精度數字 | — | Blur radius. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像處理
- 所屬包
- 影像處理
方框模糊
函數Applies a (separable) box blur to the image using the specified radius.
方框模糊(源: Pixel Image, 半徑: 整數) -> Pixel Image
PixelImage BoxBlur(PixelImage source, int radius)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | Source image. |
| 半徑 | 整數 | — | Blur radius in pixels. Values <= 0 return a clone of the source. |
返回
| 結果 | Pixel Image |
備註
Each output pixel becomes the average of nearby pixels inside a rectangular “box” area.
In 2D blur, separable box blur is split into two 1D passes.
Notice a non-separable implementation acheives same result but is not going to be faster because the box kernel is separable.
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像處理
- 所屬包
- 影像處理
對比度
函數過載 1/2
對比度(源: Pixel Image, 強度: 低精度數字) -> Pixel Image
PixelImage Contrast(PixelImage source, float intensity)
Adjusts contrast of the image.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | Source image. |
| 強度 | 低精度數字 | — | Contrast intensity. |
返回
| 結果 | Pixel Image |
過載 2/2
對比度 -> Pixel Image
源: Pixel Image
蒙版: GrayscaleImage
強度: 低精度數字PixelImage Contrast(
PixelImage source,
GrayscaleImage mask,
float intensity)Adjusts contrast of the image using a mask.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | Source image. |
| 蒙版 | GrayscaleImage | — | Grayscale mask controlling blend strength. |
| 強度 | 低精度數字 | — | Contrast intensity. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像處理
- 所屬包
- 影像處理
立方體貼圖轉等距柱狀投影影像
函數此節點沒有文件說明。
立方體貼圖轉等距柱狀投影影像(立方體貼圖佈局: Pixel Image) -> Pixel Image
PixelImage ConvertCubeMapImageToEquirectangularImage(PixelImage cubeMapLayout)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 立方體貼圖佈局 | Pixel Image | — |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像處理
- 所屬包
- 影像處理
等距柱狀投影影像轉立方體貼圖
函數Converts equirectangular map to cubemap.
等距柱狀投影影像轉立方體貼圖 -> Pixel Image
等距柱狀投影影像: Pixel Image
面尺寸: 整數PixelImage ConvertEquirectangularImageToCubeMapImage(
PixelImage equirectangular,
int faceSize = 256)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 等距柱狀投影影像 | Pixel Image | — | |
| 面尺寸 | 整數 | 256 |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像處理
- 所屬包
- 影像處理
建立影像變換
函數Creates a tiled transform around the center of a tile.
建立影像變換 -> Image Transform
平移: Vector2
縮放: Vector2
旋轉角度(弧度): 低精度數字ImageTransform CreateImageTransform(
Vector2 translation,
Vector2 scale,
float rotationRadians)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 平移 | Vector2 | — | |
| 縮放 | Vector2 | — | |
| 旋轉角度(弧度) | 低精度數字 | — |
返回
| 結果 | Image Transform |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像處理
- 所屬包
- 影像處理
建立平鋪變換
函數Creates a tiled transform. Translation is in destination pixel space. Pivot is in UV/tile space.
建立平鋪變換 -> Image Transform
平移: Vector2
縮放: Vector2
旋轉角度(弧度): 低精度數字
樞軸點: Vector2ImageTransform CreateTileTransform(
Vector2 translation,
Vector2 scale,
float rotationRadians,
Vector2 pivot)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 平移 | Vector2 | — | |
| 縮放 | Vector2 | — | |
| 旋轉角度(弧度) | 低精度數字 | — | |
| 樞軸點 | Vector2 | — |
返回
| 結果 | Image Transform |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像處理
- 所屬包
- 影像處理
裁剪
函數Returns a new ImageProcessor containing a cropped region of the image.
裁剪 -> Pixel Image
影像: Pixel Image
X: 整數
Y: 整數
裁剪寬度: 整數
裁剪高度: 整數PixelImage Crop(
PixelImage image,
int x,
int y,
int cropWidth,
int cropHeight)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 影像 | Pixel Image | — | |
| X | 整數 | — | |
| Y | 整數 | — | |
| 裁剪寬度 | 整數 | — | |
| 裁剪高度 | 整數 | — |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像處理
- 所屬包
- 影像處理
從像素影像取得 Base64 文字
函數Convert byte array to Base64 string
從像素影像取得 Base64 文字(像素影像: Pixel Image) -> 文字
string GetBase64StringFromPixelImage(PixelImage pixelImage)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 像素影像 | Pixel Image | — |
返回
| 結果 | 文字 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像處理
- 所屬包
- 影像處理
HSL 調整
函數過載 1/2
HSL 調整 -> Pixel Image
源: Pixel Image
色相變化: 低精度數字
飽和度變化: 低精度數字
明度變化: 低精度數字PixelImage HSL(
PixelImage source,
float hueDelta,
float saturationDelta,
float lightnessDelta)Adjusts HSL components of the image.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | Source image. |
| 色相變化 | 低精度數字 | — | Hue adjustment. |
| 飽和度變化 | 低精度數字 | — | Saturation adjustment. |
| 明度變化 | 低精度數字 | — | Lightness adjustment. |
返回
| 結果 | Pixel Image |
過載 2/2
HSL 調整 -> Pixel Image
源: Pixel Image
色相變化: 低精度數字
飽和度變化: 低精度數字
明度變化: 低精度數字
蒙版: I Pixel Image SamplerPixelImage HSL(
PixelImage source,
float hueDelta,
float saturationDelta,
float lightnessDelta,
IPixelImageSampler mask)Adjusts HSL components of the image using a mask.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | Source image. |
| 色相變化 | 低精度數字 | — | Hue adjustment. |
| 飽和度變化 | 低精度數字 | — | Saturation adjustment. |
| 明度變化 | 低精度數字 | — | Lightness adjustment. |
| 蒙版 | I Pixel Image Sampler | — | Grayscale mask controlling blend strength. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像處理
- 所屬包
- 影像處理
HSV 調整
函數過載 1/2
HSV 調整 -> Pixel Image
源: Pixel Image
色相變化: 低精度數字
飽和度變化: 低精度數字
明度變化: 低精度數字PixelImage HSV(
PixelImage source,
float hueDelta,
float saturationDelta,
float valueDelta)Adjusts HSV components of the image.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | Source image. |
| 色相變化 | 低精度數字 | — | Hue adjustment. |
| 飽和度變化 | 低精度數字 | — | Saturation adjustment. |
| 明度變化 | 低精度數字 | — | Value (brightness) adjustment. |
返回
| 結果 | Pixel Image |
過載 2/2
HSV 調整 -> Pixel Image
源: Pixel Image
色相變化: 低精度數字
飽和度變化: 低精度數字
明度變化: 低精度數字
蒙版: I Pixel Image SamplerPixelImage HSV(
PixelImage source,
float hueDelta,
float saturationDelta,
float valueDelta,
IPixelImageSampler mask)Adjusts HSV components of the image using a mask.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | Source image. |
| 色相變化 | 低精度數字 | — | Hue adjustment. |
| 飽和度變化 | 低精度數字 | — | Saturation adjustment. |
| 明度變化 | 低精度數字 | — | Value (brightness) adjustment. |
| 蒙版 | I Pixel Image Sampler | — | Grayscale mask controlling blend strength. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像處理
- 所屬包
- 影像處理
色相偏移
函數Returns a new ImageProcessor with hue shifted by the specified degrees.
色相偏移(影像: Pixel Image, 角度: 低精度數字) -> Pixel Image
PixelImage HueShift(PixelImage image, float degrees)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 影像 | Pixel Image | — | |
| 角度 | 低精度數字 | — | Degrees to shift hue. Negative values shift backward. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像處理
- 所屬包
- 影像處理
影像紋理平鋪預覽
函數Creates a tiled preview image by repeatedly drawing the source image in a grid.
影像紋理平鋪預覽 -> Pixel Image
源: Pixel Image
X 向平鋪: 整數
Y 向平鋪: 整數
繪製紅色邊界: 真否PixelImage ImageTextureTilePreview(
PixelImage source,
int tileX,
int tileY,
bool drawRedBound = true)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | The source texture image to tile. |
| X 向平鋪 | 整數 | — | The number of horizontal tile repetitions. |
| Y 向平鋪 | 整數 | — | The number of vertical tile repetitions. |
| 繪製紅色邊界 | 真否 | True | If true, draws a red rectangle centered in the output image with the same size as the original source texture. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像處理
- 所屬包
- 影像處理
反相
函數Returns a new ImageProcessor where the colors are inverted.
反相(影像: Pixel Image) -> Pixel Image
PixelImage Invert(PixelImage image)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 影像 | Pixel Image | — |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像處理
- 所屬包
- 影像處理
混合
函數此節點沒有文件說明。
過載 1/2
混合 -> Pixel Image
混合函數: Blend Mode
源 1: I Pixel Image Sampler
源 2: I Pixel Image SamplerPixelImage Mix(
MixFunction functionEnum,
IPixelImageSampler source1,
IPixelImageSampler source2)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 混合函數 | Blend Mode | — | |
| 源 1 | I Pixel Image Sampler | — | |
| 源 2 | I Pixel Image Sampler | — |
返回
| 結果 | Pixel Image |
過載 2/2
混合 -> Pixel Image
混合函數: Blend Mode
源 1: I Pixel Image Sampler
源 2: I Pixel Image Sampler
強度: 低精度數字PixelImage Mix(
MixFunction functionEnum,
IPixelImageSampler source1,
IPixelImageSampler source2,
float strength)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 混合函數 | Blend Mode | — | |
| 源 1 | I Pixel Image Sampler | — | |
| 源 2 | I Pixel Image Sampler | — | |
| 強度 | 低精度數字 | — | Blend-mode intensity, 0 means “no source effect” and 1 means previous default behavior. For modes like Add and Subtract, value can be above 1 so the source can be amplified. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像處理
- 所屬包
- 影像處理
混合(帶蒙版)
函數此節點沒有文件說明。
過載 1/4
混合(帶蒙版) -> Pixel Image
方式: Blend Mode
基礎影像: Pixel Image
混合影像: Pixel Image
蒙版: I Pixel Image SamplerPixelImage Mix(
MixFunction mode,
PixelImage baseImage,
PixelImage blenderImage,
IPixelImageSampler mask)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 方式 | Blend Mode | — | |
| 基礎影像 | Pixel Image | — | |
| 混合影像 | Pixel Image | — | |
| 蒙版 | I Pixel Image Sampler | — |
返回
| 結果 | Pixel Image |
過載 2/4
混合(帶蒙版) -> Pixel Image
方式: Blend Mode
基礎影像: Pixel Image
混合影像: Pixel Image
不透明度蒙版: I Pixel Image Sampler
強度倍數: 低精度數字PixelImage Mix(
MixFunction mode,
PixelImage baseImage,
PixelImage blendImage,
IPixelImageSampler opacityMask,
float strengthMultiplier = 1f)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 方式 | Blend Mode | — | |
| 基礎影像 | Pixel Image | — | |
| 混合影像 | Pixel Image | — | |
| 不透明度蒙版 | I Pixel Image Sampler | — | opacity = 0 -> baseImage opacity = 1 -> blendImage applied over baseImage |
| 強度倍數 | 低精度數字 | 1 |
返回
| 結果 | Pixel Image |
備註
For most non-linear modes, strength behaves like opacity between the base and the full blend result. For Add and Subtract, it scales the blend image contribution.
過載 3/4
混合(帶蒙版) -> Pixel Image
方式: Blend Mode
基礎影像: Pixel Image
混合影像: Pixel Image
蒙版: Pixel ImagePixelImage Mix(
MixFunction mode,
PixelImage baseImage,
PixelImage blenderImage,
PixelImage mask)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 方式 | Blend Mode | — | |
| 基礎影像 | Pixel Image | — | |
| 混合影像 | Pixel Image | — | |
| 蒙版 | Pixel Image | — |
返回
| 結果 | Pixel Image |
過載 4/4
混合(帶蒙版) -> Pixel Image
方式: Blend Mode
基礎影像: Pixel Image
混合影像: Pixel Image
不透明度蒙版: Pixel Image
強度倍數: 低精度數字PixelImage Mix(
MixFunction mode,
PixelImage baseImage,
PixelImage blendImage,
PixelImage opacityMask,
float strengthMultiplier = 1f)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 方式 | Blend Mode | — | |
| 基礎影像 | Pixel Image | — | |
| 混合影像 | Pixel Image | — | |
| 不透明度蒙版 | Pixel Image | — | opacity = 0 -> baseImage opacity = 1 -> blendImage applied over baseImage |
| 強度倍數 | 低精度數字 | 1 |
返回
| 結果 | Pixel Image |
備註
For most non-linear modes, strength behaves like opacity between the base and the full blend result. For Add and Subtract, it scales the blend image contribution.
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像處理
- 所屬包
- 影像處理
取反
函數過載 1/3
取反(源: Pixel Image) -> Pixel Image
PixelImage Negate(PixelImage source)
Inverts RGB channels of the image.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | Source image. |
返回
| 結果 | Pixel Image |
過載 2/3
取反(蒙版: GrayscaleImage) -> GrayscaleImage
GrayscaleImage Negate(GrayscaleImage mask)
Inverts grayscale values.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 蒙版 | GrayscaleImage | — | Source grayscale image. |
返回
| 結果 | GrayscaleImage |
過載 3/3
取反(蒙版: Grayscale16BitImage) -> Grayscale16BitImage
Grayscale16BitImage Negate(Grayscale16BitImage mask)
Inverts grayscale values.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 蒙版 | Grayscale16BitImage | — | Source grayscale image. |
返回
| 結果 | Grayscale16BitImage |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像處理
- 所屬包
- 影像處理
偏移
函數此節點沒有文件說明。
過載 1/4
偏移(漸層: Color Ramp, 偏移: 數字) -> Color Ramp
ColorRamp Offset(ColorRamp ramp, double offset)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 漸層 | Color Ramp | — | |
| 偏移 | 數字 | — |
返回
| 結果 | Color Ramp |
過載 2/4
偏移(色標: IEnumerable<Color Stop>, 偏移: 數字) -> Color Ramp
ColorRamp Offset(IEnumerable<ColorStop> stops, double offset)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 色標 | IEnumerable<Color Stop> | — | |
| 偏移 | 數字 | — |
返回
| 結果 | Color Ramp |
過載 3/4
偏移(漸層: TextureRamp, 偏移: 數字) -> TextureRamp
TextureRamp Offset(TextureRamp ramp, double offset)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 漸層 | TextureRamp | — | |
| 偏移 | 數字 | — |
返回
| 結果 | TextureRamp |
過載 4/4
偏移(色標: IEnumerable<TextureStop>, 偏移: 數字) -> TextureRamp
TextureRamp Offset(
IEnumerable<TextureStop> stops,
double offset)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 色標 | IEnumerable<TextureStop> | — | |
| 偏移 | 數字 | — |
返回
| 結果 | TextureRamp |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像處理
- 所屬包
- 影像處理
填充邊距
函數過載 1/2
填充邊距 -> Pixel Image
源: Pixel Image
左側: 整數
頂部: 整數
右側: 整數
底部: 整數
背景處理方式: PixelImageOperations.PaddingBackgroundBehavior
背景顏色: 可選顏色PixelImage Padding(
PixelImage source,
int left,
int top,
int right,
int bottom,
PixelImageOperations.PaddingBackgroundBehavior backgroundBehavior = PaddingBackgroundBehavior.PureColor,
ColorElement? backgroundColor)Pads an image on all four sides.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | Source image. |
| 左側 | 整數 | — | Padding added to the left side. |
| 頂部 | 整數 | — | Padding added to the top side. |
| 右側 | 整數 | — | Padding added to the right side. |
| 底部 | 整數 | — | Padding added to the bottom side. |
| 背景處理方式 | PixelImageOperations.PaddingBackgroundBehavior | 純色 | Background fill behavior. |
| 背景顏色 | 可選顏色 | — | Background color used when Background Behavior is PaddingBackgroundBehavior.PureColor. |
返回
| 結果 | Pixel Image |
過載 2/2
填充邊距 -> Pixel Image
源: Pixel Image
左側: 整數
頂部: 整數
右側: 整數
底部: 整數
背景顏色: 顏色PixelImage Padding(
PixelImage source,
int left,
int top,
int right,
int bottom,
ColorElement backgroundColor)Pads an image on all four sides using a pure background color.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | |
| 左側 | 整數 | — | |
| 頂部 | 整數 | — | |
| 右側 | 整數 | — | |
| 底部 | 整數 | — | |
| 背景顏色 | 顏色 | — |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像處理
- 所屬包
- 影像處理
擴充填充邊距
函數Pads an image on all four sides by extending the nearest existing edge pixels.
擴充填充邊距 -> Pixel Image
源: Pixel Image
左側: 整數
頂部: 整數
右側: 整數
底部: 整數PixelImage PaddingExtend(
PixelImage source,
int left,
int top,
int right,
int bottom)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | |
| 左側 | 整數 | — | |
| 頂部 | 整數 | — | |
| 右側 | 整數 | — | |
| 底部 | 整數 | — |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像處理
- 所屬包
- 影像處理
移除透明通道
函數Removes transparency by setting all alpha values to 255.
移除透明通道(源: Pixel Image) -> Pixel Image
PixelImage RemoveAlpha(PixelImage source)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | Source image. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像處理
- 所屬包
- 影像處理
調整大小
函數Resizes a Image.PixelImage to the target dimensions.
調整大小 -> Pixel Image
源: Pixel Image
寬度: 整數
高度: 整數
插值方式: PixelInterpolationPixelImage Resize(
PixelImage source,
int width,
int height,
PixelInterpolation interpolation = PixelInterpolation.Bilinear)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | |
| 寬度 | 整數 | — | Target image width. |
| 高度 | 整數 | — | Target image height. |
| 插值方式 | PixelInterpolation | 雙線性 |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像處理
- 所屬包
- 影像處理
按取樣方式調整大小
函數Returns a new Image.PixelImage with the image resized to the specified width and height.
按取樣方式調整大小 -> Pixel Image
影像: Pixel Image
新寬度: 整數
新高度: 整數
取樣方式: SamplingModePixelImage ResizeSampled(
PixelImage image,
int newWidth,
int newHeight,
SamplingMode sampling = SamplingMode.Bicubic)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 影像 | Pixel Image | — | |
| 新寬度 | 整數 | — | |
| 新高度 | 整數 | — | |
| 取樣方式 | SamplingMode | 雙三次 |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像處理
- 所屬包
- 影像處理
翻轉
函數此節點沒有文件說明。
過載 1/4
翻轉(漸層: Color Ramp) -> Color Ramp
ColorRamp Reverse(ColorRamp ramp)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 漸層 | Color Ramp | — |
返回
| 結果 | Color Ramp |
過載 2/4
翻轉(色標: IEnumerable<Color Stop>) -> Color Ramp
ColorRamp Reverse(IEnumerable<ColorStop> stops)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 色標 | IEnumerable<Color Stop> | — |
返回
| 結果 | Color Ramp |
過載 3/4
翻轉(漸層: TextureRamp) -> TextureRamp
TextureRamp Reverse(TextureRamp ramp)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 漸層 | TextureRamp | — |
返回
| 結果 | TextureRamp |
過載 4/4
翻轉(色標: IEnumerable<TextureStop>) -> TextureRamp
TextureRamp Reverse(IEnumerable<TextureStop> stops)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 色標 | IEnumerable<TextureStop> | — |
返回
| 結果 | TextureRamp |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像處理
- 所屬包
- 影像處理
旋轉
函數Returns a new ImageProcessor with the image rotated by the specified degrees.
旋轉(影像: Pixel Image, 角度: 低精度數字) -> Pixel Image
PixelImage Rotate(PixelImage image, float degrees)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 影像 | Pixel Image | — | |
| 角度 | 低精度數字 | — |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像處理
- 所屬包
- 影像處理
縮放區間
函數此節點沒有文件說明。
過載 1/7
縮放區間 -> Color Ramp
漸層: Color Ramp
目標起始值: 數字
目標結束值: 數字ColorRamp ScaleDomain(
ColorRamp ramp,
double targetStart,
double targetEnd)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 漸層 | Color Ramp | — | |
| 目標起始值 | 數字 | — | |
| 目標結束值 | 數字 | — |
返回
| 結果 | Color Ramp |
過載 2/7
縮放區間 -> Color Ramp
色標: IEnumerable<Color Stop>
目標起始值: 數字
目標結束值: 數字ColorRamp ScaleDomain(
IEnumerable<ColorStop> stops,
double targetStart,
double targetEnd)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 色標 | IEnumerable<Color Stop> | — | |
| 目標起始值 | 數字 | — | |
| 目標結束值 | 數字 | — |
返回
| 結果 | Color Ramp |
過載 3/7
縮放區間 -> Color Ramp
漸層: Color Ramp
源起始位置: 數字
源結束值: 數字
目標起始值: 數字
目標結束值: 數字ColorRamp ScaleDomain(
ColorRamp ramp,
double sourceStart,
double sourceEnd,
double targetStart,
double targetEnd)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 漸層 | Color Ramp | — | |
| 源起始位置 | 數字 | — | |
| 源結束值 | 數字 | — | |
| 目標起始值 | 數字 | — | |
| 目標結束值 | 數字 | — |
返回
| 結果 | Color Ramp |
過載 4/7
縮放區間 -> Color Ramp
色標: IEnumerable<Color Stop>
源起始位置: 數字
源結束值: 數字
目標起始值: 數字
目標結束值: 數字ColorRamp ScaleDomain(
IEnumerable<ColorStop> stops,
double sourceStart,
double sourceEnd,
double targetStart,
double targetEnd)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 色標 | IEnumerable<Color Stop> | — | |
| 源起始位置 | 數字 | — | |
| 源結束值 | 數字 | — | |
| 目標起始值 | 數字 | — | |
| 目標結束值 | 數字 | — |
返回
| 結果 | Color Ramp |
過載 5/7
縮放區間 -> TextureRamp
漸層: TextureRamp
目標起始值: 數字
目標結束值: 數字TextureRamp ScaleDomain(
TextureRamp ramp,
double targetStart,
double targetEnd)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 漸層 | TextureRamp | — | |
| 目標起始值 | 數字 | — | |
| 目標結束值 | 數字 | — |
返回
| 結果 | TextureRamp |
過載 6/7
縮放區間 -> TextureRamp
色標: IEnumerable<TextureStop>
目標起始值: 數字
目標結束值: 數字TextureRamp ScaleDomain(
IEnumerable<TextureStop> stops,
double targetStart,
double targetEnd)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 色標 | IEnumerable<TextureStop> | — | |
| 目標起始值 | 數字 | — | |
| 目標結束值 | 數字 | — |
返回
| 結果 | TextureRamp |
過載 7/7
縮放區間 -> TextureRamp
漸層: TextureRamp
源起始位置: 數字
源結束值: 數字
目標起始值: 數字
目標結束值: 數字TextureRamp ScaleDomain(
TextureRamp ramp,
double sourceStart,
double sourceEnd,
double targetStart,
double targetEnd)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 漸層 | TextureRamp | — | |
| 源起始位置 | 數字 | — | |
| 源結束值 | 數字 | — | |
| 目標起始值 | 數字 | — | |
| 目標結束值 | 數字 | — |
返回
| 結果 | TextureRamp |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像處理
- 所屬包
- 影像處理
銳化
函數Returns a new ImageProcessor with a sharpen effect applied.
銳化(影像: Pixel Image, 量: 低精度數字) -> Pixel Image
PixelImage Sharpen(PixelImage image, float amount)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 影像 | Pixel Image | — | |
| 量 | 低精度數字 | — | Sharpen intensity. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像處理
- 所屬包
- 影像處理
帶重疊拆分影像
函數此節點沒有文件說明。
帶重疊拆分影像 -> Pixel Image 陣列陣列
源: Pixel Image
行數: 整數
列數: 整數
像素重疊: 整數PixelImage[][] SplitImageWithOverlap(
PixelImage source,
int rows,
int columns,
int pixelOverlap = 0)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | |
| 行數 | 整數 | — | |
| 列數 | 整數 | — | |
| 像素重疊 | 整數 | 0 |
返回
| 結果 | Pixel Image 陣列陣列 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像處理
- 所屬包
- 影像處理
閾值化
函數Converts a grayscale image to a binary image using a threshold.
閾值化 -> Grayscale16BitImage
源: I Pixel Image Sampler
閾值: 低精度數字Grayscale16BitImage Threshold(
IPixelImageSampler source,
float thresholdF)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | I Pixel Image Sampler | — | Source grayscale image. |
| 閾值 | 低精度數字 | — | Threshold in range [0,1]. Values above 1 are clamped. |
返回
| 結果 | Grayscale16BitImage |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像處理
- 所屬包
- 影像處理
平鋪紋理
函數過載 1/2
平鋪紋理 -> Pixel Image
紋理樣本: Pixel Image
寬度: 整數
高度: 整數
變換: Image Transform
插值方式: PixelInterpolationPixelImage TileTexture(
PixelImage textureSample,
int width,
int height,
ImageTransform transform,
PixelInterpolation interpolation = PixelInterpolation.Bilinear)Tiles Texture Sample into a destination image with an explicit pixel size.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 紋理樣本 | Pixel Image | — | The source texture image to repeat. |
| 寬度 | 整數 | — | The destination image width in pixels. |
| 高度 | 整數 | — | The destination image height in pixels. |
| 變換 | Image Transform | — | Texture-placement transform applied in destination pixel space. |
| 插值方式 | PixelInterpolation | 雙線性 | The interpolation mode used when sampling the source texture. |
返回
| 結果 | Pixel Image |
備註
This overload treats Transform as a texture-placement transform in destination pixel space.
The destination size is determined by Texture Sample.
With ImageTransform.Identity, one source pixel maps to one destination pixel and wrapping repeats the source image automatically as needed. For example, a 128x128 source rendered into a 512x512 destination produces approximately 4x4 repetitions.
ImageTransform.Scale controls the visual size of each repeated texture tile. A scale of (2, 2) makes each tile twice as large in destination pixels, therefore producing fewer visible repetitions. A scale of (0.5, 0.5) makes each tile half as large, therefore producing more visible repetitions.
ImageTransform.Translation is measured in destination pixels and moves the visible texture placement.
Positive X moves the texture to the right; positive Y moves it downward.
ImageTransform.Rotation is measured in degrees and rotates the texture placement before wrapping.
ImageTransform.Pivot is measured in source texture UV space. A pivot of (0, 0) is the source texture origin; a pivot of (0.5, 0.5) is the center of one source texture tile.
過載 2/2
平鋪紋理 -> Pixel Image
紋理樣本: Pixel Image
寬度: 整數
高度: 整數
插值方式: PixelInterpolationPixelImage TileTexture(
PixelImage textureSample,
int width,
int height,
PixelInterpolation interpolation = PixelInterpolation.Bilinear)Tiles Texture Sample into a destination image with an explicit pixel size and no additional transform.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 紋理樣本 | Pixel Image | — | The source texture image to repeat. |
| 寬度 | 整數 | — | The destination image width in pixels. |
| 高度 | 整數 | — | The destination image height in pixels. |
| 插值方式 | PixelInterpolation | 雙線性 | The interpolation mode used when sampling the source texture. |
返回
| 結果 | Pixel Image |
備註
The destination size is determined by Texture Sample.
With identity placement, one source pixel maps to one destination pixel and wrapping repeats the source image automatically as needed. For example, a 128x128 source rendered into a 512x512 destination produces approximately 4x4 repetitions.
TODO:
- [ ] Refactor image transform handling with Interfaces.IPixelImageSampler and a custom TransformTextureLayer which implements IPixelImageSampler.
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像處理
- 所屬包
- 影像處理
按數量平鋪紋理
函數過載 1/2
按數量平鋪紋理 -> Pixel Image
源: Pixel Image
U 向平鋪數: 整數
V 向平鋪數: 整數
變換: Image Transform
插值方式: PixelInterpolationPixelImage TileTextureByCount(
PixelImage source,
int tileCountU,
int tileCountV,
ImageTransform transform,
PixelInterpolation interpolation = PixelInterpolation.Bilinear)Tiles Source by U/V repetition counts, deriving the destination size from the source texture size and transform scale.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | The source texture image to repeat. |
| U 向平鋪數 | 整數 | — | The intended number of source texture repetitions used to derive destination width. |
| V 向平鋪數 | 整數 | — | The intended number of source texture repetitions used to derive destination height. |
| 變換 | Image Transform | — | Texture-placement transform applied in destination pixel space. |
| 插值方式 | PixelInterpolation | 雙線性 | The interpolation mode used when sampling the source texture. |
返回
| 結果 | Pixel Image |
備註
This overload is for cases where no explicit destination size is available.
The destination size is computed as:
width = ceiling(source.Columns * tileCountU * abs(transform.Scale.X))
height = ceiling(source.Rows * tileCountV * abs(transform.Scale.Y))
The tile counts are only used to derive the destination canvas size. They are not passed into the sampling transform.
Actual repetition is produced by wrapping the sampled source texture.
ImageTransform.Scale controls the visual size of each repeated texture tile. A scale of (2, 2) makes each tile twice as large in destination pixels, so a tile count of 2 produces a destination size large enough for two enlarged tiles. A negative scale mirrors the texture placement on that axis while its absolute value is used for destination size calculation.
ImageTransform.Translation is measured in destination pixels and moves the visible texture placement.
ImageTransform.Pivot is measured in source texture UV space. A pivot of (0.5, 0.5) is the center of
one source texture tile.
過載 2/2
按數量平鋪紋理 -> Pixel Image
源: Pixel Image
U 向平鋪數: 整數
V 向平鋪數: 整數
插值方式: PixelInterpolationPixelImage TileTextureByCount(
PixelImage source,
int tileCountU,
int tileCountV,
PixelInterpolation interpolation = PixelInterpolation.Bilinear)Tiles Source by U/V repetition counts, deriving the destination size from the source texture size.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | The source texture image to repeat. |
| U 向平鋪數 | 整數 | — | The intended number of source texture repetitions used to derive destination width. |
| V 向平鋪數 | 整數 | — | The intended number of source texture repetitions used to derive destination height. |
| 插值方式 | PixelInterpolation | 雙線性 | The interpolation mode used when sampling the source texture. |
返回
| 結果 | Pixel Image |
備註
This overload is for cases where no explicit destination size is available.
The destination size is computed as:
width = source.Columns * tileCountU
height = source.Rows * tileCountV
The tile counts are only used to derive the destination canvas size. They are not passed into the sampling transform.
Actual repetition is produced by wrapping the sampled source texture.
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像處理
- 所屬包
- 影像處理
隨機平鋪紋理
函數Tiles Texture Sample into a destination image using stochastic texture tiling.
隨機平鋪紋理 -> Pixel Image
紋理樣本: Pixel Image
寬度: 整數
高度: 整數
變換: Image Transform
隨機變換範圍: Image Transform
隨機樣本數: 整數
種子: 整數
隨機單元大小: 低精度數字
插值方式: PixelInterpolationPixelImage TileTextureRandomized(
PixelImage textureSample,
int width,
int height,
ImageTransform transform,
ImageTransform randomTransformRange,
int randomizedSamples = 4,
int seed = 0,
float randomCellSize = 1f,
PixelInterpolation interpolation = PixelInterpolation.Bilinear)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 紋理樣本 | Pixel Image | — | The source texture image to repeat. |
| 寬度 | 整數 | — | The destination image width in pixels. |
| 高度 | 整數 | — | The destination image height in pixels. |
| 變換 | Image Transform | — | Texture-placement transform applied in destination pixel space. |
| 隨機變換範圍 | Image Transform | — | Maximum per-cell random transform variation. Pivot is ignored. |
| 隨機樣本數 | 整數 | 4 | Number of stochastic samples to blend. Supported values are 1, 4, and 9. |
| 種子 | 整數 | 0 | Deterministic random seed. |
| 隨機單元大小 | 低精度數字 | 1 | Stochastic tile stride in repeated source-tile units. |
| 插值方式 | PixelInterpolation | 雙線性 | The interpolation mode used when sampling the source texture. |
返回
| 結果 | Pixel Image |
備註
This overload treats Transform the same way as PixelImageOperations.TileTexture:
it is a texture-placement transform in destination pixel space.
Stochastic tiling reduces visible repetition by blending several independently randomized versions of the repeated source texture.
The randomization is deterministic for a given Seed.
Random Transform Range specifies the maximum random variation applied to each stochastic sample:
ImageTransform.Translation is measured in source texture pixels and sampled in the range [-Translation, +Translation].
ImageTransform.Rotation is measured in degrees and sampled in the range [-Rotation, +Rotation].
ImageTransform.Scale is relative variation around 1. For example, a value of (0.15, 0.15) samples scale in the range [0.85, 1.15].
ImageTransform.Pivot is ignored.
Random Cell Size controls the stochastic tile stride in repeated source-tile units.
A value of 1 means each stochastic blend cell is approximately one repeated source texture tile.
A value of 2 means each stochastic blend cell spans approximately 2x2 repeated source texture tiles, producing larger random regions.
A value of 0.5 means each stochastic blend cell is half a repeated source tile, producing more frequent variation.
This value follows Transform, so scaling or rotating the texture placement also scales or rotates the stochastic cell layout.
Randomized Samples controls quality and cost. Supported values are 1, 4, and 9.
1 is fastest but does not blend between stochastic cells.
4 blends the four neighboring stochastic cells and is the recommended default.
9 blends a wider 3x3 neighborhood and is smoother but slower.
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像處理
- 所屬包
- 影像處理
轉為灰度
函數Returns a new ImageProcessor with the image converted to grayscale.
轉為灰度(影像: Pixel Image) -> GrayscaleImage
GrayscaleImage ToGrayscale(PixelImage image)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 影像 | Pixel Image | — |
返回
| 結果 | GrayscaleImage |
備註
The Skia implementation this replaced fed the matrix in column order, so it did not convert
to greyscale at all -- it scaled the channel sum by 0.2126, 0.7152 and 0.0722 respectively
and came out green. ColorFilter.CreateGrayscale carries the same Rec. 709
weights the old code meant to use.
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像處理
- 所屬包
- 影像處理
嘗試提取二維碼
函數此節點沒有文件說明。
嘗試提取二維碼 -> (結果: Pixel Image, 裁剪範圍: 可選 Image Crop Extent2d)
源影像: Pixel Image
裁剪邊距: 整數PixelImage TryExtractQRCode(
PixelImage sourceImage,
out ImageCropExtent2D? cropExtent,
int cropMargin = 10)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源影像 | Pixel Image | — | |
| 裁剪邊距 | 整數 | 10 |
返回
| 結果 | Pixel Image |
| 裁剪範圍 | 可選 Image Crop Extent2d |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像處理
- 所屬包
- 影像處理
嘗試讀取二維碼
函數此節點沒有文件說明。
嘗試讀取二維碼(源影像: Pixel Image) -> 文字
string TryReadQRCode(PixelImage sourceImage)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源影像 | Pixel Image | — |
返回
| 結果 | 文字 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像處理
- 所屬包
- 影像處理
驗證源影像是否可處理
函數此節點沒有文件說明。
驗證源影像是否可處理(源: Pixel Image)
void ValidateSourceImageForProcessingInput(PixelImage source)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像處理
- 所屬包
- 影像處理