to save the existing file can I use append function?

조회 수: 3 (최근 30일)
Tulips
Tulips 2012년 10월 20일
hi sir,I use append function in matlab to save the existing image that have been save in a folder. however, when I run the program again, the image is overwritten and rewrite with other image.what should I do.thanks! syntax: filename1:strcat('user/matlab/folder',num2str,'.jpg')) imwrite(x,filename1,'writemode','append')
  댓글 수: 1
Image Analyst
Image Analyst 2012년 10월 20일
I don't know what this means. Do you want a multi-page tiff image? I've never heard of a multi-page (multi-image) jpeg file. Or do you want to stitch together two images so they make one tall (or wide) array with both images side by side?

댓글을 달려면 로그인하십시오.

채택된 답변

Jan
Jan 2012년 10월 20일
  1. You cannot append to a JPEG.
  2. You num2str does not have an argument.
  댓글 수: 1
Tulips
Tulips 2012년 10월 20일
the x is the argument actually. how to append jpeg file by the way.instead of use sprintf.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

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