Extracting Multiple Points In Successive Images in a 3D Matrix

2 visualizzazioni (ultimi 30 giorni)
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.

Risposta accettata

Matt Gaidica
Matt Gaidica il 18 Gen 2021
Modificato: Matt Gaidica il 18 Gen 2021
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 Commenti
Aldo Hernandez
Aldo Hernandez il 18 Gen 2021
I may have been unclear. I already have the 100 x 100 x 25 matrix, the matrix is composed of 25, 100 x 100 images. These images are stacked on top of eachother. I want to be able to track a single point on one of those images, across all 25 images.
Matt Gaidica
Matt Gaidica il 18 Gen 2021
Does my answer not satisfy what you're looking for?

Accedi per commentare.

Più risposte (0)

Prodotti


Release

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by