I'm looking for some idea here. I have a project that loads a BMP greyscale image. I process the image with a sobel filter giving me a back egde detection. Using the atan2 of the y/x components of the sorbel filter to get the direction angle for each pixel modified. What i want to do then is process the image based on the directional angle. Where the fiter matrix values are adjusted by the angle for the pixel. What I'm having problems with is figuring out how to determine the values.