1. An image processing method, which is applied to an electronic device having a storage unit and a processing unit, the image processing method, comprising: an input step of inputting multiple input images from the storage unit; a matching step of matching the input images according to corresponding positions by the processing unit; a determining step of determining a background image from the input images by the processing unit; a marking step of marking at least one moving object from at least one of the input images by the processing unit; and a replacing step of replacing a region, occupied by the moving object in at least one of the input images, with a corresponding regional background in another one of the input images by the processing unit.