<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=943143020-26012005><FONT face=Arial size=2>Hi, I am doing some
CT segmentation and run into in-sufficient memory problem. I did a lot of
pre-processing and use a lot of filters. Those filters connected to form a
pipeline. However, since my CT image is pretty big, it quickly depleted my
2G memory and prevent me from proceed with my pipeline. I am wondering can
I delete the memory allocated by the filter I used in the previous steps?
I already invoked Update() function in the middle of the pipeline and got the
intermediate result, so it shouldn't affect the running of the rest of the
pipeline.</FONT></SPAN></DIV>
<DIV><SPAN class=943143020-26012005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=943143020-26012005><FONT face=Arial size=2>Another problem that
I encountered before, which might also relate to this memory allocate/free
problem. BTW, I normally modify the sample applications with
GUI, such as GeodesicActiveContour. I find that everytime when I load a
new image (which have dimension different from the previously loaded image), the
load itself is ok but when I update the subsequent filter to perform processing,
the program will exit abnormally. I am wondering if it is because some
filters will allocate the necessary memory when it first execute but don't check
if the input image dimension has changed.</FONT></SPAN></DIV>
<DIV><SPAN class=943143020-26012005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=943143020-26012005><FONT face=Arial size=2>Here is the error
message in command window:</FONT></SPAN></DIV>
<DIV><SPAN class=943143020-26012005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=943143020-26012005><FONT face=Arial size=2>ITK exception caught
in main</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=943143020-26012005><FONT face=Arial
size=2>itk::InvalidRequestedRegionError (0142F904)<BR>Location:
"Image::PropagateRequestedRegion()"<BR>File:
C:\newITK\itksource\InsightToolkit-1.8.0\Code\Common\itkDataObject.cxx<BR>Line:
397<BR>Description: Requested region is (at least partially) outside the largest
possib<BR>le region.</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=943143020-26012005><FONT face=Arial size=2><BR>Press any key to
continue</FONT></SPAN></DIV></BODY></HTML>