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

13 次查看(过去 30 天)
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.

采纳的回答

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

更多回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Images 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by