摘要 |
The disclosure relates to a method and a device for detecting at least one target in an image, wherein the image comprises a set of pixels with a magnitude assigned to each pixel. The method comprises an iterative process until the K+1th target does not show a probability increase above a predetermined threshold value. The method is performed by creating a candidate free image, calculating, for the candidate free image, the probability of there being a target at each pixel, by using Bayes theorem, determining a location of the candidate target K+1 in the image, determining the probability that there is a target at the determined location, by determining the calculated probability of there being a target at the determined location. By performing the above, the most probable locations for targets in the image are located together with the probability that the location holds a true target. |