Patent Document ID: 8433104
Application ID: 12552295
Patent Status: 1

Claim One:
1. An image processing method, comprising: receiving an input image; referring to a first threshold to compare a reference background and the input image to determine a first foreground image within the input image; determining a second foreground image, which is within the input image and different from the first foreground image, according to the first foreground image; and referring to a second threshold different from the first threshold to compare the reference ground and the second foreground image to determine a third foreground image within the input image; wherein the input image comprises a plurality of processing units corresponding to a plurality of processing units of the reference background, respectively, each processing unit comprises a plurality of pixels, and the image processing method further comprises: building a reference table for recording a result of comparing the reference background and the input image and a result of comparing the reference ground and the second foreground image, wherein the reference table comprises a plurality of storage units corresponding to the plurality of processing units of the input image, respectively, and each storage unit is for storing a first code indicative of a foreground or a second code indicative of a background; wherein the step of determining the third foreground image according to the second foreground image and the reference ground comprises: comparing luminance values of all processing units of the second foreground image with luminance values of all corresponding processing units of the reference background, respectively; for each processing unit of the second foreground image: if a difference between a luminance value of the processing unit of the second foreground image and a luminance value of a corresponding processing unit of the reference background is larger than or equal to the second threshold, maintaining the first code stored in a corresponding storage unit in the reference table; and if the difference between the luminance value of the processing unit of the second foreground image and the luminance value of the corresponding processing unit of the reference background is smaller than the second threshold, assigning the second code to the corresponding storage unit in the reference table to replace the first code; and determining the third foreground image according to each storage unit having the first code in the reference table.