[ITK] [ITK-users] White Background on rotated image

Matias Montroull matimontg at gmail.com
Thu Nov 13 09:30:22 EST 2014


I have one more question, it seems the writer method removes lot of tags
from the image, is there an option to keep the original tags such as
patient name, model, manufacture etc?

On Thu, Nov 13, 2014 at 11:27 AM, Matias Montroull <matimontg at gmail.com>
wrote:

> Bradley, I must say you're the man! that did the trick, thanks a lot!
>
> On Thu, Nov 13, 2014 at 10:59 AM, Bradley Lowekamp <blowekamp at mail.nih.gov
> > wrote:
>
>> Hello,
>>
>> Check out the ImageToImageFilter::SetDefaultPixelValue method [1].
>>
>> Brad
>>
>> [1]
>> http://www.itk.org/Doxygen/html/classitk_1_1ResampleImageFilter.html#a227397f3786a0ec4d3107cb73033b4be
>>
>> On Nov 13, 2014, at 8:56 AM, Matias Montroull <matimontg at gmail.com>
>> wrote:
>>
>> Hi,
>>
>> I'm running this example:
>>
>> http://www.itk.org/Doxygen/html/Filtering_2ResampleImageFilter3_8cxx-example.html
>>
>> and I'm getting this result which is fine *but I need the white sections
>> left due to the rotation to be black.* how can I achieve this?
>>
>> <Capture.JPG>
>>>> _____________________________________
>> 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://public.kitware.com/mailman/listinfo/insight-users
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20141113/b5de7a6a/attachment.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://public.kitware.com/mailman/listinfo/insight-users


More information about the Community mailing list