Question: Using MatLab Average Method: (R+G+B)/3 . Exercise 2 From the original image with the cars, save only the blue car using the imwrite function. Use


Using MatLab
Exercise 2 From the original image with the cars, save only the blue car using the imwrite function. Use the concepts from Ex. 1 (Exercises to practice) to save all three channels of the image (R, G, B) as a 3D matrix Exercise 3 Convert the original color image with cars to gray-scale using the average method. Save the image using the imwrite function I=imread('cars.jpg'); whos I; R-I(:,:,1); G=I(:,:,2); B-I(:,:,3); imwrite(B, 'B.jpg')
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
