[Insight-users] Stitching the image region
backafter RegionOfInterestImageFilter
Miller, James V (Research)
millerjv at crd.ge.com
Wed Mar 23 08:49:15 EST 2005
Another option is the PasteImageFilter
Jim
-----Original Message-----
From: insight-users-bounces at itk.org
[mailto:insight-users-bounces at itk.org]On Behalf Of Karthik Krishnan
Sent: Tuesday, March 22, 2005 9:00 PM
To: Quan Chen
Cc: insight-users at itk.org
Subject: Re: [Insight-users] Stitching the image region backafter
RegionOfInterestImageFilter
Hi Quan,
One way is of achieving arbitrary padding use the ResampleImageFilter.
See any of the examples in Examples/Filtering/Resample*.cxx. You can set
your output size, start index, output origin, and background pixel value
etc..
Thanks
regards
karthik
Quan Chen wrote:
> Hi, this might be a simple question but I havn't found a good solution
> yet. I am going to use RegionOfInterestImageFilter to extract a
> region for processing, say canny edge detection. However, after
> processing, I want to display it with the original image in
> fltkimageviewer. It seems that the imageviewer requires the overlay
> image the same size as the original image? So I would create a empty
> image with the same size as the original image and fill the processed
> region back in. I could use iterators and fill in pixel by pixel. I
> am wondering if there is any filter designed already for this
> purpose? Or sth involving with /SetFixedImageRegion?/
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Insight-users mailing list
>Insight-users at itk.org
>http://www.itk.org/mailman/listinfo/insight-users
>
>
_______________________________________________
Insight-users mailing list
Insight-users at itk.org
http://www.itk.org/mailman/listinfo/insight-users
More information about the Insight-users
mailing list