how to compute horizontal and vertical derivative of an image?

  • Follow


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


0 Replies
760 Views

(page loaded in 0.022 seconds)

Similiar Articles:













7/23/2012 10:26:14 PM


Reply: