devide icon indicating copy to clipboard operation
devide copied to clipboard

add slice3dVWR interpolation mode switcher

Open GoogleCodeExporter opened this issue 9 years ago • 6 comments

Currently the slice3dVWR slices do linear interpolation.  Can we switch to
nearest neighbour?  If so, add a drop-down box to the primary interface
with which the user can change this.

Original issue reported on code.google.com by cpbotha on 12 Sep 2008 at 12:24

GoogleCodeExporter avatar Mar 21 '15 21:03 GoogleCodeExporter

Original comment by cpbotha on 4 Dec 2008 at 1:04

  • Added labels: Milestone-Release8.12

GoogleCodeExporter avatar Mar 21 '15 21:03 GoogleCodeExporter

Original comment by cpbotha on 23 Dec 2008 at 5:36

  • Added labels: Milestone-Release9.1

GoogleCodeExporter avatar Mar 21 '15 21:03 GoogleCodeExporter

Original comment by cpbotha on 28 Jul 2009 at 12:00

  • Added labels: Milestone-Release9.8
  • Removed labels: Milestone-Release9.1

GoogleCodeExporter avatar Mar 21 '15 21:03 GoogleCodeExporter

To change vtkImagePlaneWidget reslice interpolation, do the following:
{{{
# obj is a slice3dVWR instance
ipw = obj.sliceDirections._sliceDirectionsDict.values()[0]._ipws[0]
ipw.SetResliceInterpolateToNearestNeighbour()
}}}

The opengl hardware still does linear interpolation on top of this, which gives 
strange effects.  To disable that as well, do the following BEFORE adding input 
data:
{{{
ipw.SetTextureInterpolate(0)
}}}

Original comment by cpbotha on 11 Aug 2009 at 11:40

GoogleCodeExporter avatar Mar 21 '15 21:03 GoogleCodeExporter

I'm postponing this to a later release.  Although useful, I don't have a good 
use case 
for this functionality yet.  If you do, please let me know!!

Original comment by cpbotha on 11 Aug 2009 at 11:57

GoogleCodeExporter avatar Mar 21 '15 21:03 GoogleCodeExporter

Original comment by cpbotha on 11 Aug 2009 at 11:57

  • Added labels: Milestone-Release3000
  • Removed labels: Milestone-Release9.8

GoogleCodeExporter avatar Mar 21 '15 21:03 GoogleCodeExporter