Home /
Expert Answers /
Computer Science /
solve-this-using-matlab-please-create-matlab-functions-and-scripts-for-the-following-tasks-1-read-pa125
(Solved): Solve this using matlab Please create Matlab functions and scripts for the following tasks. 1) Read ...
Solve this using matlab
Please create Matlab functions and scripts for the following tasks. 1) Read 'Lena.jpg' image and convert it to grayscale. Then, create a function to convert the image to binary. To do this: (1.5 pt.) i) The input is the 2D matrix representation of the image. ii) Find the mean of intensity values of the image and use it as the threshold value (Do not use the mean() method). Such that, the pixel with intensity value above the threshold becomes 0 , otherwise it becomes 255 . iii) Write the output to a file, name it with your Neptun ID.