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 Center および File ExchangeImages についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by