A robust image hash function based on color and texture features of the image