Pattern recognition in a data matrix (non-image)

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?

Antworten (1)

Image Analyst
Image Analyst am 17 Nov. 2017

0 Stimmen

Try normalized cross correlation, normxcorr2().

Gefragt:

am 16 Nov. 2017

Beantwortet:

am 17 Nov. 2017

Community Treasure Hunt

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

Start Hunting!

Translated by