Divooka Reference

Image Processing Filters

38 nodes

On this page 38

Adaptive Threshold

Function

Applies adaptive thresholding to luminance. Useful for document scans, uneven lighting, OCR preprocessing, and local black/white masks.

Signature
AdaptiveThreshold -> Pixel Image
    source: Pixel Image
    maxValue: Number
    blockSize: Integer
    c: Number
    method: Adaptive Threshold Method
    invert: Truth
PixelImage AdaptiveThreshold(
    PixelImage source,
    double maxValue = 255,
    int blockSize = 11,
    double c = 2,
    ImageProcessingFilters.AdaptiveThresholdMethod method = AdaptiveThresholdMethod.Gaussian,
    bool invert = false)

Parameters

nametypedefaultdescription
sourcePixel Image—The image.
maxValueNumber255The level a pixel above its local level becomes.
blockSizeInteger11The square, in pixels, whose mean each pixel is compared with; an even size is made odd, and 3 is the least.
cNumber2Subtracted from the local mean before comparing: larger leaves fewer pixels white.
methodAdaptive Threshold MethodGaussianThe plain or the Gaussian-weighted mean.
invertTruthFalseSwaps black and white.

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Image Processing Filters
Package
Image Processing

Bilateral Filter

Function

Applies bilateral filtering. Useful for painterly smoothing, skin smoothing, and denoising while preserving major edges.

Signature
BilateralFilter -> Pixel Image
    source: Pixel Image
    diameter: Integer
    sigmaColor: Number
    sigmaSpace: Number
PixelImage BilateralFilter(
    PixelImage source,
    int diameter = 9,
    double sigmaColor = 75,
    double sigmaSpace = 75)

Parameters

nametypedefaultdescription
sourcePixel Image—The image.
diameterInteger9The neighbourhood's diameter in pixels.
sigmaColorNumber75How different a neighbour's colour may be and still count: larger mixes more colours.
sigmaSpaceNumber75How far a neighbour may be and still count, in pixels.

Returns

resultPixel 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)

Function

Canny edge detection on luminance: a binary image, white on the one-pixel edges.

Signature
CannyEdgeDetect -> Pixel Image
    source: Pixel Image
    lowThreshold: Number
    highThreshold: Number
PixelImage CannyEdgeDetect(
    PixelImage source,
    double lowThreshold = 40,
    double highThreshold = 100)

Parameters

nametypedefaultdescription
sourcePixel Image—The image.
lowThresholdNumber40A pixel whose gradient is above this is an edge if it touches one.
highThresholdNumber100A pixel whose gradient is above this is an edge.

Returns

resultPixel 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

Function

Applies CLAHE contrast enhancement to luminance. Useful for local contrast improvement, uneven lighting correction, document enhancement, and medical/scientific image previews.

Signature
CLAHE -> Pixel Image
    source: Pixel Image
    clipLimit: Number
    tileGridWidth: Integer
    tileGridHeight: Integer
PixelImage CLAHE(
    PixelImage source,
    double clipLimit = 2,
    int tileGridWidth = 8,
    int tileGridHeight = 8)

Parameters

nametypedefaultdescription
sourcePixel Image—The image.
clipLimitNumber2How much a tile's histogram may peak before it is clipped: higher allows more contrast.
tileGridWidthInteger8The number of tiles across.
tileGridHeightInteger8The number of tiles down.

Returns

resultPixel 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

Function

Converts the image to another color representation. Useful for grayscale conversion or false-color visualization of HSV/Lab/YCrCb channels.

Signature
ConvertColorSpace -> Pixel Image
    source: Pixel Image
    colorSpace: Color Space
PixelImage ConvertColorSpace(
    PixelImage source,
    ImageProcessingFilters.ColorSpace colorSpace = ColorSpace.Grayscale)

Parameters

nametypedefaultdescription
sourcePixel Image—The image.
colorSpaceColor SpaceGrayscaleThe representation shown; its three channels are drawn as blue, green and red.

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Image Processing Filters
Package
Image Processing

Detail Enhance

Function

Enhances local detail and contrast. Useful for HDR-like detail pop, texture enhancement, and sharpening-like visual effects.

Signature
DetailEnhance -> Pixel Image
    source: Pixel Image
    sigmaS: Low Accuracy Number
    sigmaR: Low Accuracy Number
PixelImage DetailEnhance(
    PixelImage source,
    float sigmaS = 10f,
    float sigmaR = 0.15f)

Parameters

nametypedefaultdescription
sourcePixel Image—The image.
sigmaSLow Accuracy Number10The scale of what counts as detail, from 0 to 200.
sigmaRLow Accuracy Number0.15How much lightness difference still counts as detail, from 0 to 1.

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Image Processing Filters
Package
Image Processing

Dilate

Function

Dilates bright regions. Useful for thickening masks, connecting broken lines, and expanding detected regions.

Signature
Dilate -> Pixel Image
    source: Pixel Image
    kernelSize: Integer
    iterations: Integer
PixelImage Dilate(
    PixelImage source,
    int kernelSize = 3,
    int iterations = 1)

Parameters

nametypedefaultdescription
sourcePixel Image—The image.
kernelSizeInteger3The square's width in pixels; an even size is made odd.
iterationsInteger1How many times to dilate.

Returns

resultPixel 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

Function

Height map should drive the direction. One-sided directional smudge.

Signature
DirectionalGradientSmudge -> Pixel Image
    source: Pixel Image
    heightMap: I Pixel Image Sampler
    intensity: Low Accuracy Number
    smudgeDownhill: Truth
    samples: Integer
PixelImage DirectionalGradientSmudge(
    PixelImage source,
    IPixelImageSampler heightMap,
    float intensity,
    bool smudgeDownhill,
    int samples = 8)

Parameters

nametypedefaultdescription
sourcePixel Image—
heightMapI Pixel Image Sampler—A heightmap that drives the direction of smudge.
intensityLow Accuracy Number—
smudgeDownhillTruth—True to sample opposite the gradient (high into low / white into black), false to sample along the gradient (low into high / black into white).
samplesInteger8

Returns

resultPixel 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

Function

Edge-preserving smoothing. Useful for simplifying textures while keeping strong object boundaries.

Signature
EdgePreservingFilter -> Pixel Image
    source: Pixel Image
    method: Edge Preserving Method
    sigmaS: Low Accuracy Number
    sigmaR: Low Accuracy Number
PixelImage EdgePreservingFilter(
    PixelImage source,
    ImageProcessingFilters.EdgePreservingMethod method = EdgePreservingMethod.Recursive,
    float sigmaS = 60f,
    float sigmaR = 0.4f)

Parameters

nametypedefaultdescription
sourcePixel Image—The image.
methodEdge Preserving MethodRecursiveRecursive filtering, or normalised convolution.
sigmaSLow Accuracy Number60The smoothing's reach, from 0 to 200.
sigmaRLow Accuracy Number0.4How much colour difference still smooths, from 0 to 1.

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Image Processing Filters
Package
Image Processing

Emboss

Function

This node carries no documentation.

Signature
Emboss(source: Pixel Image) -> Pixel Image
PixelImage Emboss(PixelImage source)

Parameters

nametypedefaultdescription
sourcePixel Image—

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Image Processing Filters
Package
Image Processing

Equalize Histogram

Function

Applies global histogram equalization to luminance. Useful for improving contrast in flat grayscale images and preprocessing threshold/edge detection.

Signature
EqualizeHistogram(source: Pixel Image) -> Pixel Image
PixelImage EqualizeHistogram(PixelImage source)

Parameters

nametypedefaultdescription
sourcePixel Image—The image.

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Image Processing Filters
Package
Image Processing

Erode

Function

Erodes bright regions. Useful for shrinking masks, removing tiny white specks, and separating touching blobs.

Signature
Erode -> Pixel Image
    source: Pixel Image
    kernelSize: Integer
    iterations: Integer
PixelImage Erode(
    PixelImage source,
    int kernelSize = 3,
    int iterations = 1)

Parameters

nametypedefaultdescription
sourcePixel Image—The image.
kernelSizeInteger3The square's width in pixels; an even size is made odd.
iterationsInteger1How many times to erode.

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Image Processing Filters
Package
Image Processing

Find Contours

Function

Finds contours from a thresholded luminance image and draws them over the source. Useful for blob outlines, shape extraction previews, and segmentation debugging.

Signature
FindContours -> Pixel Image
    source: Pixel Image
    threshold: Number
    retrieval: Contour Retrieval
    thickness: Integer
PixelImage FindContours(
    PixelImage source,
    double threshold = 128,
    ImageProcessingFilters.ContourRetrieval retrieval = ContourRetrieval.External,
    int thickness = 2)

Parameters

nametypedefaultdescription
sourcePixel Image—The image.
thresholdNumber128Pixels brighter than this, 0 to 255, form the regions whose borders are found.
retrievalContour RetrievalExternalOnly the outermost borders, or all of them.
thicknessInteger2The drawn line's width in pixels.

Returns

resultPixel 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

Function

This node carries no documentation.

Signature
FloydSteinbergDither(source: Pixel Image) -> Pixel Image
PixelImage FloydSteinbergDither(PixelImage source)

Parameters

nametypedefaultdescription
sourcePixel Image—

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Image Processing Filters
Package
Image Processing

Gaussian Blur

Function

Applies Gaussian blur. Useful for soft focus, denoising before edge detection, glow bases, and reducing small texture detail.

Signature
GaussianBlur -> Pixel Image
    source: Pixel Image
    kernelSize: Integer
    sigma: Number
PixelImage GaussianBlur(
    PixelImage source,
    int kernelSize = 5,
    double sigma = 0)

Parameters

nametypedefaultdescription
sourcePixel Image—The image.
kernelSizeInteger5The kernel's width in pixels; an even size is made odd.
sigmaNumber0The Gaussian's spread in pixels; 0 derives it from the kernel size.

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Image Processing Filters
Package
Image Processing

Gradient Smudge

Function

Height map should drive the direction

Signature
GradientSmudge -> Pixel Image
    source: Pixel Image
    heightMap: I Pixel Image Sampler
    intensity: Low Accuracy Number
    samples: Integer
PixelImage GradientSmudge(
    PixelImage source,
    IPixelImageSampler heightMap,
    float intensity,
    int samples = 8)

Parameters

nametypedefaultdescription
sourcePixel Image—
heightMapI Pixel Image Sampler—A heightmap that drives the direction of smudge.
intensityLow Accuracy Number—
samplesInteger8

Returns

resultPixel 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

Function

Applies a monochrome halftone effect using circular dots.
Darker source areas produce larger black dots on a white background.

Signature
HalftoneFilter -> Pixel Image
    source: Pixel Image
    cellSize: Integer
    angleDegrees: Number
PixelImage HalftoneFilter(
    PixelImage source,
    int cellSize = 8,
    double angleDegrees = 45)

Parameters

nametypedefaultdescription
sourcePixel Image—
cellSizeInteger8
angleDegreesNumber45

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Image Processing Filters
Package
Image Processing

HD Scale

Function

Speedy detail preserving upscale through resampling with Lanczos-4. No generated details.

Signature
HDScale -> Pixel Image
    source: Pixel Image
    width: Integer
    height: Integer
PixelImage HDScale(PixelImage source, int width, int height)

Parameters

nametypedefaultdescription
sourcePixel Image—The image.
widthInteger—The result's width in pixels.
heightInteger—The result's height in pixels.

Returns

resultPixel 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

Function

Upscales the image to fit within the target size using Lanczos-4 resampling while preserving aspect ratio.

Signature
HDScaleFit -> Pixel Image
    source: Pixel Image
    maxWidth: Integer
    maxHeight: Integer
    allowDownscale: Truth
PixelImage HDScaleFit(
    PixelImage source,
    int maxWidth = 1920,
    int maxHeight = 1080,
    bool allowDownscale = false)

Parameters

nametypedefaultdescription
sourcePixel Image—The image.
maxWidthInteger1920The widest the result may be, in pixels.
maxHeightInteger1080The tallest the result may be, in pixels.
allowDownscaleTruthFalseWhether an image already larger than the box is made smaller to fit it.

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Image Processing Filters
Package
Image Processing

Hough Circles

Function

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.

Signature
HoughCircles -> Pixel Image
    source: Pixel Image
    dp: Number
    minDist: Number
    param1: Number
    param2: Number
    minRadius: Integer
    maxRadius: Integer
    thickness: Integer
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)

Parameters

nametypedefaultdescription
sourcePixel Image—The image.
dpNumber1The accumulator's coarseness: 1 is the image's resolution, 2 half of it.
minDistNumber40The least distance between two circles' centres, in pixels.
param1Number100The edge detector's high threshold (the low is half of it).
param2Number30How many votes a centre needs: smaller finds more circles, some false.
minRadiusInteger0The smallest radius, in pixels.
maxRadiusInteger0The largest radius, in pixels; 0 for the image's size.
thicknessInteger2The drawn circle's width in pixels.

Returns

resultPixel 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

Function

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.

Signature
HoughLines -> Pixel Image
    source: Pixel Image
    cannyLowThreshold: Number
    cannyHighThreshold: Number
    rho: Number
    thetaDegrees: Number
    threshold: Integer
    minLineLength: Number
    maxLineGap: Number
    thickness: Integer
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)

Parameters

nametypedefaultdescription
sourcePixel Image—The image.
cannyLowThresholdNumber40The edge detector's low threshold (see Canny).
cannyHighThresholdNumber100The edge detector's high threshold.
rhoNumber1The distance resolution of the accumulator, in pixels.
thetaDegreesNumber1The angle resolution of the accumulator, in degrees.
thresholdInteger50How many edge points must vote for a line.
minLineLengthNumber50The shortest segment kept, in pixels.
maxLineGapNumber10The widest gap a segment may bridge, in pixels.
thicknessInteger2The drawn line's width in pixels.

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Image Processing Filters
Package
Image Processing

Laplacian

Function

Applies Laplacian edge detection to luminance. Useful for high-pass edge effects and quick structure visualization.

Signature
Laplacian -> Pixel Image
    source: Pixel Image
    kernelSize: Integer
    scale: Number
    delta: Number
PixelImage Laplacian(
    PixelImage source,
    int kernelSize = 3,
    double scale = 1,
    double delta = 0)

Parameters

nametypedefaultdescription
sourcePixel Image—The image.
kernelSizeInteger31 or 3 for the 3-by-3 Laplacians, 5 to 31 for second Sobel derivatives; an even size is made odd.
scaleNumber1Multiplies the response.
deltaNumber0Added to the response before its absolute value is taken.

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Image Processing Filters
Package
Image Processing

Median Blur

Function

Applies median blur. Useful for removing salt-and-pepper noise while preserving stronger edges better than Gaussian blur.

Signature
MedianBlur -> Pixel Image
    source: Pixel Image
    kernelSize: Integer
PixelImage MedianBlur(PixelImage source, int kernelSize = 5)

Parameters

nametypedefaultdescription
sourcePixel Image—The image.
kernelSizeInteger5The square's width in pixels; an even size is made odd.

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Image Processing Filters
Package
Image Processing

Morphology

Function

Applies a morphology operation. Useful for mask cleanup, closing gaps, opening noise, extracting highlights, and structural image effects.

Signature
Morphology -> Pixel Image
    source: Pixel Image
    operation: Morphology Operation
    kernelSize: Integer
    iterations: Integer
PixelImage Morphology(
    PixelImage source,
    ImageProcessingFilters.MorphologyOperation operation = MorphologyOperation.Close,
    int kernelSize = 3,
    int iterations = 1)

Parameters

nametypedefaultdescription
sourcePixel Image—The image.
operationMorphology OperationCloseOpen, close, gradient, top hat or black hat.
kernelSizeInteger3The square's width in pixels; an even size is made odd.
iterationsInteger1How many times each erosion and dilation is applied.

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Image Processing Filters
Package
Image Processing

Morphology Gradient

Function

Applies morphology gradient. Useful for outline extraction, mask boundaries, and a bold edge-like visual effect.

Signature
MorphologyGradient -> Pixel Image
    source: Pixel Image
    kernelSize: Integer
    iterations: Integer
PixelImage MorphologyGradient(
    PixelImage source,
    int kernelSize = 3,
    int iterations = 1)

Parameters

nametypedefaultdescription
sourcePixel Image—The image.
kernelSizeInteger3The square's width in pixels; an even size is made odd.
iterationsInteger1How many times each erosion and dilation is applied.

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Image Processing Filters
Package
Image Processing

Paint

Function

This node carries no documentation.

Signature
Paint -> Pixel Image
    top: Pixel Image
    position: Vector2
    bottom: Pixel Image
    bottomMask: I Pixel Image Sampler
PixelImage Paint(
    PixelImage top,
    Vector2 position,
    PixelImage bottom,
    IPixelImageSampler bottomMask)

Parameters

nametypedefaultdescription
topPixel Image—
positionVector2—
bottomPixel Image—
bottomMaskI Pixel Image Sampler—

Returns

resultPixel 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

Function

Produces a pencil-sketch effect. Useful for grayscale sketch previews, artistic filters, and line-art-like rendering.

Signature
PencilSketch -> Pixel Image
    source: Pixel Image
    color: Truth
    sigmaS: Low Accuracy Number
    sigmaR: Low Accuracy Number
    shadeFactor: Low Accuracy Number
PixelImage PencilSketch(
    PixelImage source,
    bool color = false,
    float sigmaS = 60f,
    float sigmaR = 0.07f,
    float shadeFactor = 0.02f)

Parameters

nametypedefaultdescription
sourcePixel Image—The source image to process.
colorTruthFalseIf true, returns the color sketch result; otherwise returns the grayscale sketch result.
sigmaSLow Accuracy Number60Controls the size of the neighborhood used for smoothing. Larger values produce broader, smoother sketch regions.
sigmaRLow Accuracy Number0.07Controls how strongly color or intensity differences are preserved during smoothing. Smaller values preserve sharper edges.
shadeFactorLow Accuracy Number0.02Controls the amount of shading in the sketch. Smaller values generally produce darker, more pronounced shading.

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Image Processing Filters
Package
Image Processing

Pixelate

Function

This node carries no documentation.

Signature
Pixelate(source: Pixel Image, blockSize: Integer) -> Pixel Image
PixelImage Pixelate(PixelImage source, int blockSize = 8)

Parameters

nametypedefaultdescription
sourcePixel Image—
blockSizeInteger8

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Image Processing Filters
Package
Image Processing

Scharr

Function

Applies Scharr edge detection to luminance. Useful for stronger 3x3 directional gradients than Sobel.

Signature
Scharr -> Pixel Image
    source: Pixel Image
    dx: Integer
    dy: Integer
    scale: Number
    delta: Number
PixelImage Scharr(
    PixelImage source,
    int dx = 1,
    int dy = 0,
    double scale = 1,
    double delta = 0)

Parameters

nametypedefaultdescription
sourcePixel Image—The image.
dxInteger11 for the derivative across (vertical edges), 0 otherwise.
dyInteger01 for the derivative down (horizontal edges), 0 otherwise.
scaleNumber1Multiplies the response.
deltaNumber0Added to the response before its absolute value is taken.

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Image Processing Filters
Package
Image Processing

Sepia

Function

This node carries no documentation.

Signature
Sepia(source: Pixel Image) -> Pixel Image
PixelImage Sepia(PixelImage source)

Parameters

nametypedefaultdescription
sourcePixel Image—

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Image Processing Filters
Package
Image Processing

Sobel

Function

Applies Sobel edge detection to luminance. Useful for directional gradients, edge maps, bump-like effects, and preprocessing.

Signature
Sobel -> Pixel Image
    source: Pixel Image
    dx: Integer
    dy: Integer
    kernelSize: Integer
    scale: Number
    delta: Number
PixelImage Sobel(
    PixelImage source,
    int dx = 1,
    int dy = 0,
    int kernelSize = 3,
    double scale = 1,
    double delta = 0)

Parameters

nametypedefaultdescription
sourcePixel Image—The image.
dxInteger1The order of the derivative across: 1 for vertical edges.
dyInteger0The order of the derivative down: 1 for horizontal edges.
kernelSizeInteger31, 3, 5 or 7 up to 31; an even size is made odd.
scaleNumber1Multiplies the response.
deltaNumber0Added to the response before its absolute value is taken.

Returns

resultPixel 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)

Function

This node carries no documentation.

Signature
SobelEdgeDetect(source: Pixel Image) -> Pixel Image
PixelImage SobelEdgeDetect(PixelImage source)

Parameters

nametypedefaultdescription
sourcePixel Image—

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Image Processing Filters
Package
Image Processing

Stylization

Function

Stylization: painterly, cartoon-like abstraction that smooths low-contrast regions and darkens strong structure.

Signature
Stylization -> Pixel Image
    source: Pixel Image
    sigmaS: Low Accuracy Number
    sigmaR: Low Accuracy Number
PixelImage Stylization(
    PixelImage source,
    float sigmaS = 60f,
    float sigmaR = 0.45f)

Parameters

nametypedefaultdescription
sourcePixel Image—The image.
sigmaSLow Accuracy Number60The smoothing's reach, from 0 to 200.
sigmaRLow Accuracy Number0.45How much colour difference still smooths, from 0 to 1: larger flattens more.

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Image Processing Filters
Package
Image Processing

Threshold

Function

Applies simple thresholding to luminance. Useful for masks, hard black/white conversion, document cleanup, and segmentation preprocessing.

Signature
Threshold -> Pixel Image
    source: Pixel Image
    threshold: Number
    maxValue: Number
    mode: Threshold Mode
PixelImage Threshold(
    PixelImage source,
    double threshold = 128,
    double maxValue = 255,
    ImageProcessingFilters.ThresholdMode mode = ThresholdMode.Binary)

Parameters

nametypedefaultdescription
sourcePixel Image—The image.
thresholdNumber128The level compared against, 0 to 255; the Otsu modes choose their own.
maxValueNumber255The level a pixel above the threshold becomes in the binary modes.
modeThreshold ModeBinaryHow a level maps against the threshold.

Returns

resultPixel 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

Function

This node carries no documentation.

Signature
ToDistanceField -> Grayscale16BitImage
    image: Grayscale16BitImage
    maxDistanceInPixel: Integer
Grayscale16BitImage ToDistanceField(
    Grayscale16BitImage image,
    int maxDistanceInPixel)

Parameters

nametypedefaultdescription
imageGrayscale16BitImage—
maxDistanceInPixelInteger—

Returns

resultGrayscale16BitImage
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Image Processing Filters
Package
Image Processing

Vignette

Function

This node carries no documentation.

Signature
Vignette(source: Pixel Image, strength: Number) -> Pixel Image
PixelImage Vignette(PixelImage source, double strength = 0.5)

Parameters

nametypedefaultdescription
sourcePixel Image—
strengthNumber0.5

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Image Processing Filters
Package
Image Processing

Warp Affine

Function

Applies affine rotation around image center. Useful for rotation, scale, slight geometric distortion, and preview transforms.

Signature
WarpAffine -> Pixel Image
    source: Pixel Image
    angleDegrees: Number
    scale: Number
    translateX: Number
    translateY: Number
PixelImage WarpAffine(
    PixelImage source,
    double angleDegrees = 0,
    double scale = 1,
    double translateX = 0,
    double translateY = 0)

Parameters

nametypedefaultdescription
sourcePixel Image—The image.
angleDegreesNumber0The rotation in degrees, counter-clockwise.
scaleNumber1The scale about the centre.
translateXNumber0Pixels moved right after rotating.
translateYNumber0Pixels moved down after rotating.

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Image Processing Filters
Package
Image Processing

Warp Perspective

Function

Applies perspective warp from four source corners to four destination corners. Useful for document correction, keystone effects, quadrilateral remapping, and perspective distortion.

Signature
WarpPerspective -> Pixel Image
    source: Pixel Image
    sourcePoints: Vector2 Array
    destinationPoints: Vector2 Array
    outputWidth: Integer
    outputHeight: Integer
PixelImage WarpPerspective(
    PixelImage source,
    Vector2[] sourcePoints,
    Vector2[] destinationPoints,
    int outputWidth,
    int outputHeight)

Parameters

nametypedefaultdescription
sourcePixel Image—The image.
sourcePointsVector2 Array—Four points in the source, in pixels.
destinationPointsVector2 Array—Where each of the four lands in the result, in the same order.
outputWidthInteger—The result's width in pixels.
outputHeightInteger—The result's height in pixels.

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Image Processing Filters
Package
Image Processing