how can i include information on captured image
    2 ビュー (過去 30 日間)
  
       古いコメントを表示
    
hi... i have a question on how to edit a picture in matlab. let say i have a picture which is captured from the camera. before i would like to save the image, i want matlab to put few information on the picture such as date,time and title at the image before matlab save it.
0 件のコメント
採用された回答
  Anand
    
 2013 年 5 月 7 日
        Here's one way to do it:
%read the image
im = imread('cameraman.tif');
% display it
imshow(im);
% add text
text(10,10,date);
% take a snapshot
frame = getframe(gca);
%write back to file
imwrite(frame.cdata,'cameraman_with_date.tif');
その他の回答 (0 件)
参考
カテゴリ
				Help Center および File Exchange で MATLAB Support Package for IP Cameras についてさらに検索
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

