int filter[] ={1,1,1,1,1,1,1,1,1}; //glättungsfilter int filter[] ={-1,-1,-1,0,0,0,1,1,1}; //gradientenfilterx int filter[] ={-1,0,1,-1,0,1,-1,0,1}; //gradientenfiltery int filter[] ={1,2,1,0,0,0,-1,-2,-1}; //sobelfilterx int filter[] ={-1,0,1,-2,0,-2,-1,0,-1}; //sobelfiltery int filter[] ={1,2,1,2,4,2,1,2,1};//binominalfilter #define c 12 //was auch immer für ne constante int filter[] ={-1,2,-1,-2,12+c,-2,-1,2,-1}; //laplace-binominalfilter
|