+1-415-670-9189
info@expertsmind.com
Develop algorithm to separate the different parts of house
Course:- Computer Graphics
Reference No.:- EM131469722




Assignment Help
Assignment Help >> Computer Graphics

1. Here we will design our own k-means clustering algorithm. Write a program to perform the following steps:

i. Read the image 'peppers.jpg' [I=imread('peppers.jpg');]

ii. The RGB intensity component of each pixel is used as a feature vector. Now perform k-means clustering for K=3 clusters. Plot the scatter plot of the intensity values in 3D showing the 3 clusters and their centers clearly. Report the cluster centers.

iii. Show the image where pixels from each cluster belong to a single color plane (RGB). Identify which cluster corresponds to red, which one is blue and which one is green, respectively.

iv. Now perform RGB2HSV conversion of the image and use the 3D feature vector as the HSV values. Repeat k-means clustering for all the pixels. Show the scatter plot of the 3 clusters in a 3D plot and report the new cluster centers. Show the image where pixels of each cluster belong to a separate RGB plane. Comment on the difference between part iii and iv.

2. Develop an algorithm to separate the different parts of the house image below e.g. windows, roof, wall, door. Comment on your strategy and justify your reason to select this strategy.

Attachment:- Assignment Files.rar




Put your comment
 
Minimize


Ask Question & Get Answers from Experts
Browse some more (Computer Graphics) Materials
Suppose we have a computer with 32 bits per word & transfer rate of 1 mip how long would of take to fill the frame buffer of a 300 dpi laser printer with page size of 81/2 inc
Display the properties that correspond to the search made by the user on the search page. 10% for search functionality - 10% for the displaying the results in an effective a
Write a GUI application that produces a restaurant bill. You create a bill calculator to generate window output. You should prompt the user to enter all the dishes and their
1. use Dijkstra's Single Source Shortest Path Algorithm to construct the shortest path from a given vertex S to all other vertices.2. use Kruskal's algorithm to construct a mi
Attached is a code file that works accept when a correct dollar amount an location number is entered, the result flashes on the screen and disappears. How do I get the outpu
To get a different perspective on customer centric business models that often have some sort of "value added" think about what you, as a customer, have experienced. Do you
What challenges the engineering team must have faced to make such user-friendly GUIs. What are two key features that should be included in all mobile devices? For each, sugg
Your assignment is to implement a simple number guessing game using HTML forms and a CGI script. The HTML page should introduce the game and provide a form for the user to g