I have a 2D signal and I want to create some kind of envelope. It has to be symmetric between maxima, so an envelope filter does not fit what I want. The local maxima have to spread a bit, I'm trying to simulate a fabric and the behavior of a thread once I have the collisions detected.
I'm doing it in C.
Any idea? Thanks