A method for processing signals collected by pixels of a detector, each pixel being able to collect a signal under the effect of radiation experienced by the detector, characterised in that it comprises: • identifying a pixel (P 0), called affected pixel, collecting a signal higher than a threshold; • defining at least one adjacent pixel (P 1...P N) of the affected pixel (P 0); and • for each adjacent pixel (P 1...P N): ▪ selecting a first comparison group (C 0) associated with said affected pixel (P 0) and a second comparison group (C 1...C N) associated with said adjacent pixel (P 1...P N), each comparison group (C 0...C N) comprising a plurality of pixels, said first and second comparison groups not comprising any pixel in common; ▪ determining a signal collected by each of the comparison groups (C 0...C N), the signal collected by each of the comparison groups corresponding to a value representing the signals collected by the various pixels of each of said groups; ▪ comparing the signals collected by each comparison group (C 0), (C 1...C N) so as to determine the comparison group that collected the highest signal; • declaring said affected pixel to be the winning pixel if the group (C 0) associated with the affected pixel (P 0) has a collected signal higher than the signal collected by each group (C i) associated with an adjacent pixel (P l) of said affected pixel (P 0). • identifying a pixel (P 0), called affected pixel, collecting a signal higher than a threshold; • defining at least one adjacent pixel (P 1...P N) of the affected pixel (P 0); and • for each adjacent pixel (P 1...P N): ▪ selecting a first comparison group (C 0) associated with said affected pixel (P 0) and a second comparison group (C 1...C N) associated with said adjacent pixel (P 1...P N), each comparison group (C 0...C N) comprising a plurality of pixels, said first and second comparison groups not comprising any pixel in common; ▪ determining a signal collected by each of the comparison groups (C 0...C N), the signal collected by each of the comparison groups corresponding to a value representing the signals collected by the various pixels of each of said groups; ▪ comparing the signals collected by each comparison group (C 0), (C 1...C N) so as to determine the comparison group that collected the highest signal; ▪ selecting a first comparison group (C 0) associated with said affected pixel (P 0) and a second comparison group (C 1...C N) associated with said adjacent pixel (P 1...P N), each comparison group (C 0...C N) comprising a plurality of pixels, said first and second comparison groups not comprising any pixel in common; ▪ determining a signal collected by each of the comparison groups (C 0...C N), the signal collected by each of the comparison groups corresponding to a value representing the signals collected by the various pixels of each of said groups; ▪ comparing the signals collected by each comparison group (C 0), (C 1...C N) so as to determine the comparison group that collected the highest signal; • declaring said affected pixel to be the winning pixel if the group (C 0) associated with the affected pixel (P 0) has a collected signal higher than the signal collected by each group (C i) associated with an adjacent pixel (P l) of said affected pixel (P 0).