フィルターのクリア

Save multiple images in a folder

2 ビュー (過去 30 日間)
Hazel Sialongo
Hazel Sialongo 2016 年 10 月 4 日
コメント済み: Muhammad Anwaar 2019 年 1 月 31 日
After I captured the image it save the image.But when I captured again another image and when I save it, the previous image replaced by the new image. I want to save new image not to replace it. How will I do that?

回答 (2 件)

Massimo Zanetti
Massimo Zanetti 2016 年 10 月 4 日
Change its name
  1 件のコメント
Muhammad Hammad Malik
Muhammad Hammad Malik 2018 年 8 月 20 日
without changing the name how can we save different images with out overwrite?

サインインしてコメントする。


Thorsten
Thorsten 2016 年 10 月 4 日
You have to use a new name for each image; e.g., for your i'th image:
filename = sprintf('myimage%02d.png', i);
  4 件のコメント
Hazel Sialongo
Hazel Sialongo 2016 年 10 月 4 日
How to get image from webcam? I'm sorry i'm new to this.
Muhammad Anwaar
Muhammad Anwaar 2019 年 1 月 31 日
by this u can take image through webcam and u can save it
webcam = webcam(1);
preview(webcam);
img = snapshot(webcam);
imshow(img);
imwrite(img, 'ab.png');

サインインしてコメントする。

Community Treasure Hunt

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

Start Hunting!

Translated by