← All cases

fsl · 284db4aa80ca8ff1110fc74c76bb2d481a267487

same-warp-nonlinear-registered-bspline3-with-affine-native

Warning

3 of 70,318 interior voxels differ in int16 (maximum 1 intensity units); differences up to 1 unit only warn. Boundary differences exceed comparison thresholds (max absolute error 93); boundary values do not affect acceptance.

Moving image
inputs/moving.nii.gz
Reference image
inputs/fixed.nii.gz
Transform
cases/nonlinear-registered-bspline3-with-affine-native/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
1
Output / comparison dtype
int16
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 error1≤ 1Warning
Normalised RMSE6.93388e-06InformationalSuccess
Integer mismatch count3InformationalWarning

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

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.
Warnings
[
  "3 of 70,318 interior voxels differ in int16 (maximum 1 intensity units); differences up to 1 unit only warn.",
  "Boundary differences exceed comparison thresholds (max absolute error 93); boundary values do not affect acceptance."
]
Differences before reference dtype conversion
{
  "interior_fraction": 0.704306891025641,
  "interior_max_abs": 0.500030517578125,
  "interior_nrmse": 0.00030580085814258277,
  "boundary_max_abs": 93.0,
  "boundary_nrmse": 0.006534409747693148,
  "boundary_warning": true,
  "all_voxels_rmse": 3.357660821072942,
  "atol": 0.02,
  "nrmse_limit": 2e-05
}