[Insight-users] why vtkImagePlaneWidget run extremely slow after
itk::BinaryThresholdImageFilter excuted several times
Luis Ibanez
luis.ibanez at kitware.com
Mon Aug 28 19:25:18 EDT 2006
Hi kdsfinger,
Thanks for posting the code and the link to the original web site.
What exactly is running slower ?
Does the user interaction with the planes gets slower ?
or is it every subsequent execution of the BinaryThreshold filter what
gets slower ?
Also: have you reload different images ?
Looking at the code it seems that this applications should only be
used for loading an image once.
After every reload of the image, it reconstruct a large number of
classes without necessarily clearing their previous instances.
Have you checked the memory usage ?
There may also be a memory leak that results in your program to
start swapping to disk....
Please let us know,
Thanks
-----------------------------
kdsfinger at gmail.com wrote:
> hi, all
> I found the myITKgui runs extremely slow after
> itk::BinaryThresholdImageFilter excuted several times. The myITKgui is
> a little demo of itk-fltk and here is the link:
> http://www.eecs.berkeley.edu/~eklund/teaching/cs294/software/Software/myITKgui-cs294v1.0.zip
>
>
> Here is major part of the code.
>
More information about the Insight-users
mailing list