[Insight-developers] New failing test added
Hans Johnson
hans-johnson at uiowa.edu
Fri Aug 7 12:42:49 EDT 2009
Luis,
When I tried to migrate to the new statistics framework, I ran into
compilation problem in InsightApplications:
[ 2%] Built target itk2DAnisotropicDiffusionImageFilter
[ 5%] Building CXX object
MRIBiasCorrection/CMakeFiles/BiasCorrector.dir/BiasCorrector.o
In file included from
/scratch/hjohnson/src/brains2/MacOSX/FAST_64_64/src/include/InsightToolkit/A
lgorithms/itkMRIBiasFieldCorrectionFilter.h:29,
from
/scratch/hjohnson/src/brains2/iplFreeware/unpackdir/InsightApplications/MRIB
iasCorrection/BiasCorrector.cxx:24:
/scratch/hjohnson/src/brains2/MacOSX/FAST_64_64/src/include/InsightToolkit/N
umerics/itkOnePlusOneEvolutionaryOptimizer.h:21:43: error:
itkRandomVariateGeneratorBase.h: No such file or directory
/scratch/hjohnson/src/brains2/iplFreeware/unpackdir/InsightApplications/MRIB
iasCorrection/BiasCorrector.cxx:35:26: error: itkHistogram.h: No such file
or directory
/scratch/hjohnson/src/brains2/iplFreeware/unpackdir/InsightApplications/MRIB
iasCorrection/BiasCorrector.cxx: In function double
compute_PercVal(ImagePointer&, double)¹:
/scratch/hjohnson/src/brains2/iplFreeware/unpackdir/InsightApplications/MRIB
iasCorrection/BiasCorrector.cxx:148: error: expected initializer before <¹
token
... CLIP ....
make[3]: ***
[MRIBiasCorrection/CMakeFiles/BiasCorrector.dir/BiasCorrector.o] Error 1
make[2]: *** [MRIBiasCorrection/CMakeFiles/BiasCorrector.dir/all] Error 2
make[1]: *** [all] Error 2
make: ***
[/scratch/hjohnson/src/brains2/MacOSX/FAST_64_64/src/bin/BiasCorrector]
Error 2
[hjohnson at neuron brains2]$ cd iplFreeware/unpackdir/InsightApplications/
Is there a ³Statistics Framework Migration Guide² on the WIKI?
Thanks,
Hans
--
Hans J. Johnson, Ph.D.
Assistant Professor
200 Hawkins Drive
T205 BT, The University of Iowa
Iowa City, IA 52242
hans-johnson at uiowa.edu
PHONE: 319 353 8587
> From: Luis Ibanez <luis.ibanez at kitware.com>
> Date: Fri, 07 Aug 2009 08:24:39 -0400
> To: Hans Johnson <hans-johnson at uiowa.edu>
> Cc: Bill Lorensen <bill.lorensen at gmail.com>, Bradley Lowekamp
> <blowekamp at mail.nih.gov>
> Subject: Re: New failing test added
>
> Hi Hans,
>
> Thanks for pointing this out.
>
> This is something the Brad has also mentioned recently.
>
> We should take a look and figure out a fix...
>
> However, I'll encourage you to migrate to use the new
> Statistics framework.
>
>
> Luis
>
>
> ------------------
> Hans Johnson wrote:
>> Bill and Luis,
>>
>> I¹ve added a new test that is currently failing. It was written to show
>> a problem that we were having with many of our high-resolution images:
>>
>> The itkSparseFreqeuncyContainer, and the itkDenseFrequenceyContainer are
>> using floating point values for their FrequencyType. I am not sure if
>> the new statistics framework has the same issue.
>>
>> In many common images of size 512x512x384 have backgrounds of all zeros
>> with a count greater than the maximum that can be incremented to using
>> 32 bit floating point numbers.
>>
>> This is documented in http://public.kitware.com/Bug/view.php?id=9383
>>
>> You can see the failing test code that has notes describing the problem
>> in detail:
>> http://public.kitware.com/cgi-bin/viewcvs.cgi/Testing/Code/Numerics/Statistic
>> s/itkScalarImageToHistogramGeneratorTest.cxx?root=Insight&r1=1.2&r2=1.3&sortb
>> y=date
>> <http://public.kitware.com/cgi-bin/viewcvs.cgi/Testing/Code/Numerics/Statisti
>> cs/itkScalarImageToHistogramGeneratorTest.cxx?root=Insight&r1=1.2&r2=1.3&sort
>> by=date>
>>
>>
>> =======================================
>>
>> I¹ve not been able to figure out an acceptable way to fix this bug
>> without changing the current return types and preserve backwards
>> compatibility.
>>
>> Your advice would be greatly appreciated.
>>
>> Thanks,
>> Hans
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20090807/415cdb79/attachment.htm>
More information about the Insight-developers
mailing list