[vtkusers] image rendering speed

mikewithascarf mikewithascarf at yahoo.com
Fri Jul 21 14:16:44 EDT 2017


Hi! I'm attempting to speed up some image rendering (lots of images in
sequence). Right now rendering time varies a lot, anywhere between 0.001 and
0.059 seconds. Here is my pipeline:

vtkImageData (3D) -> vtkImageReslice -> vtkImageMapToColors (using a lookup
table with color/opacity) -> vtkImageActor -> vtkRenderer -> QVTKWidget

I move the vtkImageReslice through the 3D volume, displaying images as I go.
Is there any way to speed things up? I'm in release mode, using a NVidia GTX
1070. If I could get it to always be less than 0.012 seconds that would be
great. Here are example timings for multiple frames in a row:

0.001 s
0.006 s
0.059 s
0.002 s
0.014 s
0.003 s
0.013 s
0.011 s
0.036 s
0.001 s
0.038 s
0.001 s
0.028 s
0.001 s

It's not even consistent per image. If I run the same test multiple times,
different frames will have very different render times. Any help would be
awesome!

Mike



--
View this message in context: http://vtk.1045678.n5.nabble.com/image-rendering-speed-tp5744115.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list