影像濾鏡
38 個節點
本頁內容 38
自適應閾值
函數Applies adaptive thresholding to luminance. Useful for document scans, uneven lighting, OCR preprocessing, and local black/white masks.
自適應閾值 -> Pixel Image
源: Pixel Image
最大值: 數字
塊大小: 整數
C: 數字
方法: Adaptive Threshold Method
反轉: 真否PixelImage AdaptiveThreshold(
PixelImage source,
double maxValue = 255,
int blockSize = 11,
double c = 2,
ImageProcessingFilters.AdaptiveThresholdMethod method = AdaptiveThresholdMethod.Gaussian,
bool invert = false)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | The image. |
| 最大值 | 數字 | 255 | The level a pixel above its local level becomes. |
| 塊大小 | 整數 | 11 | The square, in pixels, whose mean each pixel is compared with; an even size is made odd, and 3 is the least. |
| C | 數字 | 2 | Subtracted from the local mean before comparing: larger leaves fewer pixels white. |
| 方法 | Adaptive Threshold Method | 高斯 | The plain or the Gaussian-weighted mean. |
| 反轉 | 真否 | False | Swaps black and white. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像濾鏡
- 所屬包
- 影像處理
雙邊濾波
函數Applies bilateral filtering. Useful for painterly smoothing, skin smoothing, and denoising while preserving major edges.
雙邊濾波 -> Pixel Image
源: Pixel Image
直徑: 整數
顏色標準差: 數字
空間標準差: 數字PixelImage BilateralFilter(
PixelImage source,
int diameter = 9,
double sigmaColor = 75,
double sigmaSpace = 75)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | The image. |
| 直徑 | 整數 | 9 | The neighbourhood's diameter in pixels. |
| 顏色標準差 | 數字 | 75 | How different a neighbour's colour may be and still count: larger mixes more colours. |
| 空間標準差 | 數字 | 75 | How far a neighbour may be and still count, in pixels. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像濾鏡
- 所屬包
- 影像處理
Canny 邊緣檢測
函數Canny edge detection on luminance: a binary image, white on the one-pixel edges.
Canny 邊緣檢測 -> Pixel Image
源: Pixel Image
低閾值: 數字
高閾值: 數字PixelImage CannyEdgeDetect(
PixelImage source,
double lowThreshold = 40,
double highThreshold = 100)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | The image. |
| 低閾值 | 數字 | 40 | A pixel whose gradient is above this is an edge if it touches one. |
| 高閾值 | 數字 | 100 | A pixel whose gradient is above this is an edge. |
返回
| 結果 | Pixel Image |
備註
The gradient is the 3-by-3 Sobel's and its magnitude the sum of the absolute horizontal and vertical derivatives, so a hard black-to-white step measures up to 1020. A pixel is an edge where that magnitude is a local maximum across the edge and above High Threshold, or above Low Threshold and connected to an edge. There is no blur first: blur a noisy image before this.
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像濾鏡
- 所屬包
- 影像處理
限制對比度自適應直方圖均衡
函數Applies CLAHE contrast enhancement to luminance. Useful for local contrast improvement, uneven lighting correction, document enhancement, and medical/scientific image previews.
限制對比度自適應直方圖均衡 -> Pixel Image
源: Pixel Image
剪裁限制: 數字
網格塊寬度: 整數
網格塊高度: 整數PixelImage CLAHE(
PixelImage source,
double clipLimit = 2,
int tileGridWidth = 8,
int tileGridHeight = 8)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | The image. |
| 剪裁限制 | 數字 | 2 | How much a tile's histogram may peak before it is clipped: higher allows more contrast. |
| 網格塊寬度 | 整數 | 8 | The number of tiles across. |
| 網格塊高度 | 整數 | 8 | The number of tiles down. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像濾鏡
- 所屬包
- 影像處理
顏色空間轉換
函數Converts the image to another color representation. Useful for grayscale conversion or false-color visualization of HSV/Lab/YCrCb channels.
顏色空間轉換 -> Pixel Image
源: Pixel Image
顏色空間: Color SpacePixelImage ConvertColorSpace(
PixelImage source,
ImageProcessingFilters.ColorSpace colorSpace = ColorSpace.Grayscale)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | The image. |
| 顏色空間 | Color Space | 灰度 | The representation shown; its three channels are drawn as blue, green and red. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像濾鏡
- 所屬包
- 影像處理
細節增強
函數Enhances local detail and contrast. Useful for HDR-like detail pop, texture enhancement, and sharpening-like visual effects.
細節增強 -> Pixel Image
源: Pixel Image
空間標準差: 低精度數字
範圍標準差: 低精度數字PixelImage DetailEnhance(
PixelImage source,
float sigmaS = 10f,
float sigmaR = 0.15f)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | The image. |
| 空間標準差 | 低精度數字 | 10 | The scale of what counts as detail, from 0 to 200. |
| 範圍標準差 | 低精度數字 | 0.15 | How much lightness difference still counts as detail, from 0 to 1. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像濾鏡
- 所屬包
- 影像處理
膨脹
函數Dilates bright regions. Useful for thickening masks, connecting broken lines, and expanding detected regions.
膨脹 -> Pixel Image
源: Pixel Image
核大小: 整數
迭代次數: 整數PixelImage Dilate(
PixelImage source,
int kernelSize = 3,
int iterations = 1)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | The image. |
| 核大小 | 整數 | 3 | The square's width in pixels; an even size is made odd. |
| 迭代次數 | 整數 | 1 | How many times to dilate. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像濾鏡
- 所屬包
- 影像處理
定向梯度塗抹
函數Height map should drive the direction. One-sided directional smudge.
定向梯度塗抹 -> Pixel Image
源: Pixel Image
高度圖: I Pixel Image Sampler
強度: 低精度數字
向下坡塗抹: 真否
樣本: 整數PixelImage DirectionalGradientSmudge(
PixelImage source,
IPixelImageSampler heightMap,
float intensity,
bool smudgeDownhill,
int samples = 8)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | |
| 高度圖 | I Pixel Image Sampler | — | A heightmap that drives the direction of smudge. |
| 強度 | 低精度數字 | — | |
| 向下坡塗抹 | 真否 | — | True to sample opposite the gradient (high into low / white into black), false to sample along the gradient (low into high / black into white). |
| 樣本 | 整數 | 8 |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像濾鏡
- 所屬包
- 影像處理
保邊濾波
函數Edge-preserving smoothing. Useful for simplifying textures while keeping strong object boundaries.
保邊濾波 -> Pixel Image
源: Pixel Image
方法: Edge Preserving Method
空間標準差: 低精度數字
範圍標準差: 低精度數字PixelImage EdgePreservingFilter(
PixelImage source,
ImageProcessingFilters.EdgePreservingMethod method = EdgePreservingMethod.Recursive,
float sigmaS = 60f,
float sigmaR = 0.4f)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | The image. |
| 方法 | Edge Preserving Method | 遞迴濾波 | Recursive filtering, or normalised convolution. |
| 空間標準差 | 低精度數字 | 60 | The smoothing's reach, from 0 to 200. |
| 範圍標準差 | 低精度數字 | 0.4 | How much colour difference still smooths, from 0 to 1. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像濾鏡
- 所屬包
- 影像處理
浮雕
函數此節點沒有文件說明。
浮雕(源: Pixel Image) -> Pixel Image
PixelImage Emboss(PixelImage source)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像濾鏡
- 所屬包
- 影像處理
直方圖均衡
函數Applies global histogram equalization to luminance. Useful for improving contrast in flat grayscale images and preprocessing threshold/edge detection.
直方圖均衡(源: Pixel Image) -> Pixel Image
PixelImage EqualizeHistogram(PixelImage source)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | The image. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像濾鏡
- 所屬包
- 影像處理
腐蝕
函數Erodes bright regions. Useful for shrinking masks, removing tiny white specks, and separating touching blobs.
腐蝕 -> Pixel Image
源: Pixel Image
核大小: 整數
迭代次數: 整數PixelImage Erode(
PixelImage source,
int kernelSize = 3,
int iterations = 1)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | The image. |
| 核大小 | 整數 | 3 | The square's width in pixels; an even size is made odd. |
| 迭代次數 | 整數 | 1 | How many times to erode. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像濾鏡
- 所屬包
- 影像處理
查詢輪廓
函數Finds contours from a thresholded luminance image and draws them over the source. Useful for blob outlines, shape extraction previews, and segmentation debugging.
查詢輪廓 -> Pixel Image
源: Pixel Image
閾值: 數字
檢索方式: Contour Retrieval
厚度: 整數PixelImage FindContours(
PixelImage source,
double threshold = 128,
ImageProcessingFilters.ContourRetrieval retrieval = ContourRetrieval.External,
int thickness = 2)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | The image. |
| 閾值 | 數字 | 128 | Pixels brighter than this, 0 to 255, form the regions whose borders are found. |
| 檢索方式 | Contour Retrieval | 僅外輪廓 | Only the outermost borders, or all of them. |
| 厚度 | 整數 | 2 | The drawn line's width in pixels. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像濾鏡
- 所屬包
- 影像處理
Floyd-Steinberg 抖動
函數此節點沒有文件說明。
Floyd-Steinberg 抖動(源: Pixel Image) -> Pixel Image
PixelImage FloydSteinbergDither(PixelImage source)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像濾鏡
- 所屬包
- 影像處理
高斯模糊
函數Applies Gaussian blur. Useful for soft focus, denoising before edge detection, glow bases, and reducing small texture detail.
高斯模糊 -> Pixel Image
源: Pixel Image
核大小: 整數
標準差: 數字PixelImage GaussianBlur(
PixelImage source,
int kernelSize = 5,
double sigma = 0)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | The image. |
| 核大小 | 整數 | 5 | The kernel's width in pixels; an even size is made odd. |
| 標準差 | 數字 | 0 | The Gaussian's spread in pixels; 0 derives it from the kernel size. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像濾鏡
- 所屬包
- 影像處理
梯度塗抹
函數Height map should drive the direction
梯度塗抹 -> Pixel Image
源: Pixel Image
高度圖: I Pixel Image Sampler
強度: 低精度數字
樣本: 整數PixelImage GradientSmudge(
PixelImage source,
IPixelImageSampler heightMap,
float intensity,
int samples = 8)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | |
| 高度圖 | I Pixel Image Sampler | — | A heightmap that drives the direction of smudge. |
| 強度 | 低精度數字 | — | |
| 樣本 | 整數 | 8 |
返回
| 結果 | Pixel Image |
備註
Experimental; Not performing well yet.
Works like Blur Slope in Adobe Substance Painter.
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像濾鏡
- 所屬包
- 影像處理
半色調濾鏡
函數Applies a monochrome halftone effect using circular dots.
Darker source areas produce larger black dots on a white background.
半色調濾鏡 -> Pixel Image
源: Pixel Image
單元大小: 整數
角度(度): 數字PixelImage HalftoneFilter(
PixelImage source,
int cellSize = 8,
double angleDegrees = 45)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | |
| 單元大小 | 整數 | 8 | |
| 角度(度) | 數字 | 45 |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像濾鏡
- 所屬包
- 影像處理
高清縮放
函數Speedy detail preserving upscale through resampling with Lanczos-4. No generated details.
高清縮放(源: Pixel Image, 寬度: 整數, 高度: 整數) -> Pixel Image
PixelImage HDScale(PixelImage source, int width, int height)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | The image. |
| 寬度 | 整數 | — | The result's width in pixels. |
| 高度 | 整數 | — | The result's height in pixels. |
返回
| 結果 | Pixel Image |
備註
Useful for high-quality HD enlargement.
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像濾鏡
- 所屬包
- 影像處理
高清縮放以適應
函數Upscales the image to fit within the target size using Lanczos-4 resampling while preserving aspect ratio.
高清縮放以適應 -> Pixel Image
源: Pixel Image
最大寬度: 整數
最大高度: 整數
允許縮小: 真否PixelImage HDScaleFit(
PixelImage source,
int maxWidth = 1920,
int maxHeight = 1080,
bool allowDownscale = false)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | The image. |
| 最大寬度 | 整數 | 1920 | The widest the result may be, in pixels. |
| 最大高度 | 整數 | 1080 | The tallest the result may be, in pixels. |
| 允許縮小 | 真否 | False | Whether an image already larger than the box is made smaller to fit it. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像濾鏡
- 所屬包
- 影像處理
霍夫圓檢測
函數Detects circles with the gradient Hough transform and draws them over the source. Useful for round object detection, UI target detection, wheels, coins, cells, and circular feature previews.
霍夫圓檢測 -> Pixel Image
源: Pixel Image
累加器解析度比: 數字
最小距離: 數字
參數 1: 數字
參數 2: 數字
最小半徑: 整數
最大半徑: 整數
厚度: 整數PixelImage HoughCircles(
PixelImage source,
double dp = 1,
double minDist = 40,
double param1 = 100,
double param2 = 30,
int minRadius = 0,
int maxRadius = 0,
int thickness = 2)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | The image. |
| 累加器解析度比 | 數字 | 1 | The accumulator's coarseness: 1 is the image's resolution, 2 half of it. |
| 最小距離 | 數字 | 40 | The least distance between two circles' centres, in pixels. |
| 參數 1 | 數字 | 100 | The edge detector's high threshold (the low is half of it). |
| 參數 2 | 數字 | 30 | How many votes a centre needs: smaller finds more circles, some false. |
| 最小半徑 | 整數 | 0 | The smallest radius, in pixels. |
| 最大半徑 | 整數 | 0 | The largest radius, in pixels; 0 for the image's size. |
| 厚度 | 整數 | 2 | The drawn circle's width in pixels. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像濾鏡
- 所屬包
- 影像處理
霍夫線段檢測
函數Detects line segments with the probabilistic Hough transform on Canny edges and draws them over the source. Useful for lane lines, document edges, grids, architecture, and geometric analysis previews.
霍夫線段檢測 -> Pixel Image
源: Pixel Image
Canny 低閾值: 數字
Canny 高閾值: 數字
距離解析度: 數字
角度解析度(度): 數字
閾值: 整數
最小線段長度: 數字
最大線段間隙: 數字
厚度: 整數PixelImage HoughLines(
PixelImage source,
double cannyLowThreshold = 40,
double cannyHighThreshold = 100,
double rho = 1,
double thetaDegrees = 1,
int threshold = 50,
double minLineLength = 50,
double maxLineGap = 10,
int thickness = 2)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | The image. |
| Canny 低閾值 | 數字 | 40 | The edge detector's low threshold (see Canny). |
| Canny 高閾值 | 數字 | 100 | The edge detector's high threshold. |
| 距離解析度 | 數字 | 1 | The distance resolution of the accumulator, in pixels. |
| 角度解析度(度) | 數字 | 1 | The angle resolution of the accumulator, in degrees. |
| 閾值 | 整數 | 50 | How many edge points must vote for a line. |
| 最小線段長度 | 數字 | 50 | The shortest segment kept, in pixels. |
| 最大線段間隙 | 數字 | 10 | The widest gap a segment may bridge, in pixels. |
| 厚度 | 整數 | 2 | The drawn line's width in pixels. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像濾鏡
- 所屬包
- 影像處理
拉普拉斯運算元
函數Applies Laplacian edge detection to luminance. Useful for high-pass edge effects and quick structure visualization.
拉普拉斯運算元 -> Pixel Image
源: Pixel Image
核大小: 整數
縮放: 數字
增量: 數字PixelImage Laplacian(
PixelImage source,
int kernelSize = 3,
double scale = 1,
double delta = 0)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | The image. |
| 核大小 | 整數 | 3 | 1 or 3 for the 3-by-3 Laplacians, 5 to 31 for second Sobel derivatives; an even size is made odd. |
| 縮放 | 數字 | 1 | Multiplies the response. |
| 增量 | 數字 | 0 | Added to the response before its absolute value is taken. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像濾鏡
- 所屬包
- 影像處理
中值模糊
函數Applies median blur. Useful for removing salt-and-pepper noise while preserving stronger edges better than Gaussian blur.
中值模糊(源: Pixel Image, 核大小: 整數) -> Pixel Image
PixelImage MedianBlur(PixelImage source, int kernelSize = 5)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | The image. |
| 核大小 | 整數 | 5 | The square's width in pixels; an even size is made odd. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像濾鏡
- 所屬包
- 影像處理
形態學運算
函數Applies a morphology operation. Useful for mask cleanup, closing gaps, opening noise, extracting highlights, and structural image effects.
形態學運算 -> Pixel Image
源: Pixel Image
運算: Morphology Operation
核大小: 整數
迭代次數: 整數PixelImage Morphology(
PixelImage source,
ImageProcessingFilters.MorphologyOperation operation = MorphologyOperation.Close,
int kernelSize = 3,
int iterations = 1)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | The image. |
| 運算 | Morphology Operation | 閉運算 | Open, close, gradient, top hat or black hat. |
| 核大小 | 整數 | 3 | The square's width in pixels; an even size is made odd. |
| 迭代次數 | 整數 | 1 | How many times each erosion and dilation is applied. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像濾鏡
- 所屬包
- 影像處理
形態學梯度
函數Applies morphology gradient. Useful for outline extraction, mask boundaries, and a bold edge-like visual effect.
形態學梯度 -> Pixel Image
源: Pixel Image
核大小: 整數
迭代次數: 整數PixelImage MorphologyGradient(
PixelImage source,
int kernelSize = 3,
int iterations = 1)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | The image. |
| 核大小 | 整數 | 3 | The square's width in pixels; an even size is made odd. |
| 迭代次數 | 整數 | 1 | How many times each erosion and dilation is applied. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像濾鏡
- 所屬包
- 影像處理
塗色
函數此節點沒有文件說明。
塗色 -> Pixel Image
頂部: Pixel Image
位置: Vector2
底部: Pixel Image
底部蒙版: I Pixel Image SamplerPixelImage Paint(
PixelImage top,
Vector2 position,
PixelImage bottom,
IPixelImageSampler bottomMask)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 頂部 | Pixel Image | — | |
| 位置 | Vector2 | — | |
| 底部 | Pixel Image | — | |
| 底部蒙版 | I Pixel Image Sampler | — |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像濾鏡
- 所屬包
- 影像處理
鉛筆素描效果
函數Produces a pencil-sketch effect. Useful for grayscale sketch previews, artistic filters, and line-art-like rendering.
鉛筆素描效果 -> Pixel Image
源: Pixel Image
顏色: 真否
空間標準差: 低精度數字
範圍標準差: 低精度數字
陰影係數: 低精度數字PixelImage PencilSketch(
PixelImage source,
bool color = false,
float sigmaS = 60f,
float sigmaR = 0.07f,
float shadeFactor = 0.02f)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | The source image to process. |
| 顏色 | 真否 | False | If true, returns the color sketch result; otherwise returns the grayscale sketch result. |
| 空間標準差 | 低精度數字 | 60 | Controls the size of the neighborhood used for smoothing. Larger values produce broader, smoother sketch regions. |
| 範圍標準差 | 低精度數字 | 0.07 | Controls how strongly color or intensity differences are preserved during smoothing. Smaller values preserve sharper edges. |
| 陰影係數 | 低精度數字 | 0.02 | Controls the amount of shading in the sketch. Smaller values generally produce darker, more pronounced shading. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像濾鏡
- 所屬包
- 影像處理
像素化
函數此節點沒有文件說明。
像素化(源: Pixel Image, 塊大小: 整數) -> Pixel Image
PixelImage Pixelate(PixelImage source, int blockSize = 8)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | |
| 塊大小 | 整數 | 8 |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像濾鏡
- 所屬包
- 影像處理
Scharr 運算元
函數Applies Scharr edge detection to luminance. Useful for stronger 3x3 directional gradients than Sobel.
Scharr 運算元 -> Pixel Image
源: Pixel Image
X 方向導數階數: 整數
Y 方向導數階數: 整數
縮放: 數字
增量: 數字PixelImage Scharr(
PixelImage source,
int dx = 1,
int dy = 0,
double scale = 1,
double delta = 0)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | The image. |
| X 方向導數階數 | 整數 | 1 | 1 for the derivative across (vertical edges), 0 otherwise. |
| Y 方向導數階數 | 整數 | 0 | 1 for the derivative down (horizontal edges), 0 otherwise. |
| 縮放 | 數字 | 1 | Multiplies the response. |
| 增量 | 數字 | 0 | Added to the response before its absolute value is taken. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像濾鏡
- 所屬包
- 影像處理
復古褐色
函數此節點沒有文件說明。
復古褐色(源: Pixel Image) -> Pixel Image
PixelImage Sepia(PixelImage source)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像濾鏡
- 所屬包
- 影像處理
Sobel 運算元
函數Applies Sobel edge detection to luminance. Useful for directional gradients, edge maps, bump-like effects, and preprocessing.
Sobel 運算元 -> Pixel Image
源: Pixel Image
X 方向導數階數: 整數
Y 方向導數階數: 整數
核大小: 整數
縮放: 數字
增量: 數字PixelImage Sobel(
PixelImage source,
int dx = 1,
int dy = 0,
int kernelSize = 3,
double scale = 1,
double delta = 0)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | The image. |
| X 方向導數階數 | 整數 | 1 | The order of the derivative across: 1 for vertical edges. |
| Y 方向導數階數 | 整數 | 0 | The order of the derivative down: 1 for horizontal edges. |
| 核大小 | 整數 | 3 | 1, 3, 5 or 7 up to 31; an even size is made odd. |
| 縮放 | 數字 | 1 | Multiplies the response. |
| 增量 | 數字 | 0 | Added to the response before its absolute value is taken. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像濾鏡
- 所屬包
- 影像處理
Sobel 邊緣檢測
函數此節點沒有文件說明。
Sobel 邊緣檢測(源: Pixel Image) -> Pixel Image
PixelImage SobelEdgeDetect(PixelImage source)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像濾鏡
- 所屬包
- 影像處理
風格化
函數Stylization: painterly, cartoon-like abstraction that smooths low-contrast regions and darkens strong structure.
風格化 -> Pixel Image
源: Pixel Image
空間標準差: 低精度數字
範圍標準差: 低精度數字PixelImage Stylization(
PixelImage source,
float sigmaS = 60f,
float sigmaR = 0.45f)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | The image. |
| 空間標準差 | 低精度數字 | 60 | The smoothing's reach, from 0 to 200. |
| 範圍標準差 | 低精度數字 | 0.45 | How much colour difference still smooths, from 0 to 1: larger flattens more. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像濾鏡
- 所屬包
- 影像處理
閾值化
函數Applies simple thresholding to luminance. Useful for masks, hard black/white conversion, document cleanup, and segmentation preprocessing.
閾值化 -> Pixel Image
源: Pixel Image
閾值: 數字
最大值: 數字
模式: Threshold ModePixelImage Threshold(
PixelImage source,
double threshold = 128,
double maxValue = 255,
ImageProcessingFilters.ThresholdMode mode = ThresholdMode.Binary)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | The image. |
| 閾值 | 數字 | 128 | The level compared against, 0 to 255; the Otsu modes choose their own. |
| 最大值 | 數字 | 255 | The level a pixel above the threshold becomes in the binary modes. |
| 模式 | Threshold Mode | 二值化 | How a level maps against the threshold. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像濾鏡
- 所屬包
- 影像處理
轉為距離場
函數此節點沒有文件說明。
轉為距離場 -> Grayscale16BitImage
影像: Grayscale16BitImage
最大距離(像素): 整數Grayscale16BitImage ToDistanceField(
Grayscale16BitImage image,
int maxDistanceInPixel)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 影像 | Grayscale16BitImage | — | |
| 最大距離(像素) | 整數 | — |
返回
| 結果 | Grayscale16BitImage |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像濾鏡
- 所屬包
- 影像處理
暗角
函數此節點沒有文件說明。
暗角(源: Pixel Image, 強度: 數字) -> Pixel Image
PixelImage Vignette(PixelImage source, double strength = 0.5)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | |
| 強度 | 數字 | 0.5 |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像濾鏡
- 所屬包
- 影像處理
仿射變換
函數Applies affine rotation around image center. Useful for rotation, scale, slight geometric distortion, and preview transforms.
仿射變換 -> Pixel Image
源: Pixel Image
角度(度): 數字
縮放: 數字
X 平移: 數字
Y 平移: 數字PixelImage WarpAffine(
PixelImage source,
double angleDegrees = 0,
double scale = 1,
double translateX = 0,
double translateY = 0)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | The image. |
| 角度(度) | 數字 | 0 | The rotation in degrees, counter-clockwise. |
| 縮放 | 數字 | 1 | The scale about the centre. |
| X 平移 | 數字 | 0 | Pixels moved right after rotating. |
| Y 平移 | 數字 | 0 | Pixels moved down after rotating. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像濾鏡
- 所屬包
- 影像處理
透視變換
函數Applies perspective warp from four source corners to four destination corners. Useful for document correction, keystone effects, quadrilateral remapping, and perspective distortion.
透視變換 -> Pixel Image
源: Pixel Image
源點: Vector2 陣列
目標點: Vector2 陣列
輸出寬度: 整數
輸出高度: 整數PixelImage WarpPerspective(
PixelImage source,
Vector2[] sourcePoints,
Vector2[] destinationPoints,
int outputWidth,
int outputHeight)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 源 | Pixel Image | — | The image. |
| 源點 | Vector2 陣列 | — | Four points in the source, in pixels. |
| 目標點 | Vector2 陣列 | — | Where each of the four lands in the result, in the same order. |
| 輸出寬度 | 整數 | — | The result's width in pixels. |
| 輸出高度 | 整數 | — | The result's height in pixels. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 影像濾鏡
- 所屬包
- 影像處理