Image Processing Filters
38 nodes
On this page 38
Adaptive Threshold
FunctionApplies adaptive thresholding to luminance. Useful for document scans, uneven lighting, OCR preprocessing, and local black/white masks.
AdaptiveThreshold -> Pixel Image
source: Pixel Image
maxValue: Number
blockSize: Integer
c: Number
method: Adaptive Threshold Method
invert: TruthPixelImage AdaptiveThreshold(
PixelImage source,
double maxValue = 255,
int blockSize = 11,
double c = 2,
ImageProcessingFilters.AdaptiveThresholdMethod method = AdaptiveThresholdMethod.Gaussian,
bool invert = false)Parameters
| name | type | default | description |
|---|---|---|---|
| source | Pixel Image | — | The image. |
| maxValue | Number | 255 | The level a pixel above its local level becomes. |
| blockSize | Integer | 11 | The square, in pixels, whose mean each pixel is compared with; an even size is made odd, and 3 is the least. |
| c | Number | 2 | Subtracted from the local mean before comparing: larger leaves fewer pixels white. |
| method | Adaptive Threshold Method | Gaussian | The plain or the Gaussian-weighted mean. |
| invert | Truth | False | Swaps black and white. |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Image Processing Filters
- Package
- Image Processing
Bilateral Filter
FunctionApplies bilateral filtering. Useful for painterly smoothing, skin smoothing, and denoising while preserving major edges.
BilateralFilter -> Pixel Image
source: Pixel Image
diameter: Integer
sigmaColor: Number
sigmaSpace: NumberPixelImage BilateralFilter(
PixelImage source,
int diameter = 9,
double sigmaColor = 75,
double sigmaSpace = 75)Parameters
| name | type | default | description |
|---|---|---|---|
| source | Pixel Image | — | The image. |
| diameter | Integer | 9 | The neighbourhood's diameter in pixels. |
| sigmaColor | Number | 75 | How different a neighbour's colour may be and still count: larger mixes more colours. |
| sigmaSpace | Number | 75 | How far a neighbour may be and still count, in pixels. |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Image Processing Filters
- Package
- Image Processing
Canny (Edge Detection)
FunctionCanny edge detection on luminance: a binary image, white on the one-pixel edges.
CannyEdgeDetect -> Pixel Image
source: Pixel Image
lowThreshold: Number
highThreshold: NumberPixelImage CannyEdgeDetect(
PixelImage source,
double lowThreshold = 40,
double highThreshold = 100)Parameters
| name | type | default | description |
|---|---|---|---|
| source | Pixel Image | — | The image. |
| lowThreshold | Number | 40 | A pixel whose gradient is above this is an edge if it touches one. |
| highThreshold | Number | 100 | A pixel whose gradient is above this is an edge. |
Returns
| result | Pixel Image |
Remarks
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.
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Image Processing Filters
- Package
- Image Processing
Clahe
FunctionApplies CLAHE contrast enhancement to luminance. Useful for local contrast improvement, uneven lighting correction, document enhancement, and medical/scientific image previews.
CLAHE -> Pixel Image
source: Pixel Image
clipLimit: Number
tileGridWidth: Integer
tileGridHeight: IntegerPixelImage CLAHE(
PixelImage source,
double clipLimit = 2,
int tileGridWidth = 8,
int tileGridHeight = 8)Parameters
| name | type | default | description |
|---|---|---|---|
| source | Pixel Image | — | The image. |
| clipLimit | Number | 2 | How much a tile's histogram may peak before it is clipped: higher allows more contrast. |
| tileGridWidth | Integer | 8 | The number of tiles across. |
| tileGridHeight | Integer | 8 | The number of tiles down. |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Image Processing Filters
- Package
- Image Processing
Convert Color Space
FunctionConverts the image to another color representation. Useful for grayscale conversion or false-color visualization of HSV/Lab/YCrCb channels.
ConvertColorSpace -> Pixel Image
source: Pixel Image
colorSpace: Color SpacePixelImage ConvertColorSpace(
PixelImage source,
ImageProcessingFilters.ColorSpace colorSpace = ColorSpace.Grayscale)Parameters
| name | type | default | description |
|---|---|---|---|
| source | Pixel Image | — | The image. |
| colorSpace | Color Space | Grayscale | The representation shown; its three channels are drawn as blue, green and red. |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Image Processing Filters
- Package
- Image Processing
Detail Enhance
FunctionEnhances local detail and contrast. Useful for HDR-like detail pop, texture enhancement, and sharpening-like visual effects.
DetailEnhance -> Pixel Image
source: Pixel Image
sigmaS: Low Accuracy Number
sigmaR: Low Accuracy NumberPixelImage DetailEnhance(
PixelImage source,
float sigmaS = 10f,
float sigmaR = 0.15f)Parameters
| name | type | default | description |
|---|---|---|---|
| source | Pixel Image | — | The image. |
| sigmaS | Low Accuracy Number | 10 | The scale of what counts as detail, from 0 to 200. |
| sigmaR | Low Accuracy Number | 0.15 | How much lightness difference still counts as detail, from 0 to 1. |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Image Processing Filters
- Package
- Image Processing
Dilate
FunctionDilates bright regions. Useful for thickening masks, connecting broken lines, and expanding detected regions.
Dilate -> Pixel Image
source: Pixel Image
kernelSize: Integer
iterations: IntegerPixelImage Dilate(
PixelImage source,
int kernelSize = 3,
int iterations = 1)Parameters
| name | type | default | description |
|---|---|---|---|
| source | Pixel Image | — | The image. |
| kernelSize | Integer | 3 | The square's width in pixels; an even size is made odd. |
| iterations | Integer | 1 | How many times to dilate. |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Image Processing Filters
- Package
- Image Processing
Directional Gradient Smudge
FunctionHeight map should drive the direction. One-sided directional smudge.
DirectionalGradientSmudge -> Pixel Image
source: Pixel Image
heightMap: I Pixel Image Sampler
intensity: Low Accuracy Number
smudgeDownhill: Truth
samples: IntegerPixelImage DirectionalGradientSmudge(
PixelImage source,
IPixelImageSampler heightMap,
float intensity,
bool smudgeDownhill,
int samples = 8)Parameters
| name | type | default | description |
|---|---|---|---|
| source | Pixel Image | — | |
| heightMap | I Pixel Image Sampler | — | A heightmap that drives the direction of smudge. |
| intensity | Low Accuracy Number | — | |
| smudgeDownhill | Truth | — | True to sample opposite the gradient (high into low / white into black), false to sample along the gradient (low into high / black into white). |
| samples | Integer | 8 |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Image Processing Filters
- Package
- Image Processing
Edge Preserving Filter
FunctionEdge-preserving smoothing. Useful for simplifying textures while keeping strong object boundaries.
EdgePreservingFilter -> Pixel Image
source: Pixel Image
method: Edge Preserving Method
sigmaS: Low Accuracy Number
sigmaR: Low Accuracy NumberPixelImage EdgePreservingFilter(
PixelImage source,
ImageProcessingFilters.EdgePreservingMethod method = EdgePreservingMethod.Recursive,
float sigmaS = 60f,
float sigmaR = 0.4f)Parameters
| name | type | default | description |
|---|---|---|---|
| source | Pixel Image | — | The image. |
| method | Edge Preserving Method | Recursive | Recursive filtering, or normalised convolution. |
| sigmaS | Low Accuracy Number | 60 | The smoothing's reach, from 0 to 200. |
| sigmaR | Low Accuracy Number | 0.4 | How much colour difference still smooths, from 0 to 1. |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Image Processing Filters
- Package
- Image Processing
Emboss
FunctionThis node carries no documentation.
Emboss(source: Pixel Image) -> Pixel Image
PixelImage Emboss(PixelImage source)
Parameters
| name | type | default | description |
|---|---|---|---|
| source | Pixel Image | — |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Image Processing Filters
- Package
- Image Processing
Equalize Histogram
FunctionApplies global histogram equalization to luminance. Useful for improving contrast in flat grayscale images and preprocessing threshold/edge detection.
EqualizeHistogram(source: Pixel Image) -> Pixel Image
PixelImage EqualizeHistogram(PixelImage source)
Parameters
| name | type | default | description |
|---|---|---|---|
| source | Pixel Image | — | The image. |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Image Processing Filters
- Package
- Image Processing
Erode
FunctionErodes bright regions. Useful for shrinking masks, removing tiny white specks, and separating touching blobs.
Erode -> Pixel Image
source: Pixel Image
kernelSize: Integer
iterations: IntegerPixelImage Erode(
PixelImage source,
int kernelSize = 3,
int iterations = 1)Parameters
| name | type | default | description |
|---|---|---|---|
| source | Pixel Image | — | The image. |
| kernelSize | Integer | 3 | The square's width in pixels; an even size is made odd. |
| iterations | Integer | 1 | How many times to erode. |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Image Processing Filters
- Package
- Image Processing
Find Contours
FunctionFinds contours from a thresholded luminance image and draws them over the source. Useful for blob outlines, shape extraction previews, and segmentation debugging.
FindContours -> Pixel Image
source: Pixel Image
threshold: Number
retrieval: Contour Retrieval
thickness: IntegerPixelImage FindContours(
PixelImage source,
double threshold = 128,
ImageProcessingFilters.ContourRetrieval retrieval = ContourRetrieval.External,
int thickness = 2)Parameters
| name | type | default | description |
|---|---|---|---|
| source | Pixel Image | — | The image. |
| threshold | Number | 128 | Pixels brighter than this, 0 to 255, form the regions whose borders are found. |
| retrieval | Contour Retrieval | External | Only the outermost borders, or all of them. |
| thickness | Integer | 2 | The drawn line's width in pixels. |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Image Processing Filters
- Package
- Image Processing
Floyd Steinberg Dither
FunctionThis node carries no documentation.
FloydSteinbergDither(source: Pixel Image) -> Pixel Image
PixelImage FloydSteinbergDither(PixelImage source)
Parameters
| name | type | default | description |
|---|---|---|---|
| source | Pixel Image | — |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Image Processing Filters
- Package
- Image Processing
Gaussian Blur
FunctionApplies Gaussian blur. Useful for soft focus, denoising before edge detection, glow bases, and reducing small texture detail.
GaussianBlur -> Pixel Image
source: Pixel Image
kernelSize: Integer
sigma: NumberPixelImage GaussianBlur(
PixelImage source,
int kernelSize = 5,
double sigma = 0)Parameters
| name | type | default | description |
|---|---|---|---|
| source | Pixel Image | — | The image. |
| kernelSize | Integer | 5 | The kernel's width in pixels; an even size is made odd. |
| sigma | Number | 0 | The Gaussian's spread in pixels; 0 derives it from the kernel size. |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Image Processing Filters
- Package
- Image Processing
Gradient Smudge
FunctionHeight map should drive the direction
GradientSmudge -> Pixel Image
source: Pixel Image
heightMap: I Pixel Image Sampler
intensity: Low Accuracy Number
samples: IntegerPixelImage GradientSmudge(
PixelImage source,
IPixelImageSampler heightMap,
float intensity,
int samples = 8)Parameters
| name | type | default | description |
|---|---|---|---|
| source | Pixel Image | — | |
| heightMap | I Pixel Image Sampler | — | A heightmap that drives the direction of smudge. |
| intensity | Low Accuracy Number | — | |
| samples | Integer | 8 |
Returns
| result | Pixel Image |
Remarks
Experimental; Not performing well yet.
Works like Blur Slope in Adobe Substance Painter.
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Image Processing Filters
- Package
- Image Processing
Halftone Filter
FunctionApplies a monochrome halftone effect using circular dots.
Darker source areas produce larger black dots on a white background.
HalftoneFilter -> Pixel Image
source: Pixel Image
cellSize: Integer
angleDegrees: NumberPixelImage HalftoneFilter(
PixelImage source,
int cellSize = 8,
double angleDegrees = 45)Parameters
| name | type | default | description |
|---|---|---|---|
| source | Pixel Image | — | |
| cellSize | Integer | 8 | |
| angleDegrees | Number | 45 |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Image Processing Filters
- Package
- Image Processing
HD Scale
FunctionSpeedy detail preserving upscale through resampling with Lanczos-4. No generated details.
HDScale -> Pixel Image
source: Pixel Image
width: Integer
height: IntegerPixelImage HDScale(PixelImage source, int width, int height)
Parameters
| name | type | default | description |
|---|---|---|---|
| source | Pixel Image | — | The image. |
| width | Integer | — | The result's width in pixels. |
| height | Integer | — | The result's height in pixels. |
Returns
| result | Pixel Image |
Remarks
Useful for high-quality HD enlargement.
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Image Processing Filters
- Package
- Image Processing
HD Scale Fit
FunctionUpscales the image to fit within the target size using Lanczos-4 resampling while preserving aspect ratio.
HDScaleFit -> Pixel Image
source: Pixel Image
maxWidth: Integer
maxHeight: Integer
allowDownscale: TruthPixelImage HDScaleFit(
PixelImage source,
int maxWidth = 1920,
int maxHeight = 1080,
bool allowDownscale = false)Parameters
| name | type | default | description |
|---|---|---|---|
| source | Pixel Image | — | The image. |
| maxWidth | Integer | 1920 | The widest the result may be, in pixels. |
| maxHeight | Integer | 1080 | The tallest the result may be, in pixels. |
| allowDownscale | Truth | False | Whether an image already larger than the box is made smaller to fit it. |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Image Processing Filters
- Package
- Image Processing
Hough Circles
FunctionDetects 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.
HoughCircles -> Pixel Image
source: Pixel Image
dp: Number
minDist: Number
param1: Number
param2: Number
minRadius: Integer
maxRadius: Integer
thickness: IntegerPixelImage HoughCircles(
PixelImage source,
double dp = 1,
double minDist = 40,
double param1 = 100,
double param2 = 30,
int minRadius = 0,
int maxRadius = 0,
int thickness = 2)Parameters
| name | type | default | description |
|---|---|---|---|
| source | Pixel Image | — | The image. |
| dp | Number | 1 | The accumulator's coarseness: 1 is the image's resolution, 2 half of it. |
| minDist | Number | 40 | The least distance between two circles' centres, in pixels. |
| param1 | Number | 100 | The edge detector's high threshold (the low is half of it). |
| param2 | Number | 30 | How many votes a centre needs: smaller finds more circles, some false. |
| minRadius | Integer | 0 | The smallest radius, in pixels. |
| maxRadius | Integer | 0 | The largest radius, in pixels; 0 for the image's size. |
| thickness | Integer | 2 | The drawn circle's width in pixels. |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Image Processing Filters
- Package
- Image Processing
Hough Line Segments
FunctionDetects 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.
HoughLines -> Pixel Image
source: Pixel Image
cannyLowThreshold: Number
cannyHighThreshold: Number
rho: Number
thetaDegrees: Number
threshold: Integer
minLineLength: Number
maxLineGap: Number
thickness: IntegerPixelImage 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)Parameters
| name | type | default | description |
|---|---|---|---|
| source | Pixel Image | — | The image. |
| cannyLowThreshold | Number | 40 | The edge detector's low threshold (see Canny). |
| cannyHighThreshold | Number | 100 | The edge detector's high threshold. |
| rho | Number | 1 | The distance resolution of the accumulator, in pixels. |
| thetaDegrees | Number | 1 | The angle resolution of the accumulator, in degrees. |
| threshold | Integer | 50 | How many edge points must vote for a line. |
| minLineLength | Number | 50 | The shortest segment kept, in pixels. |
| maxLineGap | Number | 10 | The widest gap a segment may bridge, in pixels. |
| thickness | Integer | 2 | The drawn line's width in pixels. |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Image Processing Filters
- Package
- Image Processing
Laplacian
FunctionApplies Laplacian edge detection to luminance. Useful for high-pass edge effects and quick structure visualization.
Laplacian -> Pixel Image
source: Pixel Image
kernelSize: Integer
scale: Number
delta: NumberPixelImage Laplacian(
PixelImage source,
int kernelSize = 3,
double scale = 1,
double delta = 0)Parameters
| name | type | default | description |
|---|---|---|---|
| source | Pixel Image | — | The image. |
| kernelSize | Integer | 3 | 1 or 3 for the 3-by-3 Laplacians, 5 to 31 for second Sobel derivatives; an even size is made odd. |
| scale | Number | 1 | Multiplies the response. |
| delta | Number | 0 | Added to the response before its absolute value is taken. |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Image Processing Filters
- Package
- Image Processing
Median Blur
FunctionApplies median blur. Useful for removing salt-and-pepper noise while preserving stronger edges better than Gaussian blur.
MedianBlur -> Pixel Image
source: Pixel Image
kernelSize: IntegerPixelImage MedianBlur(PixelImage source, int kernelSize = 5)
Parameters
| name | type | default | description |
|---|---|---|---|
| source | Pixel Image | — | The image. |
| kernelSize | Integer | 5 | The square's width in pixels; an even size is made odd. |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Image Processing Filters
- Package
- Image Processing
Morphology
FunctionApplies a morphology operation. Useful for mask cleanup, closing gaps, opening noise, extracting highlights, and structural image effects.
Morphology -> Pixel Image
source: Pixel Image
operation: Morphology Operation
kernelSize: Integer
iterations: IntegerPixelImage Morphology(
PixelImage source,
ImageProcessingFilters.MorphologyOperation operation = MorphologyOperation.Close,
int kernelSize = 3,
int iterations = 1)Parameters
| name | type | default | description |
|---|---|---|---|
| source | Pixel Image | — | The image. |
| operation | Morphology Operation | Close | Open, close, gradient, top hat or black hat. |
| kernelSize | Integer | 3 | The square's width in pixels; an even size is made odd. |
| iterations | Integer | 1 | How many times each erosion and dilation is applied. |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Image Processing Filters
- Package
- Image Processing
Morphology Gradient
FunctionApplies morphology gradient. Useful for outline extraction, mask boundaries, and a bold edge-like visual effect.
MorphologyGradient -> Pixel Image
source: Pixel Image
kernelSize: Integer
iterations: IntegerPixelImage MorphologyGradient(
PixelImage source,
int kernelSize = 3,
int iterations = 1)Parameters
| name | type | default | description |
|---|---|---|---|
| source | Pixel Image | — | The image. |
| kernelSize | Integer | 3 | The square's width in pixels; an even size is made odd. |
| iterations | Integer | 1 | How many times each erosion and dilation is applied. |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Image Processing Filters
- Package
- Image Processing
Paint
FunctionThis node carries no documentation.
Paint -> Pixel Image
top: Pixel Image
position: Vector2
bottom: Pixel Image
bottomMask: I Pixel Image SamplerPixelImage Paint(
PixelImage top,
Vector2 position,
PixelImage bottom,
IPixelImageSampler bottomMask)Parameters
| name | type | default | description |
|---|---|---|---|
| top | Pixel Image | — | |
| position | Vector2 | — | |
| bottom | Pixel Image | — | |
| bottomMask | I Pixel Image Sampler | — |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Image Processing Filters
- Package
- Image Processing
Pencil Sketch Effect
FunctionProduces a pencil-sketch effect. Useful for grayscale sketch previews, artistic filters, and line-art-like rendering.
PencilSketch -> Pixel Image
source: Pixel Image
color: Truth
sigmaS: Low Accuracy Number
sigmaR: Low Accuracy Number
shadeFactor: Low Accuracy NumberPixelImage PencilSketch(
PixelImage source,
bool color = false,
float sigmaS = 60f,
float sigmaR = 0.07f,
float shadeFactor = 0.02f)Parameters
| name | type | default | description |
|---|---|---|---|
| source | Pixel Image | — | The source image to process. |
| color | Truth | False | If true, returns the color sketch result; otherwise returns the grayscale sketch result. |
| sigmaS | Low Accuracy Number | 60 | Controls the size of the neighborhood used for smoothing. Larger values produce broader, smoother sketch regions. |
| sigmaR | Low Accuracy Number | 0.07 | Controls how strongly color or intensity differences are preserved during smoothing. Smaller values preserve sharper edges. |
| shadeFactor | Low Accuracy Number | 0.02 | Controls the amount of shading in the sketch. Smaller values generally produce darker, more pronounced shading. |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Image Processing Filters
- Package
- Image Processing
Pixelate
FunctionThis node carries no documentation.
Pixelate(source: Pixel Image, blockSize: Integer) -> Pixel Image
PixelImage Pixelate(PixelImage source, int blockSize = 8)
Parameters
| name | type | default | description |
|---|---|---|---|
| source | Pixel Image | — | |
| blockSize | Integer | 8 |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Image Processing Filters
- Package
- Image Processing
Scharr
FunctionApplies Scharr edge detection to luminance. Useful for stronger 3x3 directional gradients than Sobel.
Scharr -> Pixel Image
source: Pixel Image
dx: Integer
dy: Integer
scale: Number
delta: NumberPixelImage Scharr(
PixelImage source,
int dx = 1,
int dy = 0,
double scale = 1,
double delta = 0)Parameters
| name | type | default | description |
|---|---|---|---|
| source | Pixel Image | — | The image. |
| dx | Integer | 1 | 1 for the derivative across (vertical edges), 0 otherwise. |
| dy | Integer | 0 | 1 for the derivative down (horizontal edges), 0 otherwise. |
| scale | Number | 1 | Multiplies the response. |
| delta | Number | 0 | Added to the response before its absolute value is taken. |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Image Processing Filters
- Package
- Image Processing
Sepia
FunctionThis node carries no documentation.
Sepia(source: Pixel Image) -> Pixel Image
PixelImage Sepia(PixelImage source)
Parameters
| name | type | default | description |
|---|---|---|---|
| source | Pixel Image | — |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Image Processing Filters
- Package
- Image Processing
Sobel
FunctionApplies Sobel edge detection to luminance. Useful for directional gradients, edge maps, bump-like effects, and preprocessing.
Sobel -> Pixel Image
source: Pixel Image
dx: Integer
dy: Integer
kernelSize: Integer
scale: Number
delta: NumberPixelImage Sobel(
PixelImage source,
int dx = 1,
int dy = 0,
int kernelSize = 3,
double scale = 1,
double delta = 0)Parameters
| name | type | default | description |
|---|---|---|---|
| source | Pixel Image | — | The image. |
| dx | Integer | 1 | The order of the derivative across: 1 for vertical edges. |
| dy | Integer | 0 | The order of the derivative down: 1 for horizontal edges. |
| kernelSize | Integer | 3 | 1, 3, 5 or 7 up to 31; an even size is made odd. |
| scale | Number | 1 | Multiplies the response. |
| delta | Number | 0 | Added to the response before its absolute value is taken. |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Image Processing Filters
- Package
- Image Processing
Sobel (Edge Detection)
FunctionThis node carries no documentation.
SobelEdgeDetect(source: Pixel Image) -> Pixel Image
PixelImage SobelEdgeDetect(PixelImage source)
Parameters
| name | type | default | description |
|---|---|---|---|
| source | Pixel Image | — |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Image Processing Filters
- Package
- Image Processing
Stylization
FunctionStylization: painterly, cartoon-like abstraction that smooths low-contrast regions and darkens strong structure.
Stylization -> Pixel Image
source: Pixel Image
sigmaS: Low Accuracy Number
sigmaR: Low Accuracy NumberPixelImage Stylization(
PixelImage source,
float sigmaS = 60f,
float sigmaR = 0.45f)Parameters
| name | type | default | description |
|---|---|---|---|
| source | Pixel Image | — | The image. |
| sigmaS | Low Accuracy Number | 60 | The smoothing's reach, from 0 to 200. |
| sigmaR | Low Accuracy Number | 0.45 | How much colour difference still smooths, from 0 to 1: larger flattens more. |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Image Processing Filters
- Package
- Image Processing
Threshold
FunctionApplies simple thresholding to luminance. Useful for masks, hard black/white conversion, document cleanup, and segmentation preprocessing.
Threshold -> Pixel Image
source: Pixel Image
threshold: Number
maxValue: Number
mode: Threshold ModePixelImage Threshold(
PixelImage source,
double threshold = 128,
double maxValue = 255,
ImageProcessingFilters.ThresholdMode mode = ThresholdMode.Binary)Parameters
| name | type | default | description |
|---|---|---|---|
| source | Pixel Image | — | The image. |
| threshold | Number | 128 | The level compared against, 0 to 255; the Otsu modes choose their own. |
| maxValue | Number | 255 | The level a pixel above the threshold becomes in the binary modes. |
| mode | Threshold Mode | Binary | How a level maps against the threshold. |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Image Processing Filters
- Package
- Image Processing
To Distance Field
FunctionThis node carries no documentation.
ToDistanceField -> Grayscale16BitImage
image: Grayscale16BitImage
maxDistanceInPixel: IntegerGrayscale16BitImage ToDistanceField(
Grayscale16BitImage image,
int maxDistanceInPixel)Parameters
| name | type | default | description |
|---|---|---|---|
| image | Grayscale16BitImage | — | |
| maxDistanceInPixel | Integer | — |
Returns
| result | Grayscale16BitImage |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Image Processing Filters
- Package
- Image Processing
Vignette
FunctionThis node carries no documentation.
Vignette(source: Pixel Image, strength: Number) -> Pixel Image
PixelImage Vignette(PixelImage source, double strength = 0.5)
Parameters
| name | type | default | description |
|---|---|---|---|
| source | Pixel Image | — | |
| strength | Number | 0.5 |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Image Processing Filters
- Package
- Image Processing
Warp Affine
FunctionApplies affine rotation around image center. Useful for rotation, scale, slight geometric distortion, and preview transforms.
WarpAffine -> Pixel Image
source: Pixel Image
angleDegrees: Number
scale: Number
translateX: Number
translateY: NumberPixelImage WarpAffine(
PixelImage source,
double angleDegrees = 0,
double scale = 1,
double translateX = 0,
double translateY = 0)Parameters
| name | type | default | description |
|---|---|---|---|
| source | Pixel Image | — | The image. |
| angleDegrees | Number | 0 | The rotation in degrees, counter-clockwise. |
| scale | Number | 1 | The scale about the centre. |
| translateX | Number | 0 | Pixels moved right after rotating. |
| translateY | Number | 0 | Pixels moved down after rotating. |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Image Processing Filters
- Package
- Image Processing
Warp Perspective
FunctionApplies perspective warp from four source corners to four destination corners. Useful for document correction, keystone effects, quadrilateral remapping, and perspective distortion.
WarpPerspective -> Pixel Image
source: Pixel Image
sourcePoints: Vector2 Array
destinationPoints: Vector2 Array
outputWidth: Integer
outputHeight: IntegerPixelImage WarpPerspective(
PixelImage source,
Vector2[] sourcePoints,
Vector2[] destinationPoints,
int outputWidth,
int outputHeight)Parameters
| name | type | default | description |
|---|---|---|---|
| source | Pixel Image | — | The image. |
| sourcePoints | Vector2 Array | — | Four points in the source, in pixels. |
| destinationPoints | Vector2 Array | — | Where each of the four lands in the result, in the same order. |
| outputWidth | Integer | — | The result's width in pixels. |
| outputHeight | Integer | — | The result's height in pixels. |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Image Processing Filters
- Package
- Image Processing