NIfTILoader (Preclinical)
Purpose. Load a NIfTI/Analyze file into the pipeline context as either AbsData or Image.
Context I/O
Writes: - If
target="AbsData"→ (X,Y,N) - Iftarget="Image"→ (X,Y,Z,NR,1) - Also setssavedir(creates if needed)
Parameters
Key |
Type / Default |
Meaning |
|---|---|---|
|
str / required |
Path to .nii/.nii.gz or .hdr/.img |
|
str / |
|
|
bool / |
When |
|
str / |
Output directory |
YAML example
modules:
- name: NIfTILoader
params:
path: ./input/asl.nii.gz
target: Image
savedir: ./results/asl_case1