The invention discloses a high-safety
JPEG image steganography method. The method includes the steps of acquiring the quantitative
rounding error of each quantitative
discrete cosine transformation coefficient in a transformation domain in the
JPEG image compression process, and quantitative DCT coefficients x and X before and after
rounding, defining corresponding longitudinal
distortion and transverse
distortion by the utilization of the quantitative
DCT coefficient x and X before and after the
rounding, building a minimized imbedded
distortion model of the longitudinal distortion by the utilization of the quantitative rounding errors, calculating the optimal modification probability of each quantitative
DCT coefficient according to the minimized embedded distortion model of the longitudinal distortion, the corresponding longitudinal distortion and the corresponding transverse distortion, converting the acquired optimal modification probability of each quantitative
DCT coefficient into ternary distortion, calling check space time trellis codes, embedding a secrete message into the rounded quantitative DCT coefficient X which serves as a carrier, and performing packaging to form an integral
JPEG image. The method ensures the safety of the embedded secrete message and
good image quality after the secrete message is embedded.