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

  Choose an industry in which two or more companies has

choose an industry in which two or more companies has historically competed to maintain a significant share of the

  Consider two raster systems with resolution of 640 by 480

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 refreshes the screen at a rate of 60 frames per second? what is the access t..

  Calculate and print the store location, sales and tax rate

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 output results to stay on the screen?

  What is the importance of bandwidth

What would the Web be like if there were no limit to bandwidth?

  How do you think multimedia is changing our lives

Where does it penetrates our daily living and is it a good or bad effect?

  How can you create employee loyalty through your

how can you create employee loyalty through your orientation and socialization process? discuss the differences and the

  Specify a triangle with three mouse presses

Write a program that allows the user to specify a triangle with three mouse presses. After the first mouse press, draw a small dot. After the second mouse press, draw a line joining the first two points.

  Select two of the more prominent cooperative linkages that

select two of the more prominent cooperative linkages that your selected firm apple has made. make sure that there are

  I need open gl gaming mini project in c using open gl

in c using open gl command i need any gaming project without any plagiarism. ltbrgt ltbrgtin c using open gl command i

  Research a nonprofit organization that has faced a public

research a nonprofit organization that has faced a public relations crisis within the past few years.imagine that you

  How to work on datasturetur assignment how to work on

how to work on datasturetur assignment how to work on datasturetur assignment how to work on datasturetur assignment

  Write a narrative that describes how about designing

Write a narrative that describes how you went about designing and implementing these modifications, how you tested your program. Did you use the test case during development or did you use the final words.txt from the start, or what?

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