<div dir="ltr">Thanks for getting back to me,<div>I looked at that filter and it has a warning that said “No numeric overflow checking is performed in this filter”, so I assumed that meant that if I put an image through it there would be a simple addition pixelwise across the image. That would make the overlap region brighter than the non-overlap region which I was trying to avoid. </div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><p>--</p><p>AH<br></p><p><br></p><p>-----------------------------------------------------------------------------------------------</p><p><i>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></p></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Wed, Feb 15, 2017 at 9:42 AM, ibraheem aldhamari <span dir="ltr"><<a href="mailto:ibr_ex@yahoo.com" target="_blank">ibr_ex@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><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="m_-5347015155408266877yui_3_16_0_ym19_1_1487147375528_64594"><span id="m_-5347015155408266877yui_3_16_0_ym19_1_1487147375528_64675">Hey, </span></div><div id="m_-5347015155408266877yui_3_16_0_ym19_1_1487147375528_64594"><span>In Slicer you can use Add Scalar Volume plugin. </span></div><div></div><div id="m_-5347015155408266877yui_3_16_0_ym19_1_1487147375528_64479">In itk use this :</div><div id="m_-5347015155408266877yui_3_16_0_ym19_1_1487147375528_64479" dir="ltr"> <a href="https://itk.org/Doxygen/html/classitk_1_1AddImageFilter.html" id="m_-5347015155408266877yui_3_16_0_ym19_1_1487147375528_64680" target="_blank">https://itk.org/Doxygen/<wbr>html/classitk_1_<wbr>1AddImageFilter.html</a></div><div id="m_-5347015155408266877yui_3_16_0_ym19_1_1487147375528_64725" dir="ltr"> <a href="https://itk.org/Wiki/ITK/Examples/ImageProcessing/AddImageFilter" id="m_-5347015155408266877yui_3_16_0_ym19_1_1487147375528_64729" target="_blank">https://itk.org/Wiki/ITK/<wbr>Examples/ImageProcessing/<wbr>AddImageFilter</a><br></div><div id="m_-5347015155408266877yui_3_16_0_ym19_1_1487147375528_64888"><br></div><div class="m_-5347015155408266877signature" id="m_-5347015155408266877yui_3_16_0_ym19_1_1487147375528_64438">Best regards and have a nice day!<div id="m_-5347015155408266877yui_3_16_0_ym19_1_1487147375528_64437">Ibraheem </div></div><div class="m_-5347015155408266877qtdSeparateBR" id="m_-5347015155408266877yui_3_16_0_ym19_1_1487147375528_64614"><br><br></div><div class="m_-5347015155408266877yahoo_quoted" id="m_-5347015155408266877yui_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="m_-5347015155408266877yui_3_16_0_ym19_1_1487147375528_64562"> <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px" id="m_-5347015155408266877yui_3_16_0_ym19_1_1487147375528_64561"> <div dir="ltr" id="m_-5347015155408266877yui_3_16_0_ym19_1_1487147375528_64565"> <font size="2" face="Arial" id="m_-5347015155408266877yui_3_16_0_ym19_1_1487147375528_64564"> <hr size="1" id="m_-5347015155408266877yui_3_16_0_ym19_1_1487147375528_64615"> <b><span style="font-weight:bold">From:</span></b> Andrew Harris <<a href="mailto:aharr8@uwo.ca" target="_blank">aharr8@uwo.ca</a>><br> <b><span style="font-weight:bold">To:</span></b> Insight-users <<a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a>> <br> <b><span style="font-weight:bold">Sent:</span></b> Wednesday, February 15, 2017 3:39 PM<br> <b id="m_-5347015155408266877yui_3_16_0_ym19_1_1487147375528_64567"><span style="font-weight:bold" id="m_-5347015155408266877yui_3_16_0_ym19_1_1487147375528_64566">Subject:</span></b> [ITK-users] [ITK] Combining two images after registration<br> </font> </div> <div class="m_-5347015155408266877y_msg_container" id="m_-5347015155408266877yui_3_16_0_ym19_1_1487147375528_64560"><div><div class="h5"><br><div id="m_-5347015155408266877yiv8885273116"><div dir="ltr" id="m_-5347015155408266877yui_3_16_0_ym19_1_1487147375528_65107">Hello,<div id="m_-5347015155408266877yui_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="m_-5347015155408266877yui_3_16_0_ym19_1_1487147375528_65115"><br></div><div id="m_-5347015155408266877yui_3_16_0_ym19_1_1487147375528_65106">Any thoughts are welcome.<br clear="all"><div id="m_-5347015155408266877yui_3_16_0_ym19_1_1487147375528_65105"><div class="m_-5347015155408266877yiv8885273116gmail_signature" id="m_-5347015155408266877yui_3_16_0_ym19_1_1487147375528_65104"><div dir="ltr" id="m_-5347015155408266877yui_3_16_0_ym19_1_1487147375528_65103"><div id="m_-5347015155408266877yui_3_16_0_ym19_1_1487147375528_65102"><div dir="ltr" id="m_-5347015155408266877yui_3_16_0_ym19_1_1487147375528_65101"><div id="m_-5347015155408266877yui_3_16_0_ym19_1_1487147375528_65100"><div dir="ltr" id="m_-5347015155408266877yui_3_16_0_ym19_1_1487147375528_65099"><div id="m_-5347015155408266877yui_3_16_0_ym19_1_1487147375528_65098"><div dir="ltr" id="m_-5347015155408266877yui_3_16_0_ym19_1_1487147375528_65097"><div id="m_-5347015155408266877yui_3_16_0_ym19_1_1487147375528_65114">--</div><div id="m_-5347015155408266877yui_3_16_0_ym19_1_1487147375528_65113">AH<br></div><div id="m_-5347015155408266877yui_3_16_0_ym19_1_1487147375528_65112"><br></div><div id="m_-5347015155408266877yui_3_16_0_ym19_1_1487147375528_65111">------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>-----</div><div id="m_-5347015155408266877yui_3_16_0_ym19_1_1487147375528_65096"><i id="m_-5347015155408266877yui_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></div></div>______________________________<wbr>_______<br>Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br><br>Visit other Kitware open-source projects at<br><a href="http://www.kitware.com/opensource/opensource.html" id="m_-5347015155408266877yui_3_16_0_ym19_1_1487147375528_65120" target="_blank">http://www.kitware.com/<wbr>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" id="m_-5347015155408266877yui_3_16_0_ym19_1_1487147375528_65121" target="_blank">http://www.kitware.com/<wbr>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" id="m_-5347015155408266877yui_3_16_0_ym19_1_1487147375528_65122" target="_blank">http://www.itk.org/Wiki/ITK_<wbr>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/<wbr>mailman/listinfo/insight-users</a><br><br><br></div> </div> </div> </div></div></div></blockquote></div><br></div>