jamesavery / maxibone

SRμCT Bone tomography analysis
0 stars 0 forks source link

Diffusion field histogram heavily striped due to big steps between field values near implant #3

Closed jamesavery closed 2 years ago

jamesavery commented 2 years ago

The implant diffusion field is designed to accurately track reflective "glow" near high-contrast interfaces such as near the titanium implant.

Far away from the implant, the values change slowly and smoothly. However, near the implant, they change steeply. Together wit the way the field is generated (repeated Gaussian blurring with bright source at mask), the result is that there are few field values in the near-implant range, with big jumps between them, yielding 2D histograms with separated horizontal lines instead of smooth continuous shapes.

The proposed solution is to interpolate: Instead of using nearest neighbor sampling of the field, use 2x2x2 linear resampling around the voxel position in the field.