[Insight-users] Class itkMultiplyImageFilter and "old" class itkMultiplyByConstantImageFilter
Bradley Lowekamp
blowekamp at mail.nih.gov
Thu Nov 8 10:19:06 EST 2012
Hello,
This has recently been fixed, in the development master branch:
https://github.com/Kitware/ITK/commit/8410936085dbc65dba4ef329f71953de05d0c0aa
Brad
On Nov 8, 2012, at 10:12 AM, Marc Vilà Oliva <arvequina87 at gmail.com> wrote:
> Hello Community,
>
> 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.
>
> The warning is as follows:
>
> WARNING: In /home/user/ITK4/Modules/Core/Common/include/itkImageToImageFilter.hxx,
> line 104
> MultiplyImageFilter (0x7f5bc000e280): Unable to convert input number 0 to type N3itk5ImageIfLj3EEE
>
> I exactly followed ITKs code located at:
>
> /ITK/Modules/Nonunit/Review/test/itkMultiplyByConstantImageFilterTest.cxx
>
> in order to reproduce, as I said before, the "old" class itkMultiplyByConstantImageFilter. If you run the test presented above, the warning appears too.
>
> 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!
>
> Thank you in advance.
>
> Cheers
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20121108/8e06ac8f/attachment.htm>
More information about the Insight-users
mailing list