Hi,
I have a problem about definition mitk pixel type i tried more but i think
not reasonable the  code line is follow bellow:

  unsigned int dim[]={10,10,20}; // image dimensions

      image->Initialize(mitk::PixelType(typeid(int)), 3, dim);

also :

 const std::type_info& ti = typeid(int);

 mitk::PixelType m_P(ti);



error :  error: no matching function for call to
'mitk::PixelType::PixelType(const std::type_info&)'
       image->Initialize(mitk::PixelType(typeid(int)), 3, dim);
                                                    ^
why it brings error ??
Thanks
------------------------------------------------------------------------------
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to