[Insight-users] Class itkMultiplyImageFilter and "old" class itkMultiplyByConstantImageFilter
Cory Quammen
cquammen at cs.unc.edu
Thu Nov 8 10:17:19 EST 2012
Hi Marc,
Thanks for the warning report. A bug fix for this commit was merged
late last week:
http://review.source.kitware.com/#/c/8259/
If you use the latest master from git, the warning should go away.
Hope that helps,
Cory
On Thu, 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
>
--
Cory Quammen
Research Associate
Department of Computer Science
The University of North Carolina at Chapel Hill
More information about the Insight-users
mailing list