An electronic device comprising: an image obtaining device including a camera configured to obtain at least one pieces of image data; at least one sensor to sense movement of the electronic device by obtaining motion data; a display; at least one processor electrically connected to the image obtaining device, the at least one sensor, and the display; and a memory electrically connected to the at least one processor to store instructions, wherein the instructions, when executed, cause the processor to: obtain multiple pieces of image data through the image obtaining device while obtaining motion data associated with a movement of the electronic device through the at least one sensor; determine an image processing scheme based on the motion data, wherein, a first image processing scheme is determined when the motion data is associated with a first movement, and a second image processing scheme is determined when the motion data is associated with a second movement, wherein the second movement is different from the first movement and the second image processing scheme is different from the first image processing scheme; and process the multiple pieces of image data obtained while obtaining motion data through the determined image processing scheme and output a processing result through the display; characterized in that the determined image processing scheme is selected from a group comprising panorama image processing scheme, surround image processing scheme and wide selfie image processing scheme. an image obtaining device including a camera configured to obtain at least one pieces of image data; at least one sensor to sense movement of the electronic device by obtaining motion data; a display; at least one processor electrically connected to the image obtaining device, the at least one sensor, and the display; and a memory electrically connected to the at least one processor to store instructions, wherein the instructions, when executed, cause the processor to: obtain multiple pieces of image data through the image obtaining device while obtaining motion data associated with a movement of the electronic device through the at least one sensor; determine an image processing scheme based on the motion data, wherein, a first image processing scheme is determined when the motion data is associated with a first movement, and a second image processing scheme is determined when the motion data is associated with a second movement, wherein the second movement is different from the first movement and the second image processing scheme is different from the first image processing scheme; and process the multiple pieces of image data obtained while obtaining motion data through the determined image processing scheme and output a processing result through the display; characterized in that the determined image processing scheme is selected from a group comprising panorama image processing scheme, surround image processing scheme and wide selfie image processing scheme. obtain multiple pieces of image data through the image obtaining device while obtaining motion data associated with a movement of the electronic device through the at least one sensor; determine an image processing scheme based on the motion data, wherein, a first image processing scheme is determined when the motion data is associated with a first movement, and a second image processing scheme is determined when the motion data is associated with a second movement, wherein the second movement is different from the first movement and the second image processing scheme is different from the first image processing scheme; and process the multiple pieces of image data obtained while obtaining motion data through the determined image processing scheme and output a processing result through the display; characterized in that the determined image processing scheme is selected from a group comprising panorama image processing scheme, surround image processing scheme and wide selfie image processing scheme.