Figure 5 Comparisons between the previous and posterior predictors visually (before hiding) the best- chosen block’s matching index in dataset (a) color images and (b) grayscale images The suggested approach offers greater flexibility than the existing schemes, when the new system is compared to several well-known contemporary designs. As previously mentioned, evaluation criteria like SSIM, MSE, PSNR, and BER are exploited to assess the optical robustness and efficiency of the suggested technology. The highest PSNR of the scheme proposed is found in comparative studies, where no attack is louder than 75.7678 dB in Table 3, 68.6890 dB in Table 4, and 70.3197 in Table 5. The greatest MSE values are closer to one and are 0.0012331 and 0.0042543 in Table 3 and Table 4. The SSIM merits are nearer to one, as shown in the tables, ensuring that the proposed framework is not perceived.