[Paraview] [EXTERNAL] Simple script severe slowdown in loop
Weirs, V Gregory
vgweirs at sandia.gov
Tue Jun 12 14:35:17 EDT 2012
Oh, I see. How about if I change the ImageReader line:
for count in range(2,204):
filename='/home/andy/Desktop/L2-1 Dicom/data8/rho_180x180x180_frame%04d_subs01_total.raw' % (count)
rho_180x180x180_frame0010_subs01_total_raw.FilePrefix=filename
filename_out='/home/andy/Desktop/L2-1 Dicom/data8/frame_%04d.bmp' % (count)
WriteImage(filename_out)
From: Pat Marion <pat.marion at kitware.com<mailto:pat.marion at kitware.com>>
Date: Tue, 12 Jun 2012 14:10:49 -0400
To: V Gregory Weirs <vgweirs at sandia.gov<mailto:vgweirs at sandia.gov>>
Cc: Andrew Pearson <andrew.j.pearson at gmail.com<mailto:andrew.j.pearson at gmail.com>>, "paraview at paraview.org<mailto:paraview at paraview.org>" <paraview at paraview.org<mailto:paraview at paraview.org>>
Subject: Re: [Paraview] [EXTERNAL] Simple script severe slowdown in loop
for count in range(2,204):
filename='/home/andy/Desktop/L2-1 Dicom/data8/rho_180x180x180_frame%04d_subs01_total.raw' % (count)
rho_180x180x180_frame0010_subs01_total_raw = ImageReader( FilePrefix=filename )
filename_out='/home/andy/Desktop/L2-1 Dicom/data8/frame_%04d.bmp' % (count)
WriteImage(filename_out)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20120612/84bb7380/attachment.htm>
More information about the ParaView
mailing list