Patent ID: 8331623

Claim:
A method for processing image comprises: setting an information of a static area in a monitoring range; setting an initial background information of a monitoring image, wherein the initial image background information comprises a color image background information; retrieving a real time monitoring image information; calculating an image intensity change for the real time monitoring image information and the static area information, wherein the image intensity change comprises: setting a reflectance and an illumination for the real time monitoring image information; employing a difference value between the initial image background information and the real time monitoring image information to calculate a moving-object information by using an edge feature to track the moving-object information, wherein the difference value comprising dynamically adjusting by using a statistical information and the edge feature is a horizontal direction and a vertical direction of a projected statistical area; calculating the moving-object information and a simultaneous change rate for a color space of the initial image background information to judge a shadow part in the moving-object information by using an edge feature to track the second moving-object information, wherein the edge feature is a horizontal direction and a vertical direction of a projected statistical area; employing the moving-object information to subtract the shadow part to obtain a second moving-object information; and adjusting the initial background information according the image intensity change.