The invention discloses a target tracking method of a sample selectable updating mechanism, a method for rememorizing an effective sample, and a distance estimation method, and belongs to the technical field of moving target tracking processing. The invention aims to solve the problem that a wrong tracking result influences a tracking algorithm. The method is characterized by comprising the following steps: 3, analyzing the tracking result through an image feature forgetting method, extracting image features of a target region, comparing the image features with a reference image, and forgetting the tracking result with a large difference; 4, verifying the forgotten tracking result in step 3 by using an energy significant memory method, extracting gradient energy of a forgotten result target area, performing significance analysis, rememorizing the tracking result containing the target into a sample library, and performing a forgetting keeping operation and returning to step 2 or tracking ending on the result free of the tracking target. The methods are suitable for all discrimination model type target tracking methods, can prevent the training set from being polluted by the featureinformation of an occlusion object, and improve the adaptability of the target tracking method to target occlusion.