The invention belongs to the technical field of
computer vision and discloses a method for detecting the contour of a target object. The method comprises the following steps of: dividing a non-classical
receptive field into an end area and a side area; performing constant inhibition in the side area; performing selective action in the end area by using influence of contrast; during computation of the selective action, setting a threshold according to a contrast value in a certain neighborhood of each pixel by using an
adaptive method to judge whether the pixel is inhibited or facilitated; according to an inhibitory action of the side area of a non-classical
receptive field filter on the pixel at the center position, suppressing texture and other
background information with similar local characteristics, and further highlighting contour information; and according to the inhibitory action of the side area of the non-classical
receptive field filter, regulating the size of the action of the end area to preserve the completeness of a
contour line as better as possible and inhibit background interference to the largest content. The method for detecting the contour of the target object can be applied to detection, identification and the like of the target object in the
computer vision.