How to modify interpolation mesh grids

Hello, I’d like to know if there are any modules which allow me to modify the interpolation grids? Please see the image below for various methods of alignment:
Source: Image biomarker standardisation initiative

If not in possible in the Slicer GUI, does ITK or VTK support this programmatically? Thank you for any assistance.

Do you mean changing sampling grid of image volumes? In Slicer, we refer to it as resampling of volumes and there are many modules for this - see details here:

Hi Andras, thank you for your response. I am familiar with the modification of the vowel spacing and various methods of interpolation, and it’s great that this functionality is available through several modules.

Once a volume has been down sampled with interpolation, the newly interpolated grid (as per the upper right picture) would likely represent the placement of the new voxels. If I desired to choose a method of alignment that is featured in the bottom pictures of my post, does a function exist at this time?

I do not believe one does after spending some time examining several resampling modules, but thought it may be worth asking. Perhaps in VTK or ITK?

Usually you need to specify the output geometry (image origin, spacing, axis directions), so you can easily implement any alignment strategy that you prefer.

Some modules offer resampling by a scaling factor and they need to choose some alignment strategy. For example “Crop volume” module can rescale the image and it aligns the pixel corners.

1 Like