필터 지우기
필터 지우기

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 CenterFile Exchange에서 3-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