Question: 1.Write matlab code with function blueScreen(image_file_name, background_image_file_name, color, Threshold) function which takes in 4 parameters as shown. 2. Your program should take as input 2

 1.Write matlab code with function blueScreen(image_file_name, background_image_file_name, color, Threshold) function which

1.Write matlab code with function blueScreen(image_file_name, background_image_file_name, color, Threshold) function which takes in 4 parameters as shown. takes in 4 parameters as shown. 2. Your program should take as

2. Your program should take as input 2 RGB color images (image_file_name = has the blue screen), (background_image_file_name = is the background image to replace the blue screen), color to change, and the distance measure (Threshold) of similar colors to change. Note that the variable color is a vector of 3 numbers [R,G,B].

3. Test your function on a bluescreen image taken of yourself.

4. Use Xnview (https://www.xnview.com/) to find the proper values of the [R,G,B] color to replace.

test program on the following pictures:

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!