Smoothing Functions without distorting matrices' edges
Robert A. Macy
macy at california.com
Sun Sep 24 11:10:50 CDT 2006
here's a profile and a tilted matrix
try this and see:
>> prof=(1-cos(2*pi()*( (1:51)-1)/50))';
>> gsplot y;
you'll see smooth, but the dges are destroyed.
- Robert -
On Sat, 23 Sep 2006 23:19:08 -0400
Bill Denney <denney at seas.upenn.edu> wrote:
> Robert A. Macy wrote:
> > How does one smooth a matrix and NOT severely distort
> > edges? Is there some easy way to do this?
> Why does a simple Gaussian convolution not work for you?
> You mentioned using conv2, so why does that not work.
More information about the Help-octave