Develop algorithm to separate the different parts of house

Assignment Help Computer Graphics
Reference no: EM131469722

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

Reference no: EM131469722

Questions Cloud

Write an overview of wamu : Read Case - Washington Mutual's Covered Bonds. Read Case and write an overview of WaMu, their growth and development
Check that how many defective items are found : Hemispherical Conductor produces the 80J84 microprocessor, which the Sayle Company plans to use in a heart-lung machine. Because of the sensitivity.
Determine a sampling plan for spire cds : Determine a sampling plan for Spire CDs that results in ­a = 05, ß = 05, AQL =­ .10, and LTPD ­= .30. Discuss the advantages and the disadvantages of the plan.
How many item will have to be sampled before lot is accepted : Suppose that the true proportion of defectives in the lot is 10 percent. On average, how many items will have to be sampled before the lot is either accepted?
Develop algorithm to separate the different parts of house : Develop an algorithm to separate the different parts of the house image below e.g. windows, roof, wall, door.
Demonstrate effective use of technology for communication : Demonstrate effective use of technology for communication. Explain the security and threats in the e-commerce environment.
What is the expected number of batches : Consider the double sampling plan for Spire CDs described in this section. Over a period of one year, 3,860 boxes of records are subject to inspection.
Graph the oc curve for the double sampling plan : Graph the OC curve for the double sampling plan with n1 = 20, n2 = 10, c1 = 3, and c2 = c3 = 5, as described in this section. If you are doing this by hand.
Define the sampling plan : Consider the following double sampling plan. First select a sample of 5 from a lot of 100. If there are four or more defectives in the sample, reject the lot.

Reviews

Write a Review

Computer Graphics Questions & Answers

  Create a simple warm-up program using your g3d

Create a simple warm-up program using your G3D programming and graphics environment.

  Shadow effect while rolling a sphere

Shadow effect while rolling a sphere as well as the options of shading and lighting.

  Relative positioning and interactive positioning

Relative Positioning and Interactive Positioning by Dragging and Clicking and some Simple Animation

  Draw a teapot at the global origin

Draw a teapot at the global origin

  Concepts of computer graphics

Concepts of Computer Graphics and develop a program using OpenGL

  The security policy document outline

Using the GDI Case Study below, complete the Security Policy Document Outline

  Develop the image manipulations

Develop the image manipulations

  What does resolution mean

What does resolution mean How is resolution connected to ppi and dpi units

  Differentiate between a bitmap image and a vector image

Differentiate between a bitmap image and a vector image Explain the following terms

  Essential elements of a design pattern

configuration of an Iterator pattern, patterns could be used in a Library System, Singleton, Template, Decorator, Façade,What does Alexander means by the following declaration "But it is impossible to form anything which has the temperament of natu..

  Framework of user interface design

design of user interfaces, natural mapping, GUI applications, web page design different to designing for printed media, risks exposed in this "phone as individual proxy" approach, interaction designers of ubicomp applications, Storyboards are usual..

  What are the factors affecting picture composition

Define picture composition What are the factors affecting picture composition. Elaborate on each factor Describe the basic lines present in a composition

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd