[Insight-users] Image is clipped when Translated??

Siavash khallaghi siavashk at ece.ubc.ca
Sun Nov 10 23:48:05 EST 2013


You are probably not updating the output image size and using the same 
image size as the input. What you want to do is to set the output image 
size and region so that it covers the output. The gray area is most 
likely your default pixel value.

Siavash
On 11/10/2013 8:41 PM, abhishek wrote:
> Hello Users, I am trying to translate an image using TranslationTransform +
> ResampleImageFilter. But I am not getting desired output.
>
> As you can see in below image; translation does occur but the image is
> clipped and translated area is covered with grey.
> <http://itk-insight-users.2283740.n2.nabble.com/file/n7584330/Translated.jpg>
>
> I am using VTK for visualization. How can I fix this behavior, where entire
> image should be translated (no clipping)??
>
> Regards
> Abhishek.
>
>
>
> --
> View this message in context: http://itk-insight-users.2283740.n2.nabble.com/Image-is-clipped-when-Translated-tp7584330.html
> Sent from the ITK Insight Users mailing list archive at Nabble.com.
> _____________________________________
> 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
>



More information about the Insight-users mailing list