Robust Image Watermarking Based on Multiscale Gradient Direction Quantization