Question: Write a program in MATLAB that takes 5 inputs, in the following order -A string that is the file location of an image, as in

Write a program in MATLAB that takes 5 inputs, in the following order

-A string that is the file location of an image, as in dogeBlank.jpg

-A string that is the file location of a .csv file, as in hiddenText.csv

-A string that is either red, green, or blue

-A Boolean for taking the negative of the image

-A Boolean for taking the negative of the hidden message

Your program should do the following in a single function:

1)Read in the image file and store the image in a variable.

2)Read in the csv file and store the resulting matrix in a variable.

3)Convert the matrix from the csv file into a uint8.

4)Replace the given color in the image with the hidden message.

5)Return the resulting combination as an output.

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!