[vtkusers] performance issue
vlibertiaux
vlibertiaux at gmail.com
Wed Feb 23 16:29:54 EST 2011
Hello David,
the original image is 820*830*215, the clipped image is about 150*250*50.
The original code (http://codepad.org/DGSZU6XH) indeed used
vtkImplicitFunctionToImageStencil and vtkImplicitDataSet.
For some reason, it is not working anymore with vtk5.6 (the DeepCopy in line
47 is not properly executed), that's why I rewrote it using vtkImageReslice.
This part of the code executed in less than 5s in the original version and
now takes 18s.
V.
--
View this message in context: http://vtk.1045678.n5.nabble.com/performance-issue-tp3397693p3397744.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list