+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
What is the gamut of a color space and what is the gamma of a color space (or color display device) - What is the advantage of interlaced video? What are some of its problems?
Create a temperature conversion GUI application that changes from Fahrenheit to Celsius. The Fahrenheit temperature should be entered from the keyboard and Enter pressed.
Write a socket based single side chat for graphical interface. The client will type message in a textbox and click "send" button and server will print it in a text area as s
Consider three different raster systems with resolutions of 640 by 480, 1280 by 1024, and 2560 by 2048 what size frame buffer (in bytes) is needed for each of these systems to
Develop a report using word-processing software. In that report, address the following: Identify the element(s) that you could include on your Web site that would convey to i
Tables offer one of the most powerful ways to format a web page. A table allows for the orderly arrangement of text or graphics into vertical columns and horizontal rows. Th
Modify the product Program to use a GUI. The GUI should show the data one product at a time, including the product number, the name of the item, the number of units in stock.
Require to design a program that show passing arguments ByVal and then ByRef. It is suggested that I create a square function process and get an integer from the user then sen