| CPC G06T 7/0004 (2013.01) [G06T 2207/10061 (2013.01)] | 12 Claims |

|
1. A dual-neighborhood wear angle automatic detection method for a four-ball friction tester, comprising:
step 1: capturing a wear scar image of a test steel ball by an electron microscope and performing a gray processing on the captured wear scar image of the test steel ball to obtain a grayed wear scar image of the test steel ball;
step 2: choosing a pixel arbitrarily in a defined center area of the grayed wear scar image of the test steel ball obtained in step 1, and constructing a proximal neighborhood above the pixel;
step 3: calculating grayscale differences between the arbitrarily chosen pixel and pixels having first directions on a boundary of the proximal neighborhood;
step 4: calculating deviation degrees of all pixels in the defined central area in the first directions based on the grayscale differences obtained in step 3;
step 5: calculating a similar direction value based on the deviation degrees obtained in step 4;
step 6: constructing a distal neighborhood of the arbitrarily chosen pixel chosen in step 2, and constructing focus pixels having second directions on a boundary of the distal neighborhood based on the similar direction value obtained in step 5;
step 7: calculating grayscale differences between the arbitrarily chosen pixel and the focus pixels constructed in step 6;
step 8: calculating deviation degrees of said all pixels of the defined center area in the second directions based on the grayscale differences obtained in step 7;
step 9: calculating a direction value of a wear angle of the test steel ball based on the deviation degrees obtained in step 8; and
step 10: calculating the wear angle of the test steel ball based on the direction value of the wear angle of the test steel ball obtained in step 9.
|