Hi David, Thanks for contributing to ITK.
It sounds like this filter does the same as the BinShrinkImageFilter?: http://www.insight-journal.org/browse/publication/912 Matt On Thu, Oct 15, 2015 at 2:48 PM, David Burns <david.mo.bu...@gmail.com> wrote: > Dear Insight Developers, > > I have developed an image filter that may be useful to the community. Please > let me know if you think this is the case, and I will submit it to the > Journal. > > The filter produces a subsampled version of the input image, where the > output image has the same output dimensions (Size[i]*Spacing[i]) but with > the number of pixels (Size[i]) scaled down by a factor (factor[i]) across > the dimensions. The pixels of the output image are an average over the input > pixels they overlap. The filter verifies/ensures that factor[i] is an exact > factor of the input image Size[i], so that the image properties remain > unchanged by the filter. > > I found this to be useful for my registration task to produce a lower > resolution image very quickly, without needing to use itk:: > ResampleImageFilter, interpolation or smoothing. > > I've attached a screenshot of an xray, subsampled / averaged by a factor of > 4 in x and y. Let me know your thoughts? > > Thanks > David Burns > > _______________________________________________ > 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://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://public.kitware.com/mailman/listinfo/insight-developers > _______________________________________________ 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://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://public.kitware.com/mailman/listinfo/insight-developers