Extracting Multiple Points In Successive Images in a 3D Matrix

조회 수: 2(최근 30일)
Aldo Hernandez
Aldo Hernandez 2021년 1월 17일
댓글: Matt Gaidica 2021년 1월 18일
I have a 3D Matrix, say 100 x 100 x 25. These are 25 images, 100 x 100 each stacked on top of eachother.
The simplest version of what I am trying to achieve: Say I want to see how a point (say point [50,50]) of one of the images changes as a function of how the images progress. To clarify: this would make a 1D array, and if plotted would show how the values of that point change from image to image over 25 images.
I want to be able to track around 30 points, so I do not mind doing it manually for each point but a way to do it all at once would be great.

채택된 답변

Matt Gaidica
Matt Gaidica 2021년 1월 18일
편집: Matt Gaidica 2021년 1월 18일
You would just build a 100 x 100 x 25 matrix (assuming these images are gray/binarized) and then something like:
figure;
plot(myImages(50,50,:));
Is there a more specific piece you need more help with?
  댓글 수: 2
Matt Gaidica
Matt Gaidica 2021년 1월 18일
Does my answer not satisfy what you're looking for?

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

추가 답변(0개)

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by