Prev: error management in optimization
Next: Convolution?
From: Matt J on 25 Feb 2010 02:02 "Rajesh " <rv_acharya(a)rediffmail.com> wrote in message <hm54fd$57r$1(a)fred.mathworks.com>... > Ok i was thinking too deep to get the simple thing with this interp2 and got the answer from shalin mehta's post. > http://www.mathworks.com/matlabcentral/newsreader/view_thread/261037#720879 > > but again let me repeat my concerns that i have put there (excuse for beating around). > > The image needs a uniform background and interp2 is disturbing it for the shifted region. > tried the conv2 as suggested by Mat in the same post but that too, a) works only for frations below 1 & b) leaves the shifted columns disturbed. ===================== As I've mentioned in the thread you've referenced, the "disruption" is probably because you are not passing an EXTRAPVAL argument to interp2(). Also, I've described how the conv2 method can be extended to shifts >1. |