[ITK] [ITK-dev] New Image Filter for Submission
Bradley Lowekamp
blowekamp at mail.nih.gov
Fri Oct 16 10:34:19 EDT 2015
David,
This filter was integrated in to ITK [1].
It handles the case where the image size is not a factor of the shrinkFactor, by truncating, and changing the image's physical extent. The doxygen page illustrates how this occurs.
Are you using the ITKv4 registration framework? I am curious how you are integrating this multi-scale feature into the framework.
[1] http://www.itk.org/Doxygen/html/classitk_1_1BinShrinkImageFilter.html
On Oct 15, 2015, at 3:35 PM, David Burns <david.mo.burns at gmail.com> wrote:
> Thanks Matt -
>
> You are correct. Very similar. I will not post mine in that case.
>
> Best
> David
>
> On 10/15/2015 03:17 PM, Matt McCormick wrote:
>> 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.burns at 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
_______________________________________________
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
More information about the Community
mailing list