OpenCV Q&A Forum - RSS feedhttp://answers.opencv.org/questions/OpenCV answersenCopyright <a href="http://www.opencv.org">OpenCV foundation</a>, 2012-2018.Mon, 04 Jun 2018 05:29:03 -05002D spline algorithm in OpenCVhttp://answers.opencv.org/question/192956/2d-spline-algorithm-in-opencv/Does OpenCV have a method for generating a 2D 'spline' contour? IOW, choose gray-scale pixel values at selected points on a 2D map and have them connected by a smoothed 2-dimensional contour. Output would presumably be gray-scale values in Mat form.
The inputs to a regular spline are a set of point coordinates, and output is a continuous curve that connects the input points.
In this case, the input would be a set of point coordinates -each with a gray-scale value-. The output would be a smoothed gray-scale contour that covers the entire square Mat.
That was tougher to explain than I expected. Hope it was clear. Perhaps that would actually be a 3D spline in that gray-scale value would be the 3rd dimension. But this is for generating a 2D image.
MartianMon, 04 Jun 2018 05:29:03 -0500http://answers.opencv.org/question/192956/