hi,all:
My recent research involves how to compute the first-order horizontal or vertical derivative of an image.According to the paper,the author used (-1,8,0,-8,1)/16(this is a column array) to compute the first derivative.Actually,I don't know what this array means.
I tried conv() and imfilter() function,however,both didn't work.because the arguments of these functions must be a two-dimension matrices,how can I convert (-1,8,0,-8,1)/16 to a valid matrix.
Thank you
|
|
0
|
|
|
|
Reply
|
UESTC
|
3/2/2010 3:34:08 AM |
|