The relationship between image processing and image analysis is inseparable. With the increasing demand for multimedia visual images, the quality of image analysis is also increasing. However, in image processing and computer vision tasks, protecting users' privacy and preventing data leakage and abuse are not handled well. Image enhancement and nonlinear image color balance algorithm are applied to improve the visual quality of multimedia visual images and make them clearer and fuller. The article utilized image enhancement and a non-linear image color balance algorithm to improve the processing effect before visual image analysis. It also utilized the encryption mechanism of blockchain technology to detect the similarity of multimedia visual images. By comparing the feature points of the images, similar images were matched to address the copyright issue of the images. After experimental testing, the effect of image enhancement is significant, and the histogram of image equalization is significantly better than the original image. In the experiment of image analysis, the computer accurately classified visual images with different attributes. Finally, in the similarity detection algorithm of blockchain, the test results showed that when the number of image transactions reaches 500, the difference hash algorithm takes 1.13 s and 0.78 s to calculate the similarity comparison between the original and secondary images. The differential hash algorithm of blockchain is significantly superior to the Message-Digest Algorithm (MD5) in terms of computational speed and resource consumption. It has better image similarity detection performance and can also provide better image copyright protection mechanisms.