Question: Suppose you would like to build a hash table for images, where the key for each image is a thumbnail image of 7575 pixels, with
Suppose you would like to build a hash table for images, where the key for each image is a thumbnail image of 7575 pixels, with each pixel being one of 256 possible colors. Describe a hash function for a set of such images. Your hash function should be fast to compute and it should strive to map different images to different hash values. In particular, reflections and 90? rotations of the same image should, in general, map to different hash values.
Use psuedocode please.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
