Cs3360 - spring 2016 assignment please use processing to


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.)

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Cs3360 - spring 2016 assignment please use processing to
Reference No:- TGS01600029

Expected delivery within 24 Hours