I can't find anything similar to Savitzky Golay Polynomial Fit on opencv. This is a standard smoothing operation though, so it seems like something they should have. Does anybody know of anything they have? Using C++ for what its worth.
Thanks! -Tim
It is not clear what you need to do: fit or smooth, you mentioned both. But if you need to smooth using OpenCV you can try Kalman filter (fit in its way and smooth), smooth-2D (using your 1D-data) or your own convolution smooth kernel 1D+1D using 1D-data for kernelX only convolution (the fastest way to smooth).
OpenCV is near to real time image and video processing library, and it contains most common task solvers for this, where is no polynomial fitting among them yet. But if you really need fitting (not just smoothing) you can use polynomial fitting matrix equation and calculate your answer by yourself in a simple way thanks to Mat objects in OpenCV which has
inv()
(inverse) andt()
(transpose) functions.