jiya ali
i wanna make direction image of figerprint to extract features..
I think that you are interested in edge detection filters which are direction-specific.
Sobel filters are among the simpler such filters, and measure the edge in the vertical and horizontal directions separately, and these can be combined to obtain direction (not limited to NSEW) and magnitude measures, as described here:
<a href="https://homepages.inf.ed.ac.uk/rbf/HIPR2/sobel.htm" target="_blank" rel="nofollow noopener noreferrer">Feature Detectors - Sobel Edge Detector</a>
There are other filters similar to this, which make separate magnitude measurements for 0, 45, 90 and 135 degrees, only. For example:
<a href="https://homepages.inf.ed.ac.uk/rbf/HIPR2/prewitt.htm" target="_blank" rel="nofollow noopener noreferrer">Feature Detectors - Compass Edge Detector</a>
-Will Dwinnell
<a href="https://matlabdatamining.blogspot.com/" target="_blank" rel="nofollow noopener noreferrer">Data Mining in MATLAB</a>