← All cases

fsl · 284db4aa80ca8ff1110fc74c76bb2d481a267487

same-warp-nonlinear-registered-bspline2-with-affine-labels

Success

Interior and boundary comparisons satisfy all thresholds.

Moving image
inputs/moving-labels.nii.gz
Reference image
inputs/fixed-labels.nii.gz
Transform
cases/nonlinear-registered-bspline2-with-affine-labels/expected-rebased.nii.gz
Reader hint
fnirt
Native application path
applywarp on the stored rebased dense warp
brainhops application path
Load and apply the same stored rebased dense warp
Pipeline comparison
Both samplers apply the same native-converted transformation file.
Application interface
python
Interpolation degree
0
Output / comparison dtype
uint8
Native reference dtype
float32
brainhops boundary
constant
brainhops clip margin
None
Boundary approximation
Retain grid-zero for applywarp; no FLIRT-derived clipping or background rule is assumed.
Capability fallback
Native boundary convention
applywarp with default padding; the FLIRT affine edge probe does not establish nonlinear-field validity.

Interior acceptance

Floating output must pass both maximum error and normalised RMSE thresholds. NRMSE divides RMSE by the reference intensity range (at least one). For integer output, NRMSE and mismatch counts are informational: one-unit differences warn, larger interior differences fail. Boolean output requires exact equality.

MeasureObservedRequiredCheck
Maximum absolute error0≤ 1Success
Normalised RMSE0InformationalSuccess
Integer mismatch count0InformationalSuccess

Interior covers 70.4% of the reference grid. Boundary maximum error: 0 (nonblocking). Boundary NRMSE: 0.

Visual comparison

Reference, native package, brainhops, checkerboard and absolute differences
All anatomy/checkerboard panels share one intensity window. Absolute differences use their labelled scale. Slices follow reference voxel axes.
Differences before reference dtype conversion
{
  "interior_fraction": 0.7042467948717949,
  "interior_max_abs": 0.0,
  "interior_nrmse": 0.0,
  "boundary_max_abs": 0.0,
  "boundary_nrmse": 0.0,
  "boundary_warning": false,
  "all_voxels_rmse": 0.0,
  "atol": 1e-05,
  "nrmse_limit": 2e-05
}