Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question 12 Marked out of 12.00 Not yet answered p Flag question Given a query image Q and three database images A, B and C
Question 12 Marked out of 12.00 Not yet answered p Flag question Given a query image Q and three database images A, B and C shown above, each image is divided into 3 by 3 regions where the color (black, white, grey) in each region signifies the visual word of this region. Use the Bag-of-Words (BOW) model to encode these images into vectors and compute Euclidean distance from Q to A, B, and C. Notice we penalize visual words that commonly occur in many images: we compute the accurances of the three visual words over three database images and give a weight of 1,0.75 and 0.5 for visual words occuring only in one image, two images, and all three images, respectively. These weights should be multiplied back to corresponding visual word frequencies in the encoded vector for every image. ANSWER: The Euclidean distance from Q to A is. 2 decimal places) The Euclidean distance from Q to Bis: (to 2 decimal places) The Eucldiean distance from Q to Cis: 2 decimal places) (to (to
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started