[Insight-users] ScalarImageToHistogramGenerator frequency container overflow
Luis Ibanez
luis.ibanez at kitware.com
Mon May 24 13:36:40 EDT 2010
Hi Isaac,
This bug was fixed in the New Statistics Framework:
http://batchmake.org/Wiki/Proposals:Refactoring_Statistics_Framework_2007
You seem to be using the deprecated Statistics Framework.
Please switch to use the new framework.
You will find a MIGRATION GUIDE at:
http://batchmake.org/Wiki/Proposals:Refactoring_Statistics_Framework_2007_Migration_Users_Guide
and in your build of ITK you should turn ON the following
two CMake variables:
1) ITK_USE_REVIEW
2) ITK_USE_REVIEW_STATISTICS
Regards,
Luis
--------------------------------------------------------
On Tue, May 18, 2010 at 10:05 AM, Isaac Abbott <isaac.abbott at gmail.com> wrote:
> Dear ITK developer,
>
> I am using the ScalarImageToHistogramGenerator (ITK 3.16), in combination
> with the OtsuMultipleThresholdsCalculator to find threshold for image
> binarization.
> It was working great until I started processing larger images
> (1024x1024x112).
> I now get the "Frequency container saturated for Instance " exception within
> the DenseFrequencyContainer.
> This is because the frequency of 0 is greater than the
> "largestIntegerThatFitsInFloat".
>
> I could solve the problem by creating my own histogram, normalizing it, then
> copying it into the itk::Statistics::Histogram for the
> OtsuMultipleThresholdsCalculator, but it seems like their could be a way to
> extend the Dense Frequency Container to allow for higher frequencies.
>
> Thanks,
> Isaac
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.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-users
>
>
More information about the Insight-users
mailing list