StackSlices<T>

Models & Types · AiDotNet.Augmentation.Image

Stacks adjacent 2D slices to create multi-channel input (useful for 3D volume processing).

Inheritance: AugmentationBase<T, ImageTensor<T>> → ImageAugmenterBase<T> → StackSlices<T>

Constructors

Constructor Summary
StackSlices(int numSlices, double probability)

Properties

Property Summary
int NumSlices { get; }

Methods

Method Summary
IDictionary<string, object> GetParameters()
ImageTensor<T> ApplyStackSlices(ImageTensor<T>[] slices) Stacks multiple slices into a single multi-channel image.