In this paper, a set of TM(template matching) mask using the AM(associative mapping) technique was generated and the edge detection algorithm for a SAR image was proposed. And also, the performance of the proposed edge detection algorithm was tested with the conventional edge detection techniques. The proposed edge detection algorithm created an edge image which was more accurate and clear than the conventional edge detection techniques and the performance of the proposed detection technique was not deteriorated for low intensity area in the image because the uncertainly thresholded value genetated by the conventional detection methods was requested. Also, the number of masks and the detection time were reduced by adjusting resolution of edge detection and the consideration for the threshold value extracting the edge was very intuitive.