<html><head><style type="text/css"><!-- DIV {margin:0px} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div>Hi Lyubomir,<br>
<br>
There is nothing special about the number "256" in vtkImageReslice,<br>
so the loss of performance is probably due to a secondary issue.<br>
<br>
For example, if you are using vtkImageActor or vtkImagePlaneWidget<br>
to display the image, note that the size of the OpenGL texture is always<br>
a power of two, so an image that is 257 pixels on a side will be displayed<br>
on a texture that is 512 pixels on a side.<br>
<br>
- David<br><br>
<br>----- Original Message ----<br>From: Lyubomir Zagorchev <lzagorch@verizon.net><br>To: vtkusers@vtk.org<br>Sent: Saturday, March 25, 2006 11:45:15 AM<br>Subject: [vtkusers] vtkImageReslice speed<br><br> <xMETA http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <xMETA content="MSHTML 6.00.2900.2802" name="GENERATOR"> <style></style> </xMETA></xMETA><div> <div>I am using vtkImageReslice to cut three orthogonal cross sections from a volume.</div> <div>I noticed that if the volume has axial dimensions greater than 256 the performance </div> <div>of the filter becomes very slow ( even if the axial dimensions are 257, the speed</div> <div>decreases significantly). Could someone briefly explain what is the reason for </div> <div>that? Can I do something in my code that will increase the speed of the filter?</div> <div> </div> <div>Thank you,</div> <div> </div> <div>Lyubomir </div> <div> </div>
<div> </div></div><div>_______________________________________________<br>This is the private VTK discussion list. <br>Please keep messages on-topic. Check the FAQ at: <a target="_blank" href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br>Follow this link to subscribe/unsubscribe:<br><a target="_blank" href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br></div></div></div></div></body></html>