← All cases

niftyreg · 284db4aa80ca8ff1110fc74c76bb2d481a267487

nonlinear-known-displacement-uint8

Warning

36,238 of 74,610 interior voxels differ in uint8 (maximum 1 intensity units); differences up to 1 unit only warn. Boundary differences exceed comparison thresholds (max absolute error 1); boundary values do not affect acceptance.

Moving image
inputs/moving-uint8.nii.gz
Reference image
inputs/fixed-uint8.nii.gz
Transform
transforms/niftyreg-nonlinear/displacement.nii.gz
Reader hint
niftyreg.displacement
Native application path
None
brainhops application path
None
Pipeline comparison
None
Application interface
python
Interpolation degree
1
Output / comparison dtype
uint8
Native reference dtype
uint8
brainhops boundary
constant
brainhops clip margin
None
Boundary approximation
Grid-zero interpolation matches the NiftyReg linear edge probe.
Capability fallback
Native boundary convention
reg_resample with -pad 0: zero contributions outside the voxel grid.

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 RMSE0.00275463InformationalSuccess
Integer mismatch count36238InformationalWarning

Interior covers 74.7% of the reference grid. Boundary maximum error: 1 (nonblocking). Boundary NRMSE: 0.00242769.

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
[
  "36,238 of 74,610 interior voxels differ in uint8 (maximum 1 intensity units); differences up to 1 unit only warn.",
  "Boundary differences exceed comparison thresholds (max absolute error 1); boundary values do not affect acceptance."
]
Differences before reference dtype conversion
{
  "interior_fraction": 0.7472956730769231,
  "interior_max_abs": 1.0,
  "interior_nrmse": 0.002754628707265187,
  "boundary_max_abs": 1.0,
  "boundary_nrmse": 0.002427692651845529,
  "boundary_warning": true,
  "all_voxels_rmse": 0.6769736104389662,
  "atol": 0.02,
  "nrmse_limit": 2e-05
}