<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.gc-cs-link
        {mso-style-name:gc-cs-link;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">You need to resample the volume if you want to actually change the image pixels and not just modify the image header. You can use one of the resample modules
 in Slicer for this, see detailed explanation on these pages:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><a href="http://www.slicer.org/slicerWiki/index.php/Documentation/Nightly/Modules/Resampling">http://www.slicer.org/slicerWiki/index.php/Documentation/Nightly/Modules/Resampling</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><a href="http://www.slicer.org/slicerWiki/index.php/Documentation/Nightly/FAQ#Apply.2C_Resample.2C_Export">http://www.slicer.org/slicerWiki/index.php/Documentation/Nightly/FAQ#Apply.2C_Resample.2C_Export</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><a href="http://www.slicer.org/slicerWiki/index.php/Registration:Resampling">http://www.slicer.org/slicerWiki/index.php/Registration:Resampling</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Andras<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Community [mailto:community-bounces@itk.org]
<b>On Behalf Of </b>Hammond, Emily M<br>
<b>Sent:</b> Wednesday, July 15, 2015 10:28 AM<br>
<b>To:</b> Johnson, Hans J <hans-johnson@uiowa.edu><br>
<b>Cc:</b> insight users <insight-users@itk.org><br>
<b>Subject:</b> Re: [ITK] [ITK-users] adding two images with different origin<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">Using the slicer transforms module. <o:p></o:p></span></p>
<div>
<div class="MsoNormal" align="center" style="text-align:center"><span style="color:black">
<hr size="2" width="100%" align="center">
</span></div>
<div id="divRpF303877">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"> Johnson, Hans J<br>
<b>Sent:</b> Wednesday, July 15, 2015 9:12 AM<br>
<b>To:</b> Hammond, Emily M<br>
<b>Cc:</b> insight users<br>
<b>Subject:</b> Re: [ITK-users] adding two images with different origin</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">Emily, <o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">How did you translate it?  If you want to stop by my office (4316 SC) I could help you out in person.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">Hans<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="color:black">========================================================================<br>
Hans J. Johnson, Ph.D.,  Associate Professor <br>
Electrical and Computer Engineering (Primary), Biomedical Engineering, Psychiatry  <br>
<a href="mailto:hans-johnson@uiowa.edu" target="_blank">hans-johnson@uiowa.edu</a>   <br>
<span class="gc-cs-link">(319) 621 7185</span> (cell)<br>
<span class="gc-cs-link">(319) 384 3538</span>  ECE Phone (Primary)<br>
<span class="gc-cs-link">(319) 353 8587</span> Psychiatry Phone (Secondary)<br>
<br>
4316 Seamans Center<br>
Iowa City, IA 52242<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
<div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal"><span style="color:black">On Jul 15, 2015, at 9:07 AM, Hammond, Emily M <<a href="mailto:emily-hammond@uiowa.edu" target="_blank">emily-hammond@uiowa.edu</a>> wrote:<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">Hello all,
<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">I am trying to compute the measures identified in itkLabelOverlapMeasureFilter with a couple label masks. I have created a test volume and translated it to create
 a couple more test volumes to get a calculable overlap for verification. Unfortunately, this translation changes the origin of the these images. <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">How can I perform these measures on two images that cover the same space, but do not have the same origin? If I just change the origins to match using ChangeImageInformationFilter
 then my translation is reversed.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">Thanks<br>
Emily Hammond<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Helvetica",sans-serif;color:black">_____________________________________<br>
Powered by<span class="apple-converted-space"> </span></span><span style="color:black"><a href="http://www.kitware.com/" target="_blank"><span style="font-size:9.0pt;font-family:"Helvetica",sans-serif">www.kitware.com</span></a></span><span style="font-size:9.0pt;font-family:"Helvetica",sans-serif;color:black"><br>
<br>
Visit other Kitware open-source projects at<br>
</span><span style="color:black"><a href="http://www.kitware.com/opensource/opensource.html" target="_blank"><span style="font-size:9.0pt;font-family:"Helvetica",sans-serif">http://www.kitware.com/opensource/opensource.html</span></a></span><span style="font-size:9.0pt;font-family:"Helvetica",sans-serif;color:black"><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
</span><span style="color:black"><a href="http://www.kitware.com/products/protraining.php" target="_blank"><span style="font-size:9.0pt;font-family:"Helvetica",sans-serif">http://www.kitware.com/products/protraining.php</span></a></span><span style="font-size:9.0pt;font-family:"Helvetica",sans-serif;color:black"><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
</span><span style="color:black"><a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank"><span style="font-size:9.0pt;font-family:"Helvetica",sans-serif">http://www.itk.org/Wiki/ITK_FAQ</span></a></span><span style="font-size:9.0pt;font-family:"Helvetica",sans-serif;color:black"><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
</span><span style="color:black"><a href="http://public.kitware.com/mailman/listinfo/insight-users" target="_blank"><span style="font-size:9.0pt;font-family:"Helvetica",sans-serif">http://public.kitware.com/mailman/listinfo/insight-users</span></a><o:p></o:p></span></p>
</div>
</blockquote>
</div>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="color:black"><o:p> </o:p></span></p>
<div class="MsoNormal" align="center" style="text-align:center"><span style="color:black">
<hr size="2" width="100%" align="center">
</span></div>
<p class="MsoNormal"><span style="color:black">Notice: This UI Health Care e-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged.  If you are not the intended
 recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited.  Please reply to the sender that you have received the message in error, then delete it.  Thank you.
<o:p></o:p></span></p>
<div class="MsoNormal" align="center" style="text-align:center"><span style="color:black">
<hr size="2" width="100%" align="center">
</span></div>
</div>
</div>
</div>
</div>
</body>
</html>