devide
devide copied to clipboard
add slice3dVWR interpolation mode switcher
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
Original comment by cpbotha
on 4 Dec 2008 at 1:04
- Added labels: Milestone-Release8.12
Original comment by cpbotha
on 23 Dec 2008 at 5:36
- Added labels: Milestone-Release9.1
Original comment by cpbotha
on 28 Jul 2009 at 12:00
- Added labels: Milestone-Release9.8
- Removed labels: Milestone-Release9.1
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
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
Original comment by cpbotha
on 11 Aug 2009 at 11:57
- Added labels: Milestone-Release3000
- Removed labels: Milestone-Release9.8