Pattern recognition in a data matrix (non-image)

1 次查看(过去 30 天)
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?

回答(1 个)

Image Analyst
Image Analyst 2017-11-17
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