摘要 |
Embodiments of the present invention provide an image processing method and an electronic device. The method includes: acquiring a value of a first factor of a first image, an average value of the first factor of the first image, and a value of a standard deviation of the first factor of the first image; acquiring a value of a first factor of a to-be-processed second image, an average value of the first factor of the second image, and a value of a standard deviation of the first factor of the second image; acquiring a value of a new first factor of the second image according to the average value of the first factor of the first image, the value of the standard deviation of the first factor of the first image, the value of the first factor of the second image, the average value of the first factor of the second image, and the value of the standard deviation of the first factor of the second image; and generating a third image according to the value of the new first factor of the second image. Therefore, a user can perform personalized image processing according to an intent of the user, an image processing manner is expanded, image processing efficiency is improved, and user experience is improved. |