フィルターのクリア

select the odd or even frames of a volume

2 ビュー (過去 30 日間)
talayeh ghodsi
talayeh ghodsi 2019 年 6 月 16 日
編集済み: KALYAN ACHARJYA 2019 年 6 月 19 日
hi every body. i have a volume which consist of 430 images and the size of each image is 512*512. so the size of the volume is 512*512*430.
because of the large capacity of the volume, i want to select construct the volume with half of the number of images to have the volume of size 512*512*215
and i want to select the odd or even indexes of images.
how can i do that?
  2 件のコメント
Walter Roberson
Walter Roberson 2019 年 6 月 16 日
odd_volume = the_volume(:,:,1:2:end);
even_volume = the_volume(:,:,2:2:end);
talayeh ghodsi
talayeh ghodsi 2019 年 6 月 16 日
thanks sir

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

採用された回答

KALYAN ACHARJYA
KALYAN ACHARJYA 2019 年 6 月 16 日
編集済み: KALYAN ACHARJYA 2019 年 6 月 16 日
Let say Image1 is the original 3D image
resultant_image=image1(:,:,1:2:430)
  2 件のコメント
talayeh ghodsi
talayeh ghodsi 2019 年 6 月 16 日
thanks a lot
KALYAN ACHARJYA
KALYAN ACHARJYA 2019 年 6 月 19 日
編集済み: KALYAN ACHARJYA 2019 年 6 月 19 日
Welcome @Talayeh
Keep Learning!

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

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange3-D Volumetric Image Processing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by