[Insight-users] Re sample Filter without deleting existing pixels

slorentz professor_rumsdiegeige at yahoo.com
Thu Feb 26 04:46:47 EST 2009


Hello,

thanks for the quick answer.

However: the reason I would like to use the ResampleFilter is that the
geometric transform is already applied. The background is: I have two
images, compute the translational transform ("registration"), and then I
need to stitch these images together. So when I use the PasteImageFilter
then I need to apply the transform myself... All I would need would be the
ResampleFilter without overwriting existing pixels...

Any other hints, especially on image stitching?

Regards,
Sabine Lorentz



Luis Ibanez wrote:
> 
> Hi Sabine,
> 
> It looks like what you really need is the itkPasteImageFilter
> http://public.kitware.com/Insight/Doxygen/html/classitk_1_1PasteImageFilter.html
> 
>      Regards,
> 
>           Luis
> 
> 
> -------------------------------------------------
> On Wed, Feb 25, 2009 at 11:28 AM, slorentz
> <professor_rumsdiegeige at yahoo.com
>> wrote:
> 
>>
>> Hello,
>>
>> when using the resample filter, it is possible to specify a default pixel
>> value ("SetDefaultPixelValue").
>>
>> How can I make this filter not overwrite existing pixels? That is, leave
>> all
>> pixels as they are instead of replacing them by this default value?
>>
>> Thanks for your help!
>> Regards
>> Sabine Lorentz
>> --
>>
>> _____________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> 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
> 
> 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
> 
> 

-- 
View this message in context: http://www.nabble.com/Resample-Filter-without-deleting-existing-pixels-tp22206442p22220807.html
Sent from the ITK - Users mailing list archive at Nabble.com.



More information about the Insight-users mailing list