Automatic Image Equalization for Texturing in 3D Models