VTK.JS not implement LINEAR and CUBIC in ImageReslice.
The image generated by NEAREST will have obvious jaggedness and the effect is not good.
VTK.JS not implement LINEAR and CUBIC in ImageReslice.
The image generated by NEAREST will have obvious jaggedness and the effect is not good.
This would be a good feature to add. Pinging @finetjul, since he worked on ImageReslice.
Yes, the LINEAR and CUBIC can be implemented similarly to the NEAREST.
I looked at how it is done in VTK (C++) and wrote it in JavaScript for VTK.JS
Feel free to do the same for the other interpolation.