In the past two decades, research in the field of chaotic synchronization has attracted extensive attention from scholars, and at the same time, more synchronization methods, such as chaotic master-slave synchronization, projection synchronization, sliding film synchronization, fractional-order synchronization and so on, have been proposed and applied to chaotic secure communication. In this paper, based on radial basis function neural network theory and the particle swarm optimisation algorithm, the RBFNN-PSO synchronisation method is proposed for the Sprott B chaotic system with external noise. The RBFNN controller is constructed, and its parameters are used as the particle swarm particle optimisation parameters, and the optimal values of the controller parameters are obtained by the PSO training method, which overcomes the influence of external noise and achieves the synchronisation of the master-slave system. Then, it is shown by numerical simulation and analysis that the scheme has a good performance against external noise. Because the Sprott B system has multiple chaotic attractors with richer dynamics, the synchronization system based on Sprott B chaos is applied to the image encryption system. In particular, the Zigzag disambiguation method for top corner rotation and RGB channel selection is proposed, and the master-slave chaotic system synchronisation sequences are diffused to the disambiguated data streams, respectively. Therefore, the encryption and decryption of image transmission are implemented and the numerical simulation results are given, the random distribution characteristics of encrypted images are analysed using histogram and Shannon entropy methods, and the final results achieve the expected results.