[Insight-users] itk::Statistics::ScalarImageToHistogramGenerator bin overflow
Luis Ibanez
luis.ibanez at kitware.com
Sun May 2 17:26:22 EDT 2010
Hi Isaac,
This problem was fixed in the refactored
version of the Statistics framework.
You will find the new code under:
Insight/Code/Review/Statistics
In order to use this code you should
reconfigure your build of ITK by rerunning
CMake and turning ON the following two
advanced options:
* ITK_USE_REVIEW
* ITK_USE_REVIEW_STATISTICS
Once you have done this.
Rebuild your application.
Please note that some aspects of the
API have changed, and the new ways
of using the statistical classes are
described here:
http://www.itk.org/Wiki/Proposals:Refactoring_Statistics_Framework_2007_Migration_Users_Guide
Regards,
Luis
------------------------------------------------------------------
On Thu, Apr 29, 2010 at 2:06 PM, Isaac Abbott <abboti2 at rpi.edu> wrote:
> I have been using ScalarImageToHistogramGenerator to create a
> histograms of images that have a pixel type USHORT, but keep running
> into a DenseFrequencyContainer error (not exception). I think the
> problem is because I have many pixels of the same index (like 0). This
> means that the bin overflows and the program crashes. My images are at
> least 1024x1024x200. Is there a way to increase the size of each bin?
>
> Thanks for any insights!
> _____________________________________
> 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