[ITK Community] [Insight-users] Histogram number of bins automatic
Jose Ignacio Prieto
joseignacio.prieto at gmail.com
Wed Mar 5 12:52:25 EST 2014
Hi all, I am having a problem trying to show a histogram of a MR image. I
would like to set the number of bins by getting all the samples that at
least have a frequency of one. Images have the slope/intercept multiplier,
so I cannot set the number of bins as max-min because there are lots of
empty bins. I don't want them because after the histogram I run a
derivative signum change detector to localize the peaks, and this zeros get
me a lot of noise.
I am sure that there is a smarter way than just deleting the zeroes from
the hist and keeping them in a dictionary.
Thanks
Ignacio
--
Jose Ignacio Prieto
Software Developer
Biomedical Imaging Center
Pontificia Universidad Catolica de Chile
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20140305/889e902a/attachment-0002.html>
-------------- next part --------------
_____________________________________
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.php
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 Community
mailing list