Kitware / VolView

Kitware VolView: an all-in-one radiological viewer!
https://volview.kitware.com
Apache License 2.0
185 stars 60 forks source link

Turn off image/texture interpolation when rendering slice data #447

Open aylward opened 1 year ago

aylward commented 1 year ago

There should be an option to turn off image data interpolation when rendering in the 2D views - so that the voxel boundaries / resolution of the image becomes more apparent. Interpolation of medical data should be optional and done with caution.

lchauvin commented 7 months ago

I also was looking for this feature.

I don't mind implementing it, but I'm not sure exactly how.

I dig a bit into it, and found in LabelMapSliceRepProxy/index.js this line model.property.setInterpolationType(InterpolationType.NEAREST);, so I thought about doing the same thing for IJKSliceRepresentationProxy. However, it seems this model property doesn't have a setInterpolationType method.