<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_ym19_1_1487147375528_64594"><span id="yui_3_16_0_ym19_1_1487147375528_64675">Hey, </span></div><div id="yui_3_16_0_ym19_1_1487147375528_64594"><span>In Slicer you can use Add Scalar Volume plugin.  </span></div><div></div><div id="yui_3_16_0_ym19_1_1487147375528_64479">In itk use this :</div><div id="yui_3_16_0_ym19_1_1487147375528_64479" dir="ltr">    <a href="https://itk.org/Doxygen/html/classitk_1_1AddImageFilter.html" class="" id="yui_3_16_0_ym19_1_1487147375528_64680">https://itk.org/Doxygen/html/classitk_1_1AddImageFilter.html</a></div><div id="yui_3_16_0_ym19_1_1487147375528_64725" dir="ltr">    <a href="https://itk.org/Wiki/ITK/Examples/ImageProcessing/AddImageFilter" id="yui_3_16_0_ym19_1_1487147375528_64729" class="">https://itk.org/Wiki/ITK/Examples/ImageProcessing/AddImageFilter</a><br></div><div id="yui_3_16_0_ym19_1_1487147375528_64888"><br></div><div class="signature" id="yui_3_16_0_ym19_1_1487147375528_64438">Best regards and have a nice day!<div id="yui_3_16_0_ym19_1_1487147375528_64437">Ibraheem </div></div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1487147375528_64614"><br><br></div><div class="yahoo_quoted" id="yui_3_16_0_ym19_1_1487147375528_64563" style="display: block;">  <div style="font-family: HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_ym19_1_1487147375528_64562"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_ym19_1_1487147375528_64561"> <div dir="ltr" id="yui_3_16_0_ym19_1_1487147375528_64565"> <font size="2" face="Arial" id="yui_3_16_0_ym19_1_1487147375528_64564"> <hr size="1" id="yui_3_16_0_ym19_1_1487147375528_64615"> <b><span style="font-weight:bold;">From:</span></b> Andrew Harris <aharr8@uwo.ca><br> <b><span style="font-weight: bold;">To:</span></b> Insight-users <insight-users@itk.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Wednesday, February 15, 2017 3:39 PM<br> <b id="yui_3_16_0_ym19_1_1487147375528_64567"><span style="font-weight: bold;" id="yui_3_16_0_ym19_1_1487147375528_64566">Subject:</span></b> [ITK-users] [ITK] Combining two images after registration<br> </font> </div> <div class="y_msg_container" id="yui_3_16_0_ym19_1_1487147375528_64560"><br><div id="yiv8885273116"><div dir="ltr" id="yui_3_16_0_ym19_1_1487147375528_65107">Hello,<div id="yui_3_16_0_ym19_1_1487147375528_65116">Hopefully someone can point me in the right direction.  I have a successful image registration between two images of the same size I have confirmed by outputting two .mha files and blending them in Slicer.  What I would like to be able to do is to combine them within C++ and output a single .mha file. As a further complication, part of the moving image gets left off because the image rotates outside the bounds of the original image size, and it would be preferable if I could figure out how to pad the moving image automatically in the dimensions necessary to prevent this from happening.</div><div id="yui_3_16_0_ym19_1_1487147375528_65115"><br></div><div id="yui_3_16_0_ym19_1_1487147375528_65106">Any thoughts are welcome.<br clear="all"><div id="yui_3_16_0_ym19_1_1487147375528_65105"><div class="yiv8885273116gmail_signature" id="yui_3_16_0_ym19_1_1487147375528_65104"><div dir="ltr" id="yui_3_16_0_ym19_1_1487147375528_65103"><div id="yui_3_16_0_ym19_1_1487147375528_65102"><div dir="ltr" id="yui_3_16_0_ym19_1_1487147375528_65101"><div id="yui_3_16_0_ym19_1_1487147375528_65100"><div dir="ltr" id="yui_3_16_0_ym19_1_1487147375528_65099"><div id="yui_3_16_0_ym19_1_1487147375528_65098"><div dir="ltr" id="yui_3_16_0_ym19_1_1487147375528_65097"><div id="yui_3_16_0_ym19_1_1487147375528_65114">--</div><div id="yui_3_16_0_ym19_1_1487147375528_65113">AH<br></div><div id="yui_3_16_0_ym19_1_1487147375528_65112"><br></div><div id="yui_3_16_0_ym19_1_1487147375528_65111">-----------------------------------------------------------------------------------------------</div><div id="yui_3_16_0_ym19_1_1487147375528_65096"><i id="yui_3_16_0_ym19_1_1487147375528_65095">This email and any attachments thereto may contain private, confidential, and privileged materials for the sole use of the intended recipient. Any reviewing, copying, or distribution of this email (or any attachments thereto) by other than the intended recipient is strictly prohibited. If you are not the intended recipient, please contact the sender immediately and permanently destroy this email and any attachments thereto.</i></div></div></div></div></div></div></div></div></div></div>
</div></div></div><br>_____________________________________<br>Powered by www.kitware.com<br><br>Visit other Kitware open-source projects at<br><a href="http://www.kitware.com/opensource/opensource.html" target="_blank" id="yui_3_16_0_ym19_1_1487147375528_65120">http://www.kitware.com/opensource/opensource.html</a><br><br>Kitware offers ITK Training Courses, for more information visit:<br><a href="http://www.kitware.com/products/protraining.php" target="_blank" id="yui_3_16_0_ym19_1_1487147375528_65121">http://www.kitware.com/products/protraining.php</a><br><br>Please keep messages on-topic and check the ITK FAQ at:<br><a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank" id="yui_3_16_0_ym19_1_1487147375528_65122">http://www.itk.org/Wiki/ITK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://public.kitware.com/mailman/listinfo/insight-users" target="_blank">http://public.kitware.com/mailman/listinfo/insight-users</a><br><br><br></div> </div> </div>  </div></div></body></html>