How to convert multiple rgb image into grayscale and save them into a new folder?

8 views (last 30 days)
I have a dataset of image and I want to display them and convert the dataset to grayscale and then save them into new folder .
Please help. thank you very much in advance.

Accepted Answer

Image Analyst
Image Analyst on 28 Feb 2020
Put a call to rgb2gray() and imwrite() inside the loop. Write back if you still can't figure it out.

More Answers (1)

trio chmp
trio chmp on 2 Mar 2020
how to assign pixel values for creating lookup table for an image
awaiting reply..

Categories

Find more on Images in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!