An image processing method for an electronic device which comprises an imaging apparatus comprising an image sensor, the image sensor comprises an array of photosensitive pixel units and an array of filter units arranged on the array of photosensitive pixel units, each filter unit corresponds to one photosensitive pixel unit and has a same color, the filter units are color filters arranged in a Bayer array, and each photosensitive pixel unit comprises a plurality of photosensitive pixels being adjacent to each other, the image processing method comprises: outputting a merged image by the image sensor, wherein, the merged image comprises an array of merged pixels, and the photosensitive pixels in a same photosensitive pixel unit are collectively output as one merged pixel such that the number of the merged pixels of the merged image is less than the number of the photosensitive pixels of the image sensor; determining whether there is a target object in the merged image; and determining whether a brightness of merged image is less than or equal to a preset threshold when there is no target object; when there is the target object in the merged image, or when there is no target object and when the brightness is less than or equal to the preset threshold, converting the merged image into a restoration image using a second interpolation algorithm, wherein the restoration image comprises restoration pixels arranged in the Bayer array, each photosensitive pixel corresponds to one restoration pixel such that the number of restoration pixels of the restoration image equals to the number of the photosensitive pixels of the image sensor, and converting the restoration image into the merged true-color image; when there is no target object and when the brightness is greater than the preset threshold, outputting a color-block image by the image sensor, wherein, the color-block image comprises image pixel units arranged in a preset array, wherein the preset array comprises the Bayer array, each image pixel unit comprises a plurality of original pixels adjacent to each other, each photosensitive pixel unit corresponds to one image pixel unit, and each photosensitive pixel corresponds to one original pixel; converting the color-block image into a simulation image using a first interpolation algorithm, wherein, the simulation image comprises simulation pixels arranged in the Bayer array, and each photosensitive pixel corresponds to one simulation pixel such that the number of simulation pixels of the simulation image equals to the number of the photosensitive pixels of the image sensor; and converting the simulation image into a simulation true-color image; wherein a complexity of the second interpolation algorithm is less than that of the first interpolation algorithm. outputting a merged image by the image sensor, wherein, the merged image comprises an array of merged pixels, and the photosensitive pixels in a same photosensitive pixel unit are collectively output as one merged pixel such that the number of the merged pixels of the merged image is less than the number of the photosensitive pixels of the image sensor; determining whether there is a target object in the merged image; and determining whether a brightness of merged image is less than or equal to a preset threshold when there is no target object; when there is the target object in the merged image, or when there is no target object and when the brightness is less than or equal to the preset threshold, converting the merged image into a restoration image using a second interpolation algorithm, wherein the restoration image comprises restoration pixels arranged in the Bayer array, each photosensitive pixel corresponds to one restoration pixel such that the number of restoration pixels of the restoration image equals to the number of the photosensitive pixels of the image sensor, and converting the restoration image into the merged true-color image; when there is no target object and when the brightness is greater than the preset threshold, outputting a color-block image by the image sensor, wherein, the color-block image comprises image pixel units arranged in a preset array, wherein the preset array comprises the Bayer array, each image pixel unit comprises a plurality of original pixels adjacent to each other, each photosensitive pixel unit corresponds to one image pixel unit, and each photosensitive pixel corresponds to one original pixel; converting the color-block image into a simulation image using a first interpolation algorithm, wherein, the simulation image comprises simulation pixels arranged in the Bayer array, and each photosensitive pixel corresponds to one simulation pixel such that the number of simulation pixels of the simulation image equals to the number of the photosensitive pixels of the image sensor; and converting the simulation image into a simulation true-color image; wherein a complexity of the second interpolation algorithm is less than that of the first interpolation algorithm.