摘要 |
Methods and apparatus, including computer program products, for detecting an object in an image. The techniques include scanning a sequence of pixels in the image, each pixel having one or more property values associated with properties of the pixel, and generating a dynamic probability value for each of one or more pixels in the sequence. The dynamic probability value for a given pixel represents a probability that the given pixel has neighboring pixels in the sequence that correspond to one or more features of the object. The dynamic probability value is generated by identifying a dynamic probability value associated with a pixel that immediately precedes the given pixel in the sequence; updating the identified dynamic probability value based on the property values of the immediately preceding pixel; and associating the updated probability value with the given pixel. |