Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Given the following image pixel intensity values I= [1 2 0] 1 3 (a) Perform k-means clustering with k-2. Your initial references vectors

   

1. Given the following image pixel intensity values I= [1 2 0] 1 3 (a) Perform k-means clustering with k-2. Your initial references vectors will be a = [1] and a2 [2]. You will be "running" the k-means algorithm manually. Until the cluster assignments don't change: i. Assign an observation (pixel) to the reference vector it is closest to, using the Euclidean distance on the pixel value. ii. Update the reference vectors to be the means of their members. Show the value of the reference vectors, and the cluster assignments for each iteration you must perform (10pts). (b) Using the same grayscale image above, compute the weights between the pixels for a fully-connected, undirected graph representation. You can either show this as a drawing of the graph (in which case, a hand-drawn visualizations, inserted into your PDF, with the weights on the edges is fine) or provide the weight. matrix (the upper-diagonal of it is fine, since it will be symmetric). For the weights of the edges connecting pixels, we'll use a combination of their value and location. For pixel a, let a, be its value/intensity, and (ar, ay) be its location. We can then compute the similarity/weight between pixels a and bas: w(a, b) e-((a, b)+(a, b)+(aby)) = In addition, consider a pixel not to be connected to itself (weight-0). You should leave your weights in terms of e (10pts). (c) Find the minimum non-trivial graph cut using the matrix formulation way shown in class. You may (and should) use function like sud do eigen-decomposition for you. You'll likely need to read its documentation to understand how to the inputs and outputs work. Show the intermediate matrices needed for your eigen-decomposition, namely D and W, and what the chosen eigenvalue/vector pair is. Finally draw your new (cut) graph (and include that image) and/or just tell us which pixels belong to which groups. (10pts).

Step by Step Solution

3.47 Rating (163 Votes )

There are 3 Steps involved in it

Step: 1

iSemiautonomous action In semi auto nomous action there is 5050 role of both human and machine For e... 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

Income Tax Fundamentals 2013

Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill

31st Edition

1111972516, 978-1285586618, 1285586611, 978-1285613109, 978-1111972516

More Books

Students also viewed these Programming questions

Question

Define the term utility software and give two examples.

Answered: 1 week ago