how to take image as a user input from folder?
显示 更早的评论
hi, i want to take an image from user as an input and selected/input image is saved to another new folder.. how can i do this?
采纳的回答
更多回答(2 个)
waseem almuhtaseb
2019-2-14
[path,~]=imgetfile();
Im=imread(path);
Im=im2double(Im);
Alex Taylor
2014-2-3
0 个投票
Depending on your exact use case, I'd also recommend looking at the imsave and imputfile functions exposed by the Image Processing Toolbox.
类别
在 帮助中心 和 File Exchange 中查找有关 Images 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!