← All cases

fsl · 284db4aa80ca8ff1110fc74c76bb2d481a267487

nonlinear-registered-bspline3-with-affine-left-handed

Warning

1 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-left-handed.nii.gz
Reference image
inputs/fixed.nii.gz
Transform
transforms/fsl-nonlinear/registered-order3-coefficients.nii.gz
Reader hint
fnirt
Native application path
convertwarp rasterization and rebasing, then applywarp
brainhops application path
Evaluate the original coefficient spline directly
Pipeline comparison
These pipelines differ by a native dense rasterization step. The same-warp companion case isolates application agreement. Acceptance thresholds are unchanged.
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 RMSE4.00328e-06InformationalSuccess
Integer mismatch count1InformationalWarning

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
[
  "1 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.5000076293945312,
  "interior_nrmse": 0.00030580085654492126,
  "boundary_max_abs": 93.0,
  "boundary_nrmse": 0.006534409747771063,
  "boundary_warning": true,
  "all_voxels_rmse": 3.3576608210217347,
  "atol": 0.02,
  "nrmse_limit": 2e-05
}