In recent decades, many watermarking schemes for tamper detection and tampered image recovery have been proposed. However, most of these schemes suffered from several kinds of attacks due to the lack of considering security issues. In this paper, an improved and elaborately designed scheme is proposed after the drawbacks of these schemes are analysed and discussed. The proposed scheme outperforms the other schemes in terms of the sensitivity to the alteration in the protected image as well as the resistibility to the well-known attacks, such as the counterfeit attack, the disturbing attack and the leakage of the secret key. In addition, the watermarked images and the recovered images generated by the proposed scheme demonstrate competent qualities.