Question: : In matlab, implement the mean shift clustering algorithm as discussed in lectures and papers. Hand-in your code for this question. To do this, use
: In matlab, implement the mean shift clustering algorithm as discussed in lectures and papers. Hand-in your code for this question. To do this, use a flat kernel function (you will need to specify the value for the radius parameter, ). You can choose to implement as either a blurring or non-blurring process. To test your algorithm, create some 2-D datasets using matlabs Gaussian random number generator randn: o a = randn(200,2); o b = a + 4; o c = a; o c(:,1) = 3*c(:,1); o c = c - 4; o d = [a; b]; o e = [a; b; c]; o plot(a(:,1),a(:,2),+); o hold on o plot(b(:,1),b(:,2),o); o plot(c(:,1),c(:,2),*);
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
