Can FindSequence work with 2D waves? I have a big positions library and a smaller one, with different coordinates and I am trying to overlap the two. FindSequence seems like a good function for this, but does not work and can't figure out why.
FindSequence looks at any wave as a 1D wave. If your input is a 2D wave it is equivalent to a 1D wave where the original columns were concatenated. As such, you would not be able to find a "sequence" if it appears in sequential rows of the original 2D wave (in that case I'd first transpose the input).
Depending on your application, finding a match in 2D may be more efficient by computing the correlation (via FFT). Example of this approach is given in the Image Processing Tutorial (File Menu->Example Experiments->Tutorials).
Depending on your application, finding a match in 2D may be more efficient by computing the correlation (via FFT). Example of this approach is given in the Image Processing Tutorial (File Menu->Example Experiments->Tutorials).
A.G.
WaveMetrics, Inc.
September 24, 2014 at 12:29 pm - Permalink