[Insight-users] Applying ImageToHistogramFilter to a specified region

David Doria daviddoria at gmail.com
Fri Sep 16 09:26:57 EDT 2011


I just learned how to use SetRequestedRegion, but this concept only works
for filters that output an image. What is the best way to compute the
histogram of pixels in a certain region of an image? Of course using
a RegionOfInterestImageFilter before the ImageToHistogramFilter works fine,
but if I have to do this on millions of image patches it is quite slow.

Thanks,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110916/288a47c3/attachment.htm>


More information about the Insight-users mailing list