Pattern recognition in a data matrix (non-image)

1 visualizzazione (ultimi 30 giorni)
Orion
Orion il 16 Nov 2017
Risposto: Image Analyst il 17 Nov 2017
I want to find a certain pattern in intensity data which is a 3d matrix. The intensity is a function of time and phase. The pcolor plot below shows a small set of the visualized data. I want to get MATLAB to automatically go through the data and find events that are similar to the structure in the dashed box.
To do that, I have written a script that finds the intensity peaks in time for each phase channel, and then through using some if statements, I try to capture the structure (not the actual code):
if (t(max(channel(5)))==t(max(channel(2)))) & (t(max(channel(3)))==t(max(channel(1.5)))
record time
else
Tframe=Tframe+hours(1)
end
This method is very slow and doesn't capture the structures. Is there any MATLAB toolbox for this purpose?

Risposte (1)

Image Analyst
Image Analyst il 17 Nov 2017
Try normalized cross correlation, normxcorr2().

Community Treasure Hunt

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

Start Hunting!

Translated by