From: Anjan on 6 Apr 2010 00:49 Hi, I am trying to use code very similar to example 2 here http://www.mathworks.com/access/helpdesk/help/toolbox/images/imtransform.html to superpose a sub-image onto a base image. If a pixel is my fillvalue, I leave it transparent for the base image to show through. However, I get this narrow band at the edge of the sub-image which is neither my fillvalue nor part of the sub-image. Does anyone else see this problem? Thanks for any help. Anjan Ghose
From: Ashish Uthama on 6 Apr 2010 08:26 On Tue, 06 Apr 2010 01:49:04 -0300, Anjan <invisibleidi0t(a)yahoo.com> wrote: > Hi, > > I am trying to use code very similar to example 2 here > http://www.mathworks.com/access/helpdesk/help/toolbox/images/imtransform.html > to superpose a sub-image onto a base image. If a pixel is my fillvalue, > I leave it transparent for the base image to show through. However, I > get this narrow band at the edge of the sub-image which is neither my > fillvalue nor part of the sub-image. Does anyone else see this problem? > Thanks for any help. > > Anjan Ghose Is this effect visible in the example you mention? I see interpolation artifacts on the image boundary. You could try using 'nearest' neighbor interpolation to confirm if this band you see is related to interpolation.
From: Anjan on 8 Apr 2010 00:40 Yes, it was interpolation related. Thanks for the help. "Ashish Uthama" <first.last(a)mathworks.com> wrote in message <op.vaqsyioza5ziv5(a)uthamaa.dhcp.mathworks.com>... > On Tue, 06 Apr 2010 01:49:04 -0300, Anjan <invisibleidi0t(a)yahoo.com> wrote: > > > Hi, > > > > I am trying to use code very similar to example 2 here > > http://www.mathworks.com/access/helpdesk/help/toolbox/images/imtransform.html > > to superpose a sub-image onto a base image. If a pixel is my fillvalue, > > I leave it transparent for the base image to show through. However, I > > get this narrow band at the edge of the sub-image which is neither my > > fillvalue nor part of the sub-image. Does anyone else see this problem? > > Thanks for any help. > > > > Anjan Ghose > > > > Is this effect visible in the example you mention? > > I see interpolation artifacts on the image boundary. You could try using > 'nearest' neighbor interpolation to confirm if this band you see is > related to interpolation.
|
Pages: 1 Prev: Anyone have a VPN working with 2009b? Next: spectral estimation |