It gives back the 2D molecule of the second filter derivative in order to be used in the convolution or to obtain a convolution.
0001 % It gives back the 2D molecule of the second filter derivative in order to be used in the 0002 % convolution or to obtain a convolution. 0003 0004 function h=filt2dsegder 0005 0006 h=[0 -1 0;-1 4 -1;0 -1 0]/8; 0007