Question: In this project, students will develop a Matlab function to replace specific colors in an image with another color. To complete this project you will

 In this project, students will develop a Matlab function to replace

In this project, students will develop a Matlab function to replace specific colors in an image with another color. To complete this project you will need to show a working implementation of your program and satisfy the following requirements:

1. Write a changeColor(image_file_name, color, Threshold) function which takes in 3 parameters as shown.

2. Your program should take as input an RGB color image (image_file_name ), the color to change, and the distance measure (Threshold) of similar colors to change. Note that color is a vector of 3 numbers [R,G,B].

3. Test your function on the "zebras.jpg" image using: changeColor('../images/zebras.jpg', [250, 230, 200], 100);

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

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!