元編程參考文件

紋理濾鏡

8 個節點

本頁內容 8

模糊

函數

A Gaussian blur: softens by averaging each pixel with its neighbours, nearer ones counting more. The cost does not grow with the radius.

簽名
模糊(紋理: Texture, 半徑: 數字) -> Texture
Texture Blur(Texture texture, double radius = 4)

參數

名稱型別預設值說明
紋理Texture—The texture.
半徑數字4The blur's size (its standard deviation), in pixels of a 1024-pixel texture.

返回

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

膨脹

函數

Grows bright areas: each pixel takes the highest value within the radius.

簽名
膨脹(紋理: Texture, 半徑: 數字) -> Texture
Texture Dilate(Texture texture, double radius = 2)

參數

名稱型別預設值說明
紋理Texture—The texture.
半徑數字2How far bright areas grow, in pixels of a 1024-pixel texture.

返回

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

方向模糊

函數

Smears the texture along one direction, as motion or a brush stroke would: brushed metal, rain streaks, wood grain from noise.

簽名
方向模糊 -> Texture
    紋理: Texture
    角度: 數字
    長度: 數字
    單向: 真否
Texture DirectionalBlur(
    Texture texture,
    double angle = 0,
    double length = 16,
    bool oneSided = false)

參數

名稱型別預設值說明
紋理Texture—The texture.
角度數字0The direction in degrees, 0 to the right, 90 down.
長度數字16How far the smear reaches each way, in pixels of a 1024-pixel texture.
單向真否FalseSmear only forward rather than both ways, so streaks start at a feature and trail from it.

返回

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

邊緣檢測

函數

Bright where values change quickly and dark where they are flat: outlines of shapes, the rims of a height.

簽名
邊緣檢測(紋理: Texture, 寬度: 數字, 強度: 數字) -> Texture
Texture EdgeDetect(
    Texture texture,
    double width = 1,
    double strength = 4)

參數

名稱型別預設值說明
紋理Texture—The texture.
寬度數字1How wide the drawn edges are, in pixels of a 1024-pixel texture.
強度數字4How bright an edge is for a given change.

返回

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

腐蝕

函數

Shrinks bright areas: each pixel takes the lowest value within the radius.

簽名
腐蝕(紋理: Texture, 半徑: 數字) -> Texture
Texture Erode(Texture texture, double radius = 2)

參數

名稱型別預設值說明
紋理Texture—The texture.
半徑數字2How far bright areas shrink, in pixels of a 1024-pixel texture.

返回

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

高通

函數

Keeps only the detail finer than the radius, around middle grey: removes the uneven lighting of a photograph so it tiles without visible patches, or isolates small bumps.

簽名
高通(紋理: Texture, 半徑: 數字) -> Texture
Texture HighPass(Texture texture, double radius = 16)

參數

名稱型別預設值說明
紋理Texture—The texture.
半徑數字16Detail larger than this is removed, in pixels of a 1024-pixel texture.

返回

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

非均勻模糊

函數

Blurs each pixel by a different amount, read from a map: white blurs fully to the maximum radius, black not at all. Softens some areas while leaving others crisp.

簽名
非均勻模糊 -> Texture
    紋理: Texture
    程度: Texture
    最大半徑: 數字
Texture NonUniformBlur(
    Texture texture,
    Texture amount,
    double maximumRadius = 8)

參數

名稱型別預設值說明
紋理Texture—The texture.
程度Texture—How much to blur each pixel, 0 to 1.
最大半徑數字8The radius where the amount is 1, in pixels of a 1024-pixel texture.

返回

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

銳化

函數

Sharpens by adding back the difference between the texture and a blur of it (an unsharp mask).

簽名
銳化(紋理: Texture, 程度: 數字, 半徑: 數字) -> Texture
Texture Sharpen(
    Texture texture,
    double amount = 1,
    double radius = 1.5)

參數

名稱型別預設值說明
紋理Texture—The texture.
程度數字1How much of the difference is added.
半徑數字1.5The size of the detail sharpened, in pixels of a 1024-pixel texture.

返回

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