First of all , determine the region of interest , and set it as a certification region , obtain authentication information as part of the watermark information ; In the region of non interest ( RONI ), automatic select the embedding region ; Achieve the watermark embedding in the RONI through the difference expansion of the adjacent pixels ; After extract the watermark , to achieve tamper detection and localization through comparing the authentication information , to achieve tamper recovery through error correction code technology .