Optimization of watermarking performances and its experimental verification