RUMMY
RUMMY

Reputation: 89

Cubic Spline Interpolation in C++

I am working in image processing in C++ using OpenCV. I've a problem that requires cubic interpolation of a set of data. Are there any library files that I can use for this in OpenCV?

Upvotes: 8

Views: 12497

Answers (2)

danuker
danuker

Reputation: 881

This might be what you're looking for:

http://ubaa.net/shared/processing/opencv/opencv_interpolation.html

Upvotes: 2

0xfe
0xfe

Reputation: 4629

I'm not sure that there are any classes in OpenCV that will do cubic interpolation.

Have you considered GSL (Gnu Scientific Library)? It should be able to help you here.

Take a look at gsl_spline.h and gsl_bspline.h.

Upvotes: 0

Related Questions