Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 5 ( 2 0 points, 1 0 points each part ) ( a ) Consider the following with top left pixel indexed as (

Question 5(20 points, 10 points each part)
(a) Consider the following with top left pixel indexed as (0,0) with increasing indices to the right
and bottom and common property we are interested in as being the value 1 :
1,0,0,0
0,1,1,0
1,a,1,1
0,0,0,0
1,0,0,0
What should the value of a be such that pixels (1,1) and pixels (3,3) are (i)4-adjacent, (ii)8-adjacent,
(iii) m-adjacent.
(b) Consider the following candidate for a distance function between pixels p=[px,py] and q=
[qx,qy]:
D(p,q)=[(px-qx-k)s+(py-qy-l)s)
Is this a valid distance function for general values of k,l and s. If your answer is yes, prove your
answer. If your answer is no, prove your answer and specify the conditions on these three parameters
that would result in a valid distance function.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing

Authors: David M. Kroenke

12th Edition International Edition

1292023422, 978-1292023427

More Books

Students also viewed these Databases questions