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.
1 个评论
trio chmp
2020-3-2
how to assign pixel values for creating lookup table for an image
awaiting reply..........
采纳的回答
Image Analyst
2020-2-28
See the FAQ:How_can_I_process_a_sequence_of_files?
Put a call to rgb2gray() and imwrite() inside the loop. Write back if you still can't figure it out.
更多回答(1 个)
trio chmp
2020-3-2
how to assign pixel values for creating lookup table for an image
awaiting reply..
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!