With the development of technology, people work hard on image processing and artificial intelligence which require a lot of computer resources. Instead of simply speeding up calculations with processors, people develop the technology of the Cloud with the Internet which performs high‐quality calculations and has quite a huge amount of storage. Thus, in this paper, the authors use a kind of encryption methods, Secure Multi‐Party Computation (SMPC), to protect the important information which is based on the absence of a trusted party and does not use specific keys or methods to maintain the confidentiality of data. Furthermore, the authors also use the error correction, Berlekamp–Welch (BW) algorithm, to double‐check the correction of the information. To apply the two algorithms to image enhancement and convolution neural networks (CNN), the authors will also discuss the homomorphism in all operations, including addition, multiplication, division etc., and find the best way to encrypt and decrypt the information. Finally, the authors will implement the system with cloud computing to decrease the consumption of computer resources and build a system that can do image enhancement and CNN.