[ITK-users] White Background on rotated image

Bradley Lowekamp blowekamp at mail.nih.gov
Thu Nov 13 08:59:34 EST 2014


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/insight-users/attachments/20141113/aaf76675/attachment.html>


More information about the Insight-users mailing list