[Insight-developers] Failing tests on StatisticsLabelMap classes

Luis Ibanez luis.ibanez at kitware.com
Sun Aug 9 19:12:32 EDT 2009


Hi Gaetan,

Actually,
linking against the usual ITKStatistics should do,
since the library generated from

          Insight/Code/Review/Statistics

is defined in its CMakeLists.txt file as:

ADD_LIBRARY(ITKStatistics
  itkDenseFrequencyContainer2.cxx
  itkSparseFrequencyContainer2.cxx
  itkDecisionRule.cxx
  itkMaximumDecisionRule2.cxx
  itkMaximumRatioDecisionRule2.cxx
  itkMinimumDecisionRule2.cxx
  itkNormalVariateGenerator.cxx

  # Distributions
  itkGaussianDistribution.cxx
  itkTDistribution.cxx
  itkChiSquareDistribution.cxx
 )


         Luis


-------------------------------------
2009/8/9 Gaëtan Lehmann <gaetan.lehmann at jouy.inra.fr>

>
> Thanks Bill,
>
> That was to debug those failing tests that I was trying to build the new
> statistics framework on my system.
> No luck for that on my side. I still have to check that the right lib is
> used though, as suggested by Luis.
>
> Gaëtan
>
>
> Le 9 août 09 à 19:00, Bill Lorensen a écrit :
>
>
>  That did it. I checked it in.
>>
>> BTW: when people start switching over to the new statistics, they will
>> be encountering problems like this. There needs to be a clear
>> description and checklist for each class that breaks backward
>> compatibility with the old statistics. We should not underestimate the
>> pain customers will go through without excellent documentation.
>>
>> I am working (on the back burner) with a backward compatibility layer
>> but work has slowed down during the good weather.
>>
>> Bill
>>
>> On Sun, Aug 9, 2009 at 12:48 PM, Bill Lorensen<bill.lorensen at gmail.com>
>> wrote:
>>
>>> I just found it (actually, valgrind found it). It's with the new
>>> statistics classes. If tests pass, I'll check it in.
>>>
>>> Bill
>>>
>>>
>>> On Sun, Aug 9, 2009 at 12:42 PM, Luis Ibanez<luis.ibanez at kitware.com>
>>> wrote:
>>>
>>>>
>>>> Hi Gaetan,
>>>>
>>>> Any hints on the possible causes of these two test failures ? :
>>>>
>>>> http://www.cdash.org/CDash/viewTest.php?onlyfailed&buildid=398161
>>>>
>>>> itkBinaryImageToStatisticsLabelMapFilterTest1
>>>> itkLabelImageToStatisticsLabelMapFilterTest1
>>>>
>>>> They seem to fail only in some machines...
>>>> Maybe an uninitialized variable ?
>>>>
>>>> Any suggestions on how to track the problem ?
>>>>
>>>>    Thanks
>>>>
>>>>         Luis
>>>>
>>>>
>>>> _______________________________________________
>>>> Powered by www.kitware.com
>>>>
>>>> Visit other Kitware open-source projects at
>>>> http://www.kitware.com/opensource/opensource.html
>>>>
>>>> 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-developers
>>>>
>>>>
>>>>
>>>
> --
> Gaëtan Lehmann
> Biologie du Développement et de la Reproduction
> INRA de Jouy-en-Josas (France)
> tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
> http://voxel.jouy.inra.fr  http://www.itk.org
> http://www.mandriva.org  http://www.bepo.fr
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20090809/3416019b/attachment.htm>


More information about the Insight-developers mailing list