Write an image color selection application

Assignment Help Computer Engineering
Reference no: EM131216316

Assignment-

This assignment is for Image Processing practice.

Q1. Please use Processing to write an Image Color Selection Application (create your own "Magic Wand") - your application should be able to:

(1) Display the given image ("sunflower.jpg");

(2) The application window size should be no smaller than 800*600 (the given image size is 600*600);

(3) There should be a color selection button - once this button is clicked, you can use the mouse hover over the image to particularly pick a pixel color, using mouse click on that specific pixel;

(4) There should be another pixel selection button (that after you selected a pixel color) - once you click on the button, all pixels within the entire image whose color is close to the color picked will be highlighted in red (if the color distance between the pixel color and picked color is smaller or equal to 50).

Q2. Recall the sampling topic we talked in image scaling. Please use any sampling methods we discussed in class to increase the size of the given image to 1200*1200 and save the new image as "sunflower_large.jpg". Please also comment your program on the method you used. (Using Processing default functions (APIs) is NOT allowed to finish this task!! You will need to use sampling method to fill all pixels for the new enlarged image.)

Reference no: EM131216316

Questions Cloud

Which forms of convergence apply to random sequence : Consider the random sequence. - where is a Cauchy random variable with PDF,- Determine which forms of convergence apply to this random sequence.
Discuss single most important lesson any entrepreneur apply : Reflecting back on everything you have learned in this course, discuss the single most important lesson any entrepreneur should apply in order to be successful. Explain your rationale.
Describe how sleep deprivation impacts your ability to learn : Your roommate has been coming back to the dorm at all hours of the night, disrupting your sleep. Describe a typical night's sleep cycle and then describe how your sleep deprivation impacts your ability to learn and your health.
Interest in net assets upon making his investment in firm : Adams, Brown, and Carson are considering the admission of Daniels to their partnership. The current partners share profits in the ratio of 4:2:1 respectively, and they have capital balances totaling $86,000. Daniels is to obtain a 20% interest in net..
Write an image color selection application : CS3360 - Spring 2016 Assignment. Please use Processing to write an Image Color Selection Application (create your own "Magic Wand") - your application should be able to: Display the given image ("sunflower.jpg");
Which forms of convergence apply to the random sequence zn : Let Xn be a sequence of IID Gaussian random variables. - Determine which forms of convergence apply to the random sequence, Zn.
Are communities of practice forme to achieve social learning : Are communities of practice formed to achieve social learning? Give some examples in organisations where this occurs. Which perspective could be used to describe our understanding of how communities of practice are formed in organisations?
Appropriate decision rule for choice between two projects : If a company is practicing capital rationing, which of the following is an appropriate decision rule for a choice between two projects?
Sequence of iid random variables with finite mean : Sequence of IID random variables with finite mean and variance. Show that the sequence of sample means converges in the MS sense.

Reviews

Write a Review

Computer Engineering Questions & Answers

  What is included in the establishment of a functional

part 1 using the internet search for commercial idps systems. what classification systems and descriptions are used and

  Questionthis program will permit the user to keep track of

questionthis program will permit the user to keep track of a cd or dvd collection. this can only work exclusively with

  Propose a ip network scheme to accommodate the needs

Propose a IP network scheme to accommodate the needs of the office above. Your proposal should incorporate the most efficient use of network/host using VLSM and a second option using FLSM. Provide pluses and minuses for each option.

  Make a jk flip flop out of a d flip flop show all wiring

question 1 make a jk flip flop out of a d flip flop. show all wiring and connections in detail.question 2 make a jk

  Explain what is the purpose of the business impact analysis

What is the purpose of the business impact analysis (BIA)? What is the difference between a disaster recovery plan (DRP) and a business continuity plan (BCP)?

  Why you believe your solution would solve two mens problem

Consider this scenario: Mr. Brown and Mr. Green have argued several times about which one of them has the slowest horse. They have swapped stories, each telling of the races his horse has lost, but each man also has failed to convince the other th..

  Documentation needed to support maintenance activities

Why are additional personnel generally required during the later stages of the system implementation.

  Topological sorting method in c programming

how to prove the partial order R is a total order in discrete mathmetics and structures by topological sorting method in c programming

  Determine the max value of range for this data set

Values of Q should be accepted in degrees and then converted to radians within the function body for use in the formula. Be sure to structure your function in a way that will accept both scalar and vector inputs.

  Questionuse the following system printprimes for questions

questionuse the following system printprimes for questions a-f below.a illustrate the control flow graph for the

  What is required to maintain the data current

This question in not concerned with the effort to initially build/develop and populate a database, but at the place of the ongoing/long term effort to keep the data and DBMS current (up to date and accurate).

  The difference between a worm and a trojan horse

What do you tell him is the difference between a worm and a Trojan horse. List at least six reasons you can give John for preventing viruses and other malware.

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