How to get image for each and every iteration?

조회 수: 3 (최근 30일)
Veera Kalyani S
Veera Kalyani S 2016년 12월 29일
답변: Image Analyst 2016년 12월 29일
I need to demonstrate arnold's cat map.
if true
% code
while t<T2
for i= 1 : rows
for j= 1 : columns
r = mod(i+j,N)+1;
c = mod(i+(2*j)+1,N)+1;
*imscram(i,j)=iscram(r,c);*
end
end
end
In this imscram(i,j)=iscram(r,c);, I would like to capture image for each and every iteration.I tried with imwrite function.But its not working.
  댓글 수: 1
Image Analyst
Image Analyst 2016년 12월 29일
If your image has a megapixel, surely you don't want to save a million image files onto disk with the current state of the image you're building up.

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

답변 (1개)

Image Analyst
Image Analyst 2016년 12월 29일
See my attached Arnold's cat map demo:

카테고리

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