[Insight-users] [ITK Community] PadImageFilter and image origin?

Johnson, Hans J hans-johnson at uiowa.edu
Mon Mar 3 09:56:47 EST 2014


I definitely agree with Brad regarding using the grid illustration method.
 I¹ve found that it is less ambiguous.

Hans


On 3/3/14, 7:54 AM, "Bradley Lowekamp" <blowekamp at mail.nih.gov> wrote:

>Arnaud,
>
>The filters are correct. The figures on the Doxygen page should be
>updated though:
>
>http://www.itk.org/Doxygen/html/classitk_1_1PadImageFilter.html
>
>These filters are similar to the ExtractImageFilter, in that the Origin
>stays the same but the starting index changes. Looking back at the figure
>in Doxygen the origin should be placed at the corner of the red box in
>both images.
>
>Speaking of images to illustrate algorithms, I prefer the image grid
>illustrating many of these geometry concepts over the block done for the
>PadFilter like I did here:
>
>http://www.itk.org/Doxygen/html/classitk_1_1BinShrinkImageFilter.html
>
>Let me know what you think will be the most informative way to illustrate.
>
>Brad
>
>
>On Mar 3, 2014, at 6:03 AM, Cory Quammen <cory.quammen at kitware.com> wrote:
>
>> Arnaud,
>>
>> That sounds like a bug. I would think the padding should affect the
>> origin so as to keep the original image content in the padded image to
>> be at the same physical location as the input.
>>
>> Cory
>>
>> On Mon, Mar 3, 2014 at 5:22 AM, Arnaud Gelas <arnaudgelas at gmail.com>
>>wrote:
>>> Hi all,
>>>
>>> Is it normal that the output image of a PadImageFilter (and
>>>derivatives) has the same origin as the input?
>>>
>>> I just wonder if it is a bug, or not...
>>>
>>> Thanks,
>>> Arnaud
>>> _____________________________________
>>> 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
>>> _______________________________________________
>>> Community mailing list
>>> Community at itk.org
>>> http://public.kitware.com/cgi-bin/mailman/listinfo/community
>> _____________________________________
>> 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
>
>_____________________________________
>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



________________________________
Notice: This UI Health Care e-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged.  If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited.  Please reply to the sender that you have received the message in error, then delete it.  Thank you.
________________________________


More information about the Insight-users mailing list