Method for detecting defective pixels, said method being comprised in an image-processing procedure comprising a pixel-processing procedure, the pixel-processing procedure being applied to pixels of at least one image output from an image sensor, each pixel corresponding to one active image-sensor element referred to as a photosite, able to convert an incident light beam into an electrical signal, each pixel being associated with a classification value representative of a state of said pixel, characterized in that the method comprises the following step: • applying a combined pixel-processing and defective-pixel-detecting procedure to each pixel of an image referred to as the input image, this comprising, for each pixel: ∘ applying, by means of a first processing module, the pixel-processing procedure to said pixel, the pixel-processing procedure delivering, when it is applied to pixels of said input image, an image referred to as the resultant image, in which an acquisition noise has been attenuated and/or edges have been improved and/or edges have been detected and/or providing information representative of an object detected and tracked in said input image; and ∘ after the pixel-processing procedure has been applied to said pixel by means of the first processing module, applying, by means of a second processing module, steps of detecting defective pixels, comprising: ▪ analysing a result delivered by the pixel-processing procedure; ▪ in the event of a singular result representative of a defect in an image-sensor photosite that delivered said pixel being obtained, incrementing a variable (N RS (x,y)) representative of a number of detections of a singular result for said pixel; and, ▪ associating said pixel with a classification value representative of a defective pixel when said variable reaches a first threshold (1114, N1) representative of a maximum number of singular results. • applying a combined pixel-processing and defective-pixel-detecting procedure to each pixel of an image referred to as the input image, this comprising, for each pixel: ∘ applying, by means of a first processing module, the pixel-processing procedure to said pixel, the pixel-processing procedure delivering, when it is applied to pixels of said input image, an image referred to as the resultant image, in which an acquisition noise has been attenuated and/or edges have been improved and/or edges have been detected and/or providing information representative of an object detected and tracked in said input image; and ∘ after the pixel-processing procedure has been applied to said pixel by means of the first processing module, applying, by means of a second processing module, steps of detecting defective pixels, comprising: ▪ analysing a result delivered by the pixel-processing procedure; ▪ in the event of a singular result representative of a defect in an image-sensor photosite that delivered said pixel being obtained, incrementing a variable (N RS (x,y)) representative of a number of detections of a singular result for said pixel; and, ▪ associating said pixel with a classification value representative of a defective pixel when said variable reaches a first threshold (1114, N1) representative of a maximum number of singular results. ∘ applying, by means of a first processing module, the pixel-processing procedure to said pixel, the pixel-processing procedure delivering, when it is applied to pixels of said input image, an image referred to as the resultant image, in which an acquisition noise has been attenuated and/or edges have been improved and/or edges have been detected and/or providing information representative of an object detected and tracked in said input image; and ∘ after the pixel-processing procedure has been applied to said pixel by means of the first processing module, applying, by means of a second processing module, steps of detecting defective pixels, comprising: ▪ analysing a result delivered by the pixel-processing procedure; ▪ in the event of a singular result representative of a defect in an image-sensor photosite that delivered said pixel being obtained, incrementing a variable (N RS (x,y)) representative of a number of detections of a singular result for said pixel; and, ▪ associating said pixel with a classification value representative of a defective pixel when said variable reaches a first threshold (1114, N1) representative of a maximum number of singular results. ▪ analysing a result delivered by the pixel-processing procedure; ▪ in the event of a singular result representative of a defect in an image-sensor photosite that delivered said pixel being obtained, incrementing a variable (N RS (x,y)) representative of a number of detections of a singular result for said pixel; and, ▪ associating said pixel with a classification value representative of a defective pixel when said variable reaches a first threshold (1114, N1) representative of a maximum number of singular results.