1. A method implemented by an electronic device, the method comprising: acquiring a plurality of images; obtaining depth information associated with at least two subjects in each of the plurality of images; and generating a final image having the subjects based on the depth information.