Patent ID: 8208030

Claim:
A method for motion detection in a current picture with respect to a reference picture, comprising: determining, at a processor, a plurality of locations in the current picture respective difference values based on a difference between a first value and a second value, wherein the first value is descriptive of a photometric measure of one of the locations in the current picture and the second value is descriptive of the photometric measure of a corresponding location in the reference picture; determining a histogram based on the difference values; determining a threshold based on the histogram; detecting motion at a respective location in the current picture by comparing the threshold to the difference value of the respective location; determining a slope of the histogram; determining a first abscissa value for which a local minimum of the slope is attained and a second abscissa value for which a subsequent local maximum of the slope is attained; and selecting the threshold from an interval extending between the first abscissa value and the second abscissa value.