Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

1.Write matlab code with function blueScreen(image_file_name, background_image_file_name, color, Threshold) function which takes in 4 parameters as shown. image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

Psychological, financial, and career counseling.

Answered: 1 week ago