图像滤镜
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 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 图像滤镜
- 所属包
- 图像处理