+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
Consider two raster systems with resolution of 640 by 480 and 1280 by 1024 how many pixels would be accessed per second in each of these systems by a display controller that r
Determine the avant garde movements (3) you will be referencing. Research their characteristics and visual representation. Work outside the computer first quickly brainstormin
This is your last research course for the DHA program. You have been working with the organization in which you will collaborate in completing your Action Research project.
Choose a piece of text or audio (an excerpt of a poem, a speech or a song) with its accompanying text with which to work. This text/audio will be the inspiration for the con
Next, design a class Street that contains a number of equally spaced houses. An object of type Street stores the first house, the last house (which can be anywhere on the sc
Discuss the different types of storage available for a computer system? Regardless of the type of storage used through your computer systems, why would you want to back it up?
Enter the spreadsheet data below and then prepare graphs that will help you see trends or patterns. Create at least three different graph types as part of your analysis.  Th
Using the Technology Integration Matrix, or theArizona Technology Integration Matrixchoose two different lessons for the grade level (K-5, 6-8, 9-12) you are becoming certif