On Thu, 2008-12-11 at 14:48 +0100, Marius Erdt wrote: > Dear MITK users, > > the mitkCalculateGrayValueStatisticsTool throws an itk warning after use > (I'm using ITK 3.4), because the itk::MapContainer (histogram) is not > created using New().
Thank you! I just integrated the patch, it's available as soon as I'm able to commit. There was one compilation error, however: in line 160 you were missing a "typename". Probably you are developing with Visual Studio. For typedefs within templated classes you need to specify these typedefs as "typename" when you use them -- I hope this short version of mine is correct, otherwise you will probably be able to find lots of messages regarding /home/maleike/mitk/extern/src/Core/Interactions/mitkCalculateGrayValueStatisticsTool.cpp:160: error: dependent-name 'itk::HistogramType::Pointer' is parsed as a non-type, but instantiation yields a type Best regards Daniel -- Dipl.-Inform. Med. Daniel Maleike Phone: +49 6221 42 2326 Deutsches Krebsforschungszentrum Im Neuenheimer Feld 280 Medical and Biological Informatics (E130) 69120 Heidelberg ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
