An electronic device comprising: an image sensor including at least one phase detection pixel, a phase detection pixel being a means for detecting a phase difference; and a control unit operatively coupled to the image sensor; wherein the control unit is configured to: obtain (1015 - 1017) image information and phase difference information about a plurality of subjects through the image sensor; identify a plurality of pieces of distance information corresponding to a plurality of regions (740 - 747) associated with the image information, based on the phase difference information, wherein the plurality of regions (740 - 747) include a focused first region and a non-focused second region; obtain the difference between first distance information corresponding to the first region and second distance information corresponding to the second region; and process the image information based on the distance information; wherein each region of the plurality of regions (740 - 747) corresponds to a different subject (410 - 430) detected in the image information; wherein, to process the image information, the control unit is configured to: blur-process the second region, wherein blur processing relates to processing at least part of the second region to a defocusing state; and wherein, to blur-process the second region, the control unit is configured to: perform a first blur processing for the second region when the difference is in a first range; and perform a second blur processing for the second region when the difference is in a second range; and characterised in that, the control unit is further configured to: when the first region and the second region are adjacent to each other, perform Gaussian blur processing at at least part of a boundary between the first region and the second region, wherein Gaussian blur processing includes gradation processing the at least part of the boundary between the first region and the second region. an image sensor including at least one phase detection pixel, a phase detection pixel being a means for detecting a phase difference; and a control unit operatively coupled to the image sensor; wherein the control unit is configured to: obtain (1015 - 1017) image information and phase difference information about a plurality of subjects through the image sensor; identify a plurality of pieces of distance information corresponding to a plurality of regions (740 - 747) associated with the image information, based on the phase difference information, wherein the plurality of regions (740 - 747) include a focused first region and a non-focused second region; obtain the difference between first distance information corresponding to the first region and second distance information corresponding to the second region; and process the image information based on the distance information; obtain (1015 - 1017) image information and phase difference information about a plurality of subjects through the image sensor; identify a plurality of pieces of distance information corresponding to a plurality of regions (740 - 747) associated with the image information, based on the phase difference information, wherein the plurality of regions (740 - 747) include a focused first region and a non-focused second region; obtain the difference between first distance information corresponding to the first region and second distance information corresponding to the second region; and process the image information based on the distance information; wherein each region of the plurality of regions (740 - 747) corresponds to a different subject (410 - 430) detected in the image information; wherein, to process the image information, the control unit is configured to: blur-process the second region, wherein blur processing relates to processing at least part of the second region to a defocusing state; and wherein, to blur-process the second region, the control unit is configured to: perform a first blur processing for the second region when the difference is in a first range; and perform a second blur processing for the second region when the difference is in a second range; and perform a first blur processing for the second region when the difference is in a first range; and perform a second blur processing for the second region when the difference is in a second range; and