How can I display a specific frame in my image series ?

1 回表示 (過去 30 日間)
Ahmad Alenezi
Ahmad Alenezi 2019 年 10 月 10 日
編集済み: Adam 2019 年 10 月 10 日
I have a series of images (n=16), i would like to display the frame number 10. How can i do this ?
Morover, I would like to substract frame number 2 by frame number 5. How can i o this ?.
  2 件のコメント
Adam
Adam 2019 年 10 月 10 日
編集済み: Adam 2019 年 10 月 10 日
How are your images represented in Matlab? An n*m*16 array?
Ahmad Alenezi
Ahmad Alenezi 2019 年 10 月 10 日
128x128x16 uint16

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

採用された回答

Adam
Adam 2019 年 10 月 10 日
編集済み: Adam 2019 年 10 月 10 日
image10 = allImages( :, :, 10 );
images2_5 = double( allImages( :, : [2 5] ) );
image2_minusImage5 = diff( images2_5, [], 3 );
Off the top of my head, that should do what you are asking, where obviously 'allImages' is to be replaced by whatever you called your image array.

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by