[Community] Warnings when calling itk Image

Michka Popoff michkapopoff at gmail.com
Sun Oct 20 05:04:39 EDT 2013


Thank you for the detailed answer. I will have a look at the warnings and test some nightly versions if I get some time. 

Michka

On 19 oct. 2013, at 19:51, Matt McCormick <matt.mccormick at kitware.com> wrote:

> Hi Michka,
> 
> Welcome to ITK!
> 
> Thanks for post.  There are a number of warnings in WrapITK -- these
> are still being addressed ever since its integration into ITKv4.  To
> see the current status, see the Expected Nightly WrapITK section of
> the dashboard [1].  They can be ignored for now.  If you would like to
> help address them, you are welcome to participate in our weekly Code
> Review hangouts [2] and submit a patch [3].
> 
> SimpleITK [4] may also be of interest, which has very nice Python wrappings.
> 
> Thanks,
> Matt
> 
> 
> [1]  http://open.cdash.org/index.php?project=Insight
> [2] https://plus.google.com/communities/111375098792764998322/stream/a1cf9df1-06f5-4abd-9142-bd8149f6b191
> [3] http://insightsoftwareconsortium.github.io/ITKBarCamp-doc/CommunitySoftwareProcess/SubmitAPatchToGerrit/index.html
> [4] http://www.simpleitk.org//
> 
> On Sat, Oct 19, 2013 at 2:48 PM, Michka Popoff <michkapopoff at gmail.com> wrote:
>> Hello
>> 
>> first time here, I am just starting to use ITK.
>> 
>> I was able to install ITK 4.4.2 on my Mac, and want to use it with python 2.7.5 (installed via homebrew).
>> I am able to use ITK+VTK to open a tiff and display it in a window.
>> 
>> The first time I call Image, I get the warnings below. The second time no more warnings.
>> 
>> Did I forget to compile something during my cmake configuration ? If not, should I report this to your bug tracker ?
>> 
>> Thanks in advance
>> 
>> Michka
>> 
>> 
>> MacBook-Pro-de-Michka:vtk michkapopoff$ python
>> Python 2.7.5 (default, Oct 13 2013, 10:14:07)
>> [GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.2.75)] on darwin
>> Type "help", "copyright", "credits" or "license" for more information.
>>>>> import itk
>>>>> itk.Image[itk.UC, 2]
>> Warning: Unknown parameter 'itk::VectorContainer< unsigned char, double >' in template 'itk::DataObjectDecorator'
>> Warning: Unknown parameter 'itk::DefaultStaticMeshTraits< float,2,2,float,float >' in template 'itk::PointSet'
>> Warning: Unknown parameter 'itk::DefaultDynamicMeshTraits< float,2,2,float,float >' in template 'itk::PointSet'
>> Warning: Unknown parameter 'itk::DefaultStaticMeshTraits< float,3,3,float,float >' in template 'itk::PointSet'
>> Warning: Unknown parameter 'itk::DefaultDynamicMeshTraits< float,3,3,float,float >' in template 'itk::PointSet'
>> Warning: Unknown parameter 'itk::DefaultStaticMeshTraits< double,2,2,double,double,double >' in template 'itk::PointSet'
>> Warning: Unknown parameter 'itk::DefaultStaticMeshTraits< double,3,3,double,double,double >' in template 'itk::PointSet'
>> Warning: Unknown parameter 'itk::DefaultStaticMeshTraits< itk::Matrix <double,2,2>,2,2,float,float,itk::Matrix <double,2,2> >' in template 'itk::PointSet'
>> Warning: Unknown parameter 'itk::DefaultStaticMeshTraits< itk::Matrix <double,3,3>,3,3,float,float,itk::Matrix <double,3,3> >' in template 'itk::PointSet'
>> Warning: Unknown parameter 'itk::DefaultStaticMeshTraits< float,2,2,float,float >' in template 'itk::Mesh'
>> Warning: Unknown parameter 'itk::DefaultDynamicMeshTraits< float,2,2,float,float >' in template 'itk::Mesh'
>> Warning: Unknown parameter 'itk::DefaultStaticMeshTraits< float,3,3,float,float >' in template 'itk::Mesh'
>> Warning: Unknown parameter 'itk::DefaultDynamicMeshTraits< float,3,3,float,float >' in template 'itk::Mesh'
>> Warning: Unknown parameter 'itk::CellInterface< float, itk::CellTraitsInfo< 2,float,float,unsigned long,unsigned long,unsigned long,itk::Point< float,2 >,itk::MapContainer< unsigned long,itk::Point< float,2 > >, std::set< unsigned long, std::less< unsigned long > > > > *' in template 'itk::MapContainer'
>> Warning: Unknown parameter 'itk::CellInterface< double, itk::CellTraitsInfo< 2,double,double,unsigned long,unsigned long,unsigned long,itk::Point< double,2 >,itk::MapContainer< unsigned long,itk::Point< double,2 > >, std::set< unsigned long, std::less< unsigned long > > > > *' in template 'itk::MapContainer'
>> Warning: Unknown parameter 'itk::CellInterface< float, itk::CellTraitsInfo< 3,float,float,unsigned long,unsigned long,unsigned long,itk::Point< float,3 >,itk::MapContainer< unsigned long,itk::Point< float,3 > >, std::set< unsigned long, std::less< unsigned long > > > > *' in template 'itk::MapContainer'
>> Warning: Unknown parameter 'itk::CellInterface< double, itk::CellTraitsInfo< 3,double,double,unsigned long,unsigned long,unsigned long,itk::Point< double,3 >,itk::MapContainer< unsigned long,itk::Point< double,3 > >, std::set< unsigned long, std::less< unsigned long > > > > *' in template 'itk::MapContainer'
>> Warning: Unknown parameter 'itk::CellInterface< float, itk::CellTraitsInfo< 2,float,float,unsigned long,unsigned long,unsigned long,itk::Point< float,2 >,itk::MapContainer< unsigned long,itk::Point< float,2 > >, std::set< unsigned long, std::less< unsigned long > > > > *' in template 'itk::VectorContainer'
>> Warning: Unknown parameter 'itk::CellInterface< double, itk::CellTraitsInfo< 2,double,double,unsigned long,unsigned long,unsigned long,itk::Point< double,2 >,itk::MapContainer< unsigned long,itk::Point< double,2 > >, std::set< unsigned long, std::less< unsigned long > > > > *' in template 'itk::VectorContainer'
>> Warning: Unknown parameter 'itk::CellInterface< float, itk::CellTraitsInfo< 3,float,float,unsigned long,unsigned long,unsigned long,itk::Point< float,3 >,itk::MapContainer< unsigned long,itk::Point< float,3 > >, std::set< unsigned long, std::less< unsigned long > > > > *' in template 'itk::VectorContainer'
>> Warning: Unknown parameter 'itk::CellInterface< double, itk::CellTraitsInfo< 3,double,double,unsigned long,unsigned long,unsigned long,itk::Point< double,3 >,itk::MapContainer< unsigned long,itk::Point< double,3 > >, std::set< unsigned long, std::less< unsigned long > > > > *' in template 'itk::VectorContainer'
>> Warning: Unknown parameter 'itk::CellTraitsInfo< 2,float,float,unsigned long,unsigned long,unsigned long,itk::Point< float,2 >,itk::MapContainer< unsigned long,itk::Point< float,2 > >, std::set< unsigned long, std::less< unsigned long > > >' in template 'itk::CellInterfaceVisitor'
>> Warning: Unknown parameter 'itk::CellTraitsInfo< 2,double,double,unsigned long,unsigned long,unsigned long,itk::Point< double,2 >,itk::MapContainer< unsigned long,itk::Point< double,2 > >, std::set< unsigned long, std::less< unsigned long > > >' in template 'itk::CellInterfaceVisitor'
>> Warning: Unknown parameter 'itk::CellTraitsInfo< 3,float,float,unsigned long,unsigned long,unsigned long,itk::Point< float,3 >,itk::MapContainer< unsigned long,itk::Point< float,3 > >, std::set< unsigned long, std::less< unsigned long > > >' in template 'itk::CellInterfaceVisitor'
>> Warning: Unknown parameter 'itk::CellTraitsInfo< 3,double,double,unsigned long,unsigned long,unsigned long,itk::Point< double,3 >,itk::MapContainer< unsigned long,itk::Point< double,3 > >, std::set< unsigned long, std::less< unsigned long > > >' in template 'itk::CellInterfaceVisitor'
>> Warning: Unknown parameter 'itk::CellTraitsInfo< 2,float,float,unsigned long,unsigned long,unsigned long,itk::Point< float,2 >,itk::MapContainer< unsigned long,itk::Point< float,2 > >, std::set< unsigned long, std::less< unsigned long > > >' in template 'itk::CellInterface'
>> Warning: Unknown parameter 'itk::CellTraitsInfo< 2,double,double,unsigned long,unsigned long,unsigned long,itk::Point< double,2 >,itk::MapContainer< unsigned long,itk::Point< double,2 > >, std::set< unsigned long, std::less< unsigned long > > >' in template 'itk::CellInterface'
>> Warning: Unknown parameter 'itk::CellTraitsInfo< 3,float,float,unsigned long,unsigned long,unsigned long,itk::Point< float,3 >,itk::MapContainer< unsigned long,itk::Point< float,3 > >, std::set< unsigned long, std::less< unsigned long > > >' in template 'itk::CellInterface'
>> Warning: Unknown parameter 'itk::CellTraitsInfo< 3,double,double,unsigned long,unsigned long,unsigned long,itk::Point< double,3 >,itk::MapContainer< unsigned long,itk::Point< double,3 > >, std::set< unsigned long, std::less< unsigned long > > >' in template 'itk::CellInterface'
>> Warning: Unknown parameter 'itk::Mesh< float,2,itk::DefaultStaticMeshTraits< float,2,2,float > >' in template 'itk::MeshToMeshFilter'
>> Warning: Unknown parameter 'itk::Mesh< float,2,itk::DefaultDynamicMeshTraits< float,2,2,float > >' in template 'itk::MeshToMeshFilter'
>> Warning: Unknown parameter 'itk::Mesh< float,3,itk::DefaultStaticMeshTraits< float,3,3,float > >' in template 'itk::MeshToMeshFilter'
>> Warning: Unknown parameter 'itk::Mesh< float,3,itk::DefaultDynamicMeshTraits< float,3,3,float > >' in template 'itk::MeshToMeshFilter'
>> <class 'itkImagePython.itkImageUC2'>
>>>>> itk.Image[itk.UC, 2]
>> <class 'itkImagePython.itkImageUC2'>
>> _______________________________________________
>> Community mailing list
>> Community at itk.org
>> http://public.kitware.com/cgi-bin/mailman/listinfo/community




More information about the Community mailing list