Skip to main content

Module array4d

Module array4d 

Source
Expand description

4D spatiotemporal array support for scirs2-ndimage.

Provides Array4D<T> with shape [T×D×H×W] and operations including Gaussian filtering, temporal differencing, MIP, connected components 4D, and region tracking.

Structs§

Array4D
A 4-dimensional array with layout [time, depth, height, width].
TrackletResult
Result of tracking a labeled region across time frames.

Functions§

connected_components_4d
Compute connected components of a binary 4D array via BFS.
diff_4d_temporal
Compute temporal finite differences: output[t] = input[t+1] - input[t]. Output shape is [T-1, D, H, W].
gaussian_filter_4d
Apply separable Gaussian filtering to a 4D array.
max_intensity_projection_4d
Maximum intensity projection along the specified axis.
track_regions_4d
Track labeled regions across time frames by majority overlap.

Type Aliases§

Label4D
Label array for 4D connected components (0 = background, ≥1 = labels).