| Home | | | Quick start | | | Cookbook | | | All symbols | | | Analytical index | | | Namespaces | | | Syntax | | | Statements | | | CX | | | Frequency | | | Functions | | | Examples | | | Examples by command |
Multi-frame images, videos, temporal processing and stack measurements.
Symbols in this namespace: 21
| Symbol | Kind | Category | Description |
|---|---|---|---|
STACK.ABSDIFF_PREV | Command | Stack / frame statements | Builds a stack of absolute differences between consecutive frames. Output frames = input frames - 1. |
STACK.APPEND | Command | Stack / frame statements | Appends one image or all frames from another stack to an existing stack. All frames must have the same size and OpenCV type. |
STACK.AVERAGE | Command | Stack / frame statements | Reduces a stack to a single average image. |
STACK.DELETE | Command | Stack / frame statements | Removes one zero-based frame and returns a new stack. The command refuses to produce an empty stack. |
STACK.FPS | Function | Stack / frame functions | FPS associated with the video stack. |
STACK.FRAME | Function | Stack / frame functions | Extracts a stack frame as a single image. |
STACK.FRAMES | Function | Stack / frame functions | Number of frames in the stack, or 1 for a single image. |
STACK.FROM_IMAGES | Command | Stack / frame statements | Creates a stack directly from images generated or loaded at runtime. All frames must have the same size and OpenCV type. |
STACK.INSERT | Command | Stack / frame statements | Inserts one image, or all frames from another stack, at zero-based index. Index 0 inserts before the first frame; index STACK.FRAMES(st) appends at the end. |
STACK.INTERPOLATE | Command | Stack / frame statements | Upsamples a stack by inserting interpolated frames between each original pair. Methods: LINEAR/BLEND or NEAREST. Output FPS is source FPS multiplied by factor when source FPS is known. |
STACK.MAX_IMAGE | Command | Stack / frame statements | Reduces a stack to a per-pixel temporal maximum image. |
STACK.MEAN_SIGNAL | Function | Stack / frame functions | Returns one temporal sample per frame, computed as frame mean. mode defaults to GRAY; also supports ALL, B, G, R and A. |
STACK.MEDIAN | Command | Stack / frame statements | Reduces a stack to a robust per-pixel median image. |
STACK.MIN_IMAGE | Command | Stack / frame statements | Reduces a stack to a per-pixel temporal minimum image. |
STACK.PIXEL_SERIES | Function | Stack / frame functions | Returns the temporal series of one pixel/channel as a numeric array. |
STACK.RANGE | Command | Stack / frame statements | Extracts a sub-stack starting at zero-based frame index first and containing up to count frames. |
STACK.RESAMPLE_FPS | Command | Stack / frame statements | Resamples a stack to a requested FPS using temporal interpolation. Requires a valid source FPS greater than zero. Methods: LINEAR/BLEND or NEAREST. |
STACK.SET_FPS | Command | Stack / frame statements | Sets FPS metadata on a stack without changing pixels. Useful for synthetic/image-sequence stacks before STACK.RESAMPLE_FPS. |
STACK.STABILIZE | Command | Stack / frame statements | Stabilizes all frames onto one reference frame. Methods: TRANSLATION, AFFINE, ORB_HOMOGRAPHY. A second output variable receives a transform table: frame, methodCode, quality, inliers, and 3x3 matrix coefficients. |
STACK.STDDEV_IMAGE | Command | Stack / frame statements | Reduces a stack to a 32/64-bit standard-deviation image that maps temporal variability per pixel. |
STACK.TEMPORAL_FILTER | Command | Stack / frame statements | Applies a centered temporal moving-window filter to each frame. Methods: MEAN/AVG, MEDIAN, MIN, MAX. Edges use the available clipped window. |
STACK.ABSDIFF_PREV stack AS dst
Builds a stack of absolute differences between consecutive frames. Output frames = input frames - 1.
STACK.ABSDIFF_PREV st AS motionSTACK.APPEND stack, image AS dst
Appends one image or all frames from another stack to an existing stack. All frames must have the same size and OpenCV type.
STACK.APPEND st, img AS st2STACK.AVERAGE stack AS dst
Reduces a stack to a single average image.
STACK.AVERAGE st AS avgSTACK.DELETE stack, index AS dst
Removes one zero-based frame and returns a new stack. The command refuses to produce an empty stack.
STACK.DELETE st, 10 AS st2STACK.FPS(image)
FPS associated with the video stack.
value = STACK.FPS(image)STACK.FRAME(stack,index)
Extracts a stack frame as a single image.
value = STACK.FRAME(stack,index)STACK.FRAMES(image)
Number of frames in the stack, or 1 for a single image.
value = STACK.FRAMES(image)STACK.FROM_IMAGES image1, image2 [, image3 ...] AS dst
Creates a stack directly from images generated or loaded at runtime. All frames must have the same size and OpenCV type.
Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.
| Parameter | Meaning |
|---|---|
image3 | Optional parameter. If omitted, the command uses its internal default. |
STACK.FROM_IMAGES img0, img1, img2 AS stSTACK.INSERT stack, index, imageOrStack AS dst
Inserts one image, or all frames from another stack, at zero-based index. Index 0 inserts before the first frame; index STACK.FRAMES(st) appends at the end.
STACK.INSERT st, 0, firstFrame AS st2STACK.INTERPOLATE stack, factor [, method] AS dst
Upsamples a stack by inserting interpolated frames between each original pair. Methods: LINEAR/BLEND or NEAREST. Output FPS is source FPS multiplied by factor when source FPS is known.
Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.
| Parameter | Meaning |
|---|---|
method | OpenCV method selector accepted by the command. |
STACK.INTERPOLATE st, 2, "LINEAR" AS slow
STACK.INTERPOLATE st, 4, "NEAREST" AS steppedSTACK.MAX_IMAGE stack AS dst
Reduces a stack to a per-pixel temporal maximum image.
STACK.MAX_IMAGE st AS mxSTACK.MEAN_SIGNAL(stack [, mode])
Returns one temporal sample per frame, computed as frame mean. mode defaults to GRAY; also supports ALL, B, G, R and A.
Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.
| Parameter | Meaning |
|---|---|
mode | Mode selector; accepted values are described in the command text. |
signal = STACK.MEAN_SIGNAL(st, "GRAY")STACK.MEDIAN stack AS dst
Reduces a stack to a robust per-pixel median image.
STACK.MEDIAN st AS medSTACK.MIN_IMAGE stack AS dst
Reduces a stack to a per-pixel temporal minimum image.
STACK.MIN_IMAGE st AS mnSTACK.PIXEL_SERIES(stack, x, y [, channel])
Returns the temporal series of one pixel/channel as a numeric array.
Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.
| Parameter | Meaning |
|---|---|
channel | Zero-based channel index; some commands accept -1 for grayscale/all channels. |
s = STACK.PIXEL_SERIES(st, 120, 80, 0)
p = DPLOT.CREATE("Pixel series")
DPLOT.ADDY p, "p(120,80)", sSTACK.RANGE stack, first, count AS dst
Extracts a sub-stack starting at zero-based frame index first and containing up to count frames.
STACK.RANGE st, 10, 50 AS clipSTACK.RESAMPLE_FPS stack, newFps [, method] AS dst
Resamples a stack to a requested FPS using temporal interpolation. Requires a valid source FPS greater than zero. Methods: LINEAR/BLEND or NEAREST.
Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.
| Parameter | Meaning |
|---|---|
method | OpenCV method selector accepted by the command. |
STACK.RESAMPLE_FPS st, 25.0, "LINEAR" AS st25STACK.SET_FPS stack, fps AS dst
Sets FPS metadata on a stack without changing pixels. Useful for synthetic/image-sequence stacks before STACK.RESAMPLE_FPS.
STACK.SET_FPS st, 10.0 AS st10STACK.STABILIZE stack [, method [, referenceIndex [, maxFeatures [, ransacThreshold [, borderValue]]]]] AS dst[, transforms]
Stabilizes all frames onto one reference frame. Methods: TRANSLATION, AFFINE, ORB_HOMOGRAPHY. A second output variable receives a transform table: frame, methodCode, quality, inliers, and 3x3 matrix coefficients.
Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.
| Parameter | Meaning |
|---|---|
method | OpenCV method selector accepted by the command. |
referenceIndex | Optional parameter. If omitted, the command uses its internal default. |
maxFeatures | Optional parameter. If omitted, the command uses its internal default. |
ransacThreshold | Optional parameter. If omitted, the command uses its internal default. |
borderValue | Constant value used to fill pixels outside the source image after a transform. |
transforms | Optional parameter. If omitted, the command uses its internal default. |
STACK.STABILIZE st, TRANSLATION AS stab
STACK.STABILIZE st, AFFINE, 0, 800, 3.0 AS stab, trSTACK.STDDEV_IMAGE stack AS dst
Reduces a stack to a 32/64-bit standard-deviation image that maps temporal variability per pixel.
STACK.STDDEV_IMAGE st AS sigmaSTACK.TEMPORAL_FILTER stack, radius [, method] AS dst
Applies a centered temporal moving-window filter to each frame. Methods: MEAN/AVG, MEDIAN, MIN, MAX. Edges use the available clipped window.
Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.
| Parameter | Meaning |
|---|---|
method | OpenCV method selector accepted by the command. |
STACK.TEMPORAL_FILTER st, 2, "MEAN" AS denoised
STACK.TEMPORAL_FILTER st, 1, "MEDIAN" AS despeckled