<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi, Luis,<div><br></div><div>Thank you for your reply.</div><div><br></div><div>I have 2GB RAM. Here is the error message if I run more than 62 slices: </div><div>Unhandled exception at 0x7c812afb in RegTest.exe: Microsoft C++ exception: itk::InvalidRequestedRegionError at memory location 0x0013fbbc..</div><div><br>My CT volumes are liver images from two different phases. </div><div><br></div><div>I also did another test on these two volumes by switch them (switch fixed and moving volumes). If I run 62 slices,, it would come with same memory problem (see above error message). This time if I run 60 slices, it would reach "CONVERGENCE: REL_REDUCTION_OF_F <= FACTR*EPSMCH" after one iteration; but it seems 59 slices allow me to run 34 iterations and gave me a good result.</div><div><br></div><div>So, it seems the good results came with "reach Projected Gradient Tolerance". If it reaches "CONVERGENCE: REL_REDUCTION_OF_F <= FACTR*EPSMCH" first, it come with a "bad" result. How can I control this situation?</div><div><br></div><div>Thanks.</div><div><br></div><div>Sean</div><div><br>> Date: Wed, 8 Jul 2009 17:39:25 -0400<br>> From: luis.ibanez@kitware.com<br>> To: kevinseanlee@live.com<br>> CC: insight-users@itk.org<br>> Subject: Re: [Insight-users] problems on deformable registration 8<br>> <br>> <br>> Hi Sean,<br>> <br>> This is very suspicious.<br>> <br>> <br>> A) your images do not seem to be that big...<br>> <br>> One image of:<br>> <br>> 64 slices of 256 x 256 in 16bits<br>> <br>> will take 8 Mb<br>> <br>> <br>> How much RAM do you have ?<br>> <br>> <br>> B) Just removing one slice (out of 60) from your<br>> dataset shouldn't lead the registration to<br>> behave differently.<br>> <br>> <br>> Unless...<br>> <br>> There is some special content in that slice...<br>> <br>> Are any objects in Slice 60 that have very<br>> different intensities to those objects visible<br>> in slice 59 ?<br>> <br>> <br>> ...and...<br>> <br>> <br>> C) How are you removing that slice ?<br>> <br>> Are you using a region of interest extraction first ?<br>> <br>> <br>> <br>> <br>> Please let us know,<br>> <br>> <br>> Thanks<br>> <br>> <br>> <br>> Luis<br>> <br>> <br>> <br>> ---------------<br>> Sean lee wrote:<br>> > Hello,<br>> > <br>> > I am trying to use the example of deformable registration 8 on two ct <br>> > image volumes (64 256X256 slices). The problem is If i use more than 62 <br>> > slices, I would have memory problem; I run 60 slice, I got a perfect <br>> > results with 20 iterations; but if I run 59 slices, it only run one <br>> > iteration and reaches "CONVERGENCE: REL_REDUCTION_OF_F <= FACTR*EPSMCH". <br>> > I tried to reduce the Cost Function Convergence Factor to 1e+1 and it <br>> > still comes same results. What could be the problem and any suggested <br>> > solutions? Thanks. Sean<br>> > > <br>> > <br>> > ------------------------------------------------------------------------<br>> > <br>> > _____________________________________<br>> > Powered by www.kitware.com<br>> > <br>> > Visit other Kitware open-source projects at<br>> > http://www.kitware.com/opensource/opensource.html<br>> > <br>> > Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ<br>> > <br>> > Follow this link to subscribe/unsubscribe:<br>> > http://www.itk.org/mailman/listinfo/insight-users<br></div><br /><hr />Windows Live™ SkyDrive™: Get 25 GB of free online storage. <a href='http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_SD_25GB_062009' target='_new'>Get it on your BlackBerry or iPhone.</a></body>
</html>