The invention relates to the technical field of
image processing, and discloses an image optimization method and device, equipment and a medium, and the method comprises the steps: recognizing the degradation information of a target image, carrying out the
image transformation processing of the target image according to the
image degradation information and a preset
image transformation process, and obtaining an optimized image, performing multi-type
visual task detection on the optimized image, generating a quantized
image quality index, judging whether the image reaches a
quality standard by comparing a detection parameter with a preset threshold value, if not, calculating a reward
signal of a
reinforcement learning agent model according to a detection result, and updating an
image transformation process by using the
signal, so as to improve the quality of the image. And then returning to the optimization step to process the image again, if the current strategy reaches the standard, indicating that the current strategy is effective, directly
processing the subsequent to-be-processed image by the agent by using the updated strategy, and finally outputting a high-quality target optimized image. According to the invention, the efficiency and precision of
image processing are improved.