Question

3 Problem 3 (10 points total) You have a set S of 220 (about a million) black and white images. Each image is 30x30 pixels, and each pixel is either white or black. You want to build a dictionary that will allow you to search whether a given image is already in Part 1 (1 points): How large is the universe size U? Part 2 (9 points): You decide to use the following hash function U1...20 Pick twenty random pixels PiP2, , p20. So for example, pl might end up being the pixel at position (10,20) Given any image I, compute h(I) as follows k we will construct a 20-bit number from I. Check whether I is black or white at pixel pi: if black, make the leading digit a 0, if white make it a 1. Check whether I is black or white at p2 to determine the second digit, and so forth. Let h(I) be the resulting 20-bit number. Note that because h(I) is 20 bits, we indeed have h(1) e 11 2201 The question: Argue that h is not universal by exhibiting a pair of images , 12, for which Pr[h(l, is significantly larger than 1/220. (State what the probability is.)

0 0
Add a comment Improve this question Transcribed image text
Know the answer?
Add Answer to:
3 Problem 3 (10 points total) You have a set S of 220 (about a million)...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • use MATLAB to upload the following: an image that you want to process (can be taken...

    use MATLAB to upload the following: an image that you want to process (can be taken yourself or downloaded from the internet) a script that processes the image in TWO ways. manipulates the colors averages pixels together Please make sure the script displays the images (like how I did with the 40 and 80 pixel averaging) so I can easily compare them to the original. Make sure to COMMENT your code as well. Homework 13 Please upload the following: an...

  • The ACME Manufacturing Company has hired you to help automate their production assembly line. Cameras have...

    The ACME Manufacturing Company has hired you to help automate their production assembly line. Cameras have been placed above a conveyer belt to enables parts on the belt to be photographed and analyzed. You are to augment the system that has been put in place by writing C code to detect the number of parts on the belt, and the positions of each object. The process by which you will do this is called Connected Component Labeling (CCL). These positions...

  • please help. thank you! Total Question 12 3 4 5 6 7 8 9 10 11...

    please help. thank you! Total Question 12 3 4 5 6 7 8 9 10 11 1213 14 15 16 | 435(11.4%) 12 -/1 -/1 -8-6-6-/1 -3-13 ㅢ1-1 0/3 1/1 0,1 Points Assignment Submission For this assignment, you submit answers by question parts. The number of submissions remaining for each question part only cha Assignment Scoring Your last submission is used for your score. 4. 0/1 points I Previous Answers OSPreCalc1 8.1.041 Find the measure of angle x, If possible....

  • Please use own words. Thank you. CASE QUESTIONS AND DISCUSSION > Analyze and discuss the questions...

    Please use own words. Thank you. CASE QUESTIONS AND DISCUSSION > Analyze and discuss the questions listed below in specific detail. A minimum of 4 pages is required; ensure that you answer all questions completely Case Questions Who are the main players (name and position)? What business (es) and industry or industries is the company in? What are the issues and problems facing the company? (Sort them by importance and urgency.) What are the characteristics of the environment in which...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT