Question: Write a Matlab script that converts colour pictures into greyscale without using rgb2gray function. Please show comments Your file will contain a function called color2gray(input_dir,

Write a Matlab script that converts colour pictures into greyscale without using rgb2gray function. Please show comments

Write a Matlab script that converts colour pictures into greyscale without using

Your file will contain a function called color2gray(input_dir, output_dir). You may choose any colour images as input. Your function will perform the following: 1. Read images from argument input_dir 2. Convert each image to greyscale manually (do not use built-in functions). 3. Create a folder, defined by "output_dir. 4. Save greyscale images in the created folder

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!