Pattern recognition in a data matrix (non-image)

1 回表示 (過去 30 日間)
Orion
Orion 2017 年 11 月 16 日
回答済み: Image Analyst 2017 年 11 月 17 日
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