The invention discloses an
infrared small target detection method combining local
gravitation and horizontal line
connectivity, and belongs to the technical field of
infrared small target detection, and the method comprises the steps: S1, obtaining an original
infrared image # imgabs0 #, and calculating local
gravitation # imgabs1 # and # imgabs2 # of pixels in a neighborhood acting on a middle pixel; s2, calculating a multi-direction local gravity contrast according to the local gravity obtained in the step S1; s3, calculating a horizontal line
connectivity contrast according to the local gravity obtained in the step S1; s4, performing regional fusion on the multi-direction local
gravitation contrast obtained in the step S2 and the horizontal line
connectivity contrast obtained in the step S3 to obtain a fusion contrast; and S5, according to the fusion contrast obtained in the step S4, performing segmentation by adopting an adaptive threshold method to obtain a final detection result. According to the technical scheme,
background suppression can be improved while the target intensity is kept, and the detection precision is remarkably improved.