<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
<br>I agree with you on the idea. Once you obtain the deformation field, apply it to the binary mask on the ROI in the moving image using "WarpImageFilter". This is a part of the package and you just have to figure out how to use it.<br><br>-Ganesh<br><br><font style="" color="#1f497d" face="Verdana">************************************************************************</font><font style="" color="#1f497d" face="Verdana"><br></font><font style="" color="#1f497d" face="Verdana">
"What the mind of man can conceive and believe, It can achieve" - </font><font style="" color="#1f497d" face="Verdana"><span class="ecxil">Napolean</span></font><font style="" color="#1f497d" face="Verdana"> </font><font style="" color="#1f497d" face="Verdana"><span class="ecxil">Hill</span></font><font style="" color="#1f497d" face="Verdana"><br></font><font style="" color="#1f497d" face="Verdana">
-Ganesh
Narayanasamy,Ph.D., PostDoc-University of Kentucky Cancer Center</font><font style="" color="#1f497d" face="Verdana"><br></font><font style="" color="#1f497d" face="Verdana">
Earlier work:
http://www.sciencedaily.com/releases/2007/05/070504133017.htm</font><font style="" color="#1f497d" face="Verdana"><br></font><font style="" color="#1f497d" face="Verdana">
************************************************************************</font><br> <br>> ----------------------------------------------------------------------<br>> <br>> Message: 1<br>> Date: Wed, 5 May 2010 10:50:29 +1000<br>> From: Xi Liang <liangxi1986317@hotmail.com><br>> Subject: [Insight-users] modify deformation field<br>> To: insight-users@itk.org<br>> Message-ID:<br>>         <r2p3b4795ce1005041750i75d28f6bs7559562fd21fcf20@mail.gmail.com><br>> Content-Type: text/plain; charset="iso-8859-1"<br>> <br>> Dear all,<br>> <br>> I get a deformation field (D) by using registering a moving image (Im) to a<br>> fixed image, and then I want to change the resuling deformation field (D)<br>> such that the ROI in moving image (Im) has only rigid deformation.<br>> <br>> I have a rough idea to do this. I need to generate a mask image for ROI from<br>> moving image, and then I need to found the corresponding deformation fields<br>> that will be applied on the ROI, then I can change them somehow. Am I right<br>> here ? and Is there any example code in the repository to do this?<br>> <br>> Kind regards,<br>> <br>> Xi<br><br>                                            <br /><hr />The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail. <a href='http://www.windowslive.com/campaign/thenewbusy?tile=multiaccount&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4' target='_new'>Get busy.</a></body>
</html>