Question: MATLAB question 6, function that takes one input, a string with the location of a color image file, and produces one output, m x 3
6, function that takes one input, a string with the location of a color image file, and produces one output, m x 3 uint8 matrix, where n and m are the dimensions of the original image, 3 is the number of matrices describing the color image (ie. the red, the green and the blue information). Your function should read the image from the file location, then modify it in the following way: For a given pixel, the intensity of each color should be set to the highest intensity of any color from the original image. That is, if blue is 225 and the other colors were 0, all three colors would become 225
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
