<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello,<div><br></div><div>This has recently been fixed, in the development master branch:</div><div><br></div><div><a href="https://github.com/Kitware/ITK/commit/8410936085dbc65dba4ef329f71953de05d0c0aa">https://github.com/Kitware/ITK/commit/8410936085dbc65dba4ef329f71953de05d0c0aa</a></div><div><br></div><div>Brad</div><div><br><div><div>On Nov 8, 2012, at 10:12 AM, Marc Vilà Oliva &lt;<a href="mailto:arvequina87@gmail.com">arvequina87@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hello Community, <br><br>I have migrated from ITK 3.20 to 4.20 and after fixing all compatibility errors with my code. there is still a warning caused by itkMultiplyImageFilter when you use it as the "old" itkMultiplyByConstantImageFilter, first input a float value and second input your image. <br>
<br>The warning is as follows:<br><br>WARNING: In /home/user/ITK4/Modules/Core/Common/include/itkImageToImageFilter.hxx, <br>line 104<br><b>MultiplyImageFilter</b> (0x7f5bc000e280): Unable to convert input number 0 to type N3itk5ImageIfLj3EEE<br>
<br>I exactly followed ITKs code located at:<br>&nbsp;<br><i>/ITK/Modules/Nonunit/Review/test/itkMultiplyByConstantImageFilterTest.cxx</i><br><br>in order to reproduce, as I said before, the "old" class itkMultiplyByConstantImageFilter. If you run the test presented above, the warning appears too. <br>
<br>I haven't found a solution yet and that's why I am asking for help. If anybody knows how to remove this warning or a way to fix it, it would be very helpful! <br><br>Thank you in advance. <br><br>Cheers&nbsp; <br>
_____________________________________<br>Powered by <a href="http://www.kitware.com">www.kitware.com</a><br><br>Visit other Kitware open-source projects at<br><a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br><br>Kitware offers ITK Training Courses, for more information visit:<br>http://www.kitware.com/products/protraining.php<br><br>Please keep messages on-topic and check the ITK FAQ at:<br>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></blockquote></div><br></div></body></html>