Question: Task - 1 [10 Marks] For this task use the image folder containing a binary image of some writing featuring the letters g o o
Task - 1 [10 Marks] For this task use the image folder containing a binary image of some writing featuring the letters "g o o db a y. The flename is message_goodbaytif. The image dimensions are 10050 pixels. I. You are required to write a matlab m-file that will produce an identically sized image showing the locations of the letter " 0. Clearly there are two instances of the letter "o" so your resulting image should have only two non-zero pocels. II. Implement your own function in matlab that will retrieve the location coordinates of the object to be identified from the resultant image obtained in part I. Task -2 [40 Marks] Image Segmentation and Processing Design a graphic user interface (GUI) in matlab which has the following functionalities for accessing, analysing, and processing three different images of your choice: I. Upload the images and display [2 Marks] II. Calculate the image contrast and return the value: For this task you must implement your own function in matiab that calculates the contrast of the image using the RMS contrast measurement technique. [5 Marks] III. Convert the images into grayscale and display: For this you must implement your own function in MATLAB that convert the image to grayscale. Note that grayscale conversion strategy involves using optimised weights for the Red, Blue and Green channels. You are not allowed to use the bult-in MATLAB command 'rgb2gray' for this experiment. You have to figure out the best combination of weights for Red, Green and Blue channels which gives the maximum contrast to the grayscale image. [12 Marks] IV. Display the histogram of the images: For this you must implement your own function in MATLAB which generates the histogram of the given images. [8 Marks]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
