Question: Due date: 3 1 1 2 ? 2 0 2 3 Task 1 : Create an m - file that do the following: Create an

Due date: 3112?2023
Task 1: Create an m-file that do the following:
Create an image of size 100100 that contains your name in paint program and save it as
'watermark.png'.
Read 'watermark.png' image in Matlab and display it.
Convert 'watermark.png' image into binary using function im 2bw.
Read a 'cameraman.tif' image.
Save the binary image into the Least Significant bit (LSB) of cameraman image randomly
using the randi function as the following example:
randi(M) that return one value from 1 to M.
Store the modified image in a new image.
Old version of matlab: ceil(rand ?256);
Save the binary image into the Most Significant bit (MSB) of img randomly using the randi
function.
Display the original image with the two watermarked images.
Task 2:
Read the 'watermark.png' image created in Task 1 that has your name.
Create OR and AND masks image (twpe: uint8) that have the same size of watermark.png'.
Use [x,y]= gintut (2) to get the coordinate of any character from your name using the mouse
cursor.
Fill the masks with the appropriate values to display the chosen character in the previous
st.ep.
Apply AND and OR operations between the original image and the mask.
 Due date: 3112?2023 Task 1: Create an m-file that do the

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!